Skip to content

Instantly share code, notes, and snippets.

@adamwespiser
Created June 19, 2020 15:29
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 adamwespiser/38e623c6347ca03729ff441203cd6ca6 to your computer and use it in GitHub Desktop.
Save adamwespiser/38e623c6347ca03729ff441203cd6ca6 to your computer and use it in GitHub Desktop.
tag: ghc-8.8.3-release
ghc is build with
$ ./hadrian/build.stack.sh --flavour=prof --configure -j binary-dist
but I'm just pointing to _build/stage1
stack is version 2.3.1
operating system is macos catalina
Building all executables for `damage' once. After a successful build of all of them, only specified executables will be rebuilt.
damage> configure (exe)
Configuring damage-0.1.0.0...
damage> build (exe)
Preprocessing executable 'damage' for damage-0.1.0.0..
Building executable 'damage' for damage-0.1.0.0..
Linking .stack-work/dist/x86_64-osx/Cabal-3.0.1.0/build/damage/damage ...
Undefined symbols for architecture x86_64:
"_base_GHCziShow_zdfShowZLz2cUZRzuzdsgo1_info", referenced from:
_Lc11k4_info in libHSunordered-containers-0.2.10.0-KujsThAgCnwGXBG7PJnkNO.a(Base.o)
_Lc11jv_info in libHSunordered-containers-0.2.10.0-KujsThAgCnwGXBG7PJnkNO.a(Base.o)
"_base_GHCziList_splitAtzuzdszdwsplitAtzq_info", referenced from:
_LsNpB_info in libHSoptparse-applicative-0.15.1.0-8lufb1qPLmfiWdRsJZ50S.a(BashCompletion.o)
"_base_GHCziBase_zpzpzuzdszpzp_info", referenced from:
_LcRG1_info in libHSaeson-1.4.7.1-Ciol5WshPeQHXYbIgccxCw.a(Internal.o)
_LsRDH_info in libHSoptparse-applicative-0.15.1.0-8lufb1qPLmfiWdRsJZ50S.a(Extra.o)
_LsRDM_info in libHSoptparse-applicative-0.15.1.0-8lufb1qPLmfiWdRsJZ50S.a(Extra.o)
_LsOiE_info in libHSyaml-0.11.3.0-midfujdq9UYi2l1aVuMi.a(Internal.o)
_LcQyK_info in libHSyaml-0.11.3.0-midfujdq9UYi2l1aVuMi.a(Internal.o)
_LcQyv_info in libHSyaml-0.11.3.0-midfujdq9UYi2l1aVuMi.a(Internal.o)
_Lcamh_info in libHSansi-wl-pprint-0.6.9-8g4uNwkOiJA5RF873eOrQv.a(Internal.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)
-- While building package damage-0.1.0.0 using:
/Users/adam.wespiser/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_3.0.1.0_ghc-8.8.3 --builddir=.stack-work/dist/x86_64-osx/Cabal-3.0.1.0 build exe:damage --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1
# everything above is redacted
compiler: ghc-8.8.3.20200224
allow-newer: true
system-ghc: true
extra-path:
- /Users/adam.wespiser/projects/ghc/_build/stage1/bin/
- /Users/adam.wespiser/projects/ghc/_build/stage1/lib/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment