"inplace/bin/ghc-stage1" -o ghc/stage2/build/tmp/ghc-stage2 -hisuf dyn_hi -osuf dyn_o -hcsuf dyn_hc -fPIC -dynamic -H32m -O -Wall -hide-all-packages -i -ighc/. -ighc/stage2/build -ighc/stage2/build/autogen -Ighc/stage2/build -Ighc/stage2/build/autogen -optP-DGHCI -optP-include -optPghc/stage2/build/autogen/cabal_macros.h -package-id array-0.5.1.0 -package-id base-4.9.0.0 -package-id bytestring-0.10.7.0 -package-id containers-0.5.7.1 -package-id deepseq-1.4.2.0 -package-id directory-1.2.5.1 -package-id filepath-1.4.1.0 -package-id ghc-8.0.0.20160411 -package-id ghc-boot-8.0.0.20160411 -package-id ghci-8.0.0.20160411 -package-id haskeline-0.7.2.2 -package-id process-1.4.2.0 -package-id time-1.6 -package-id transformers-0.5.2.0 -package-id unix-2.7.2.0 -Wall -fno-warn-name-shadowing -XHaskell2010 -O2 -no-hs-main -threaded -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -odir ghc/stage2/build -hidir ghc/stage2/build -stubdir ghc/stage2/build -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/haskeline/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/terminfo/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/compiler/stage2/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/process/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/hpc/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/hoopl/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/ghci/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/transformers/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/template-haskell/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/pretty/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/ghc-boot/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/directory/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/unix/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/time/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/filepath/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/binary/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/containers/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/bytestring/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/deepseq/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/array/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/base/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/integer-gmp/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/libraries/ghc-prim/dist-install/build' -optl-L'/Users/gcolpitts/Downloads/ghc-8.0.0.20160411/rts/dist/build' -optl-lncurses -optl-liconv -optl-lgmp -optl-lm -optl-ldl -fPIC -dynamic -H32m -O -Wall -hide-all-packages -i -ighc/. -ighc/stage2/build -ighc/stage2/build/autogen -Ighc/stage2/build -Ighc/stage2/build/autogen -optP-DGHCI -optP-include -optPghc/stage2/build/autogen/cabal_macros.h -package-id array-0.5.1.0 -package-id base-4.9.0.0 -package-id bytestring-0.10.7.0 -package-id containers-0.5.7.1 -package-id deepseq-1.4.2.0 -package-id directory-1.2.5.1 -package-id filepath-1.4.1.0 -package-id ghc-8.0.0.20160411 -package-id ghc-boot-8.0.0.20160411 -package-id ghci-8.0.0.20160411 -package-id haskeline-0.7.2.2 -package-id process-1.4.2.0 -package-id time-1.6 -package-id transformers-0.5.2.0 -package-id unix-2.7.2.0 -Wall -fno-warn-name-shadowing -XHaskell2010 -O2 -no-hs-main -threaded -no-user-package-db -rtsopts -Wnoncanonical-monad-instances -fno-use-rpaths -optl-Wl,-rpath -optl-Wl,'@loader_path/../haskeline-0.7.2.2' -optl-Wl,-rpath -optl-Wl,'@loader_path/../terminfo-0.4.0.2' -optl-Wl,-rpath -optl-Wl,'@loader_path/../ghc-8.0.0.20160411' -optl-Wl,-rpath -optl-Wl,'@loader_path/../process-1.4.2.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../hpc-0.6.0.3' -optl-Wl,-rpath -optl-Wl,'@loader_path/../hoopl-3.10.2.1' -optl-Wl,-rpath -optl-Wl,'@loader_path/../ghci-8.0.0.20160411' -optl-Wl,-rpath -optl-Wl,'@loader_path/../transformers-0.5.2.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../template-haskell-2.11.0.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../pretty-1.1.3.3' -optl-Wl,-rpath -optl-Wl,'@loader_path/../ghc-boot-8.0.0.20160411' -optl-Wl,-rpath -optl-Wl,'@loader_path/../directory-1.2.5.1' -optl-Wl,-rpath -optl-Wl,'@loader_path/../unix-2.7.2.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../time-1.6' -optl-Wl,-rpath -optl-Wl,'@loader_path/../filepath-1.4.1.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../binary-0.8.2.1' -optl-Wl,-rpath -optl-Wl,'@loader_path/../containers-0.5.7.1' -optl-Wl,-rpath -optl-Wl,'@loader_path/../bytestring-0.10.7.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../deepseq-1.4.2.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../array-0.5.1.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../base-4.9.0.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../integer-gmp-1.0.0.1' -optl-Wl,-rpath -optl-Wl,'@loader_path/../ghc-prim-0.5.0.0' -optl-Wl,-rpath -optl-Wl,'@loader_path/../rts' ghc/stage2/build/Main.dyn_o ghc/stage2/build/GHCi/UI.dyn_o ghc/stage2/build/GHCi/UI/Info.dyn_o ghc/stage2/build/GHCi/UI/Monad.dyn_o ghc/stage2/build/GHCi/UI/Tags.dyn_o ghc/stage2/build/hschooks.dyn_o
Warning: -rtsopts and -with-rtsopts have no effect with -no-hs-main.
Call hs_init_ghc() from your main() function to set these options.
Undefined symbols for architecture x86_64:
"_stg_sel_17_upd_info", referenced from:
_s1xEL_info in UI.dyn_o
_s1xG6_info in UI.dyn_o
_s1xPC_info in UI.dyn_o
_s1xQ9_info in UI.dyn_o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
`gcc' failed in phase `Linker'. (Exit code: 1)
make[1]: *** [ghc/stage2/build/tmp/ghc-stage2] Error 1
make: *** [all] Error 2
bash-3.2$