I know it won't help the resolve the issue.
https://reviews.llvm.org/D25324 [ELF] - Check that section alignment is a power of 2. Ian McWilliam ________________________________ From: owner-po...@openbsd.org <owner-po...@openbsd.org> on behalf of James Turner <ja...@calminferno.net> Sent: Tuesday, 8 May 2018 9:56 AM To: Christian Weisgerber Cc: ports@openbsd.org Subject: Re: lld amd64 build failures On Mon, May 07, 2018 at 09:10:21PM +0200, Christian Weisgerber wrote: > Over the weekend, I ran an experimental amd64 bulk build at home > with lld as ld(1). That produced a surprising number and variety > of failures, see the list below. I don't know if these can all be > blamed on the respective port or if there are problems in lld as > well. > > Many of "undefined symbol" errors are straightforward: The program > refers to a symbol from some libfoo, but fails to explicitly link > with this library. This should be fixed. I'm not sure about the > _Unwind* ones, which refer to libc++abi. > > The other errors are largely mysterious to me. > > > audio/audacity undefined symbol: g_signal_connect_data > benchmarks/wrk string table non-null terminated > databases/pgmodeler undefined symbol: backtrace > devel/arm-none-eabi/gcc-linaro cannot preempt symbol: > __stack_smash_handler > devel/avr/gdb duplicate symbol: _initialize_gdbarch_utils > devel/ffcall can't create dynamic relocation R_X86_64_64 against > local symbol in readonly segment > devel/xtensa-elf/gcc cannot preempt symbol: __stack_smash_handler > editors/emacs cannot preempt symbol: memcpy > editors/emacs21 cannot preempt symbol: __stack_smash_handler > editors/xemacs21/stable cannot preempt symbol: __stack_smash_handler > emulators/higan undefined symbol: _Unwind_Resume > emulators/mednafen cannot preempt symbol: __stack_smash_handler > emulators/retroarch undefined symbol: libusb_init > games/gargoyle undefined symbol: gtk_init > games/nethack/3.6,qt undefined symbol: _Unwind_Resume > games/redeclipse undefined symbol: XOpenDisplay > games/tome4 undefined symbol: _Unwind_GetCFA > games/uqm undefined symbol: atan2 > games/warzone2100 undefined symbol: ogg_sync_init > games/xteddy undefined symbol: XShapeCombineMask > games/zaz undefined symbol: vorbis_info_init > lang/fpc invalid alignment of section headers > lang/gcc/4.9 configure: Link tests are not allowed after > GCC_NO_EXECUTABLES > lang/ghc configure: C compiler cannot create executables > lang/myrddin section sh_addralign is not a power of 2 > lang/nim unable to find library -lm > lang/pypy cc: linker command failed due to signal > misc/magicpoint configure: C compiler cannot create executables > misc/rocrail undefined symbol: operator new(unsigned long) > net/hexchat unable to find library -lc > net/openvpn-auth-ldap configure: Could not locate a working Objective-C > runtime > net/telepathy/folks edbus-private not found > net/transmission undefined symbol: libintl_gettext > net/utox target emulation unknown > news/pan undefined symbol: libiconv_close > productivity/glabels edbus-private not found > security/opensc unable to find library -lpthread > security/xca undefined symbol: _Unwind_Resume > sysutils/firmware/vmm ld -nopie -znorelro does not properly handle alignments > sysutils/memtest86+ unknown argument: --warn-constructors > www/lighttpd unable to find library -lc > www/mono-xsp configure: C compiler cannot create executables > www/mozplugger target emulation unknown > x11/gnome/code-assistance configure: C compiler cannot create executables > x11/gnustep/terminal undefined symbol: libiconv > x11/rox-filer undefined symbol: floor > > -- > Christian "naddy" Weisgerber na...@mips.inka.de > Would love to fix the myrddin error, but have no idea what it means... -- James Turner