lang/ghc linker error after update to 8.10.1 (r545088)
David Wolfskill
david at catwhisker.org
Sun Aug 16 11:56:18 UTC 2020
Got this both with portmaster and with poudriere; build itself seems to
have gone OK, but then:
[portmaster]
...
HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Packa
geVersionConstraint.p_o
"rm" -f libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a libraries
/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents
echo libraries/libiserv/dist-install/build/Lib.p_o libraries/libiserv/dist-insta
ll/build/GHCi/Utils.p_o >> libraries/libiserv/dist-install/build/libHSlib
iserv-8.10.1_p.a.contents
"xargs" "ar" qcls libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p
.a < libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents
"rm" -f libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents
LD_NO_GOLD libraries/libiserv/dist-install/build/HSlibiserv-8.10.1.p_o
HC [stage 1] utils/iserv/stage2_p/build/Main.p_o
HC [stage 1] compiler/stage2/build/DynFlags.o
cc: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ld: error: -r and --export-dynamic may not be used together
cc: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
gmake[3]: *** [utils/iserv/ghc.mk:104: utils/iserv/stage2_p/build/Main.p_o] Error 1
[poudriere]
...
HC [stage 1] utils/iserv/stage2_p/build/Main.p_o
"rm" -f libraries/ghci/dist-install/build/libHSghci-8.10.1.a libraries/ghci/dist
-install/build/libHSghci-8.10.1.a.contents
echo libraries/ghci/dist-install/build/GHCi/BreakArray.o libraries/ghci/dist-ins
tall/build/GHCi/BinaryArray.o libraries/ghci/dist-install/build/GHCi/Message.o l
ibraries/ghci/dist-install/build/GHCi/ResolvedBCO.o libraries/ghci/dist-install/
build/GHCi/RemoteTypes.o libraries/ghci/dist-install/build/GHCi/FFI.o libraries/
ghci/dist-install/build/GHCi/InfoTable.o libraries/ghci/dist-install/build/GHCi/
StaticPtrTable.o libraries/ghci/dist-install/build/GHCi/TH/Binary.o libraries/gh
ci/dist-install/build/SizedSeq.o libraries/ghci/dist-install/build/GHCi/Run.o li
braries/ghci/dist-install/build/GHCi/CreateBCO.o libraries/ghci/dist-install/bui
ld/GHCi/ObjLink.o libraries/ghci/dist-install/build/GHCi/Signals.o libraries/ghc
i/dist-install/build/GHCi/TH.o >> libraries/ghci/dist-install/build/libHS
ghci-8.10.1.a.contents
"xargs" "ar" qcls libraries/ghci/dist-install/build/libHSghci-8.10.1.a < libra
ries/ghci/dist-install/build/libHSghci-8.10.1.a.contents
"rm" -f libraries/ghci/dist-install/build/libHSghci-8.10.1.a.contents
HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Versi
on.o
HC [stage 1] libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Packa
geName.o
cc: warning: argument unused during compilation: '-pthread' [-Wunused-command-line-argument]
ld: error: -r and --export-dynamic may not be used together
cc: error: linker command failed with exit code 1 (use -v to see invocation)
`cc' failed in phase `Linker'. (Exit code: 1)
gmake[2]: *** [utils/iserv/ghc.mk:104: utils/iserv/stage2_p/build/Main.p_o] Error 1
In each case, this was running stable/12 on amd64 at r364265; ports
head at r545096.
Peace,
david
--
David H. Wolfskill david at catwhisker.org
Donald Trump is either ignorant of how to govern or is refusing to do so.
See http://www.catwhisker.org/~david/publickey.gpg for my public key.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 618 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-haskell/attachments/20200816/2bfb5595/attachment.sig>
More information about the freebsd-haskell
mailing list