Skip to content

Instantly share code, notes, and snippets.

@isovector
Created August 19, 2019 04:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isovector/39d4a8e6e8cfb1cb666b634365f753e8 to your computer and use it in GitHub Desktop.
Save isovector/39d4a8e6e8cfb1cb666b634365f753e8 to your computer and use it in GitHub Desktop.
$ _build/stage0/bin/ghc -Wall -hisuf hi -osuf o -hcsuf hc -static -hide-all-packages -no-user-package-db '-package-db _build/stage1/lib/package.conf.d' '-package-id array-0.5.3.0' '-package-id base-4.12.0.0' '-package-id bytestring-0.10.8.2' '-package-id containers-0.6.0.1' '-package-id deepseq-1.4.4.0' '-package-id directory-1.3.3.0' '-package-id filepath-1.4.2.1' '-package-id ghc-8.6.5' '-package-id ghc-boot-8.6.5' '-package-id ghci-8.6.5' '-package-id haskeline-0.7.4.3' '-package-id process-1.6.5.0' '-package-id time-1.8.0.2' '-package-id transformers-0.5.6.2' '-package-id unix-2.7.2.2' -i -i_build/stage1/ghc/build -i_build/stage1/ghc/build/ghc/autogen -ighc/. -Iincludes -I_build/generated -I_build/stage1/ghc/build -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/ghc-8.6.5/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/process-1.6.5.0/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/unix-2.7.2.2/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/time-1.8.0.2/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/bytestring-0.10.8.2/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/base-4.12.0.0/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/integer-gmp-1.0.2.0/include -I/home/sandy/prj/ghc/_build/stage1/lib/x86_64-linux-ghc-8.6.5/rts-1.0/include -I_build/generated -optc-I_build/generated -optP-include -optP_build/stage1/ghc/build/ghc/autogen/cabal_macros.h -optc-fno-stack-protector -optP-DGHCI -odir _build/stage1/ghc/build -hidir _build/stage1/ghc/build -stubdir _build/stage1/ghc/build -no-auto-link-packages -no-hs-main -optl-lgmp -Wnoncanonical-monad-instances -optc-Werror=unused-but-set-variable -optc-Wno-error=inline _build/stage1/ghc/build/c/hschooks.o _build/stage1/ghc/build/Main.o _build/stage1/ghc/build/GHCi/Leak.o _build/stage1/ghc/build/GHCi/UI.o _build/stage1/ghc/build/GHCi/UI/Info.o _build/stage1/ghc/build/GHCi/UI/Monad.o _build/stage1/ghc/build/GHCi/UI/Tags.o -o _build/stage1/bin/ghc -O2 -H32m -Wall -Wnoncanonical-monad-instances -Wnoncanonical-monadfail-instances -Wnoncanonical-monoid-instances -fno-warn-name-shadowing -XHaskell2010 -ghcversion-file=/home/sandy/prj/ghc/_build/generated/ghcversion.h -I_build/stage1/compiler/build -Wcpp-undef
_build/stage1/lib/../lib/x86_64-linux-ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a(Unique.o)(.text+0x338b): error
: relocation overflow: reference to local symbol 4 in _build/stage1/lib/../lib/x86_64-linux-ghc-8.6.5/ghc-8.6.5/libHSghc-8.6.5.a(Unique.o)
collect2: error: ld returned 1 exit status
`gcc' failed in phase `Linker'. (Exit code: 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment