Sunday, October 21, 2018

amd64: build failures with lld (2018-10-20)

kettenis@'s latest lld fix has allowed building gcc49, which has
unlocked numerous ports. Here is the current fallout from a test
build with lld; newly revealed failures are marked with '+':

+audio/audacity undefined symbol: g_signal_connect_data
benchmarks/wrk string table non-null terminated
databases/pgmodeler undefined symbol: backtrace
devel/ffcall can't create dynamic relocation R_X86_64_64
editors/emacs21 segfault
+games/flightgear/base undefined symbol: XOpenDisplay
+games/pingus undefined symbol: XFree
+games/pokerth undefined symbol: SSL_library_init
games/tome4 undefined symbol: _Unwind_GetCFA
+games/valyriatear undefined symbol: libiconv_open
games/warzone2100 undefined symbol: ogg_sync_init
lang/crystal undefined symbol: OPENSSL_add_all_algorithms_noconf
lang/fpc invalid alignment of section headers
+mail/evolution-rss edbus-private not found
misc/rocrail undefined symbol: operator new(unsigned long)
+net/bitcoin,no_x11 -shared and -pie may not be used together
net/telepathy/folks edbus-private not found
productivity/glabels edbus-private not found
+productivity/ledger editline/readline.h not found
security/xca undefined symbol: _Unwind_Resume
sysutils/firmware/vmm ld "does not properly handle alignments"
sysutils/memtest86+ unknown argument: --warn-constructors
x11/gnustep/terminal undefined symbol: libiconv

The error logs are available under
http://build-failures.rhaalovely.net/amd64-clang/2018-10-20/

To try this yourself, do "ln -f /usr/bin/ld.lld /usr/bin/ld" and
tweak ports/infrastructure/mk/arch-defines.mk like this:
-LLD_ARCHS = aarch64 arm
+LLD_ARCHS = aarch64 amd64 arm

--
Christian "naddy" Weisgerber naddy@mips.inka.de

No comments:

Post a Comment