https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237692
Bug ID: 237692
Summary: lld: linking fails on aarch64 with 'Should not have
claimed to be relaxable'
Product: Base System
Version: CURRENT
Hardware: arm64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: [email protected]
Reporter: [email protected]
I'm seeing the following issue when trying to link some lang/go executables on
aarch64:
Should not have claimed to be relaxable
UNREACHABLE executed at /usr/src/contrib/llvm/tools/lld/ELF/Target.cpp:176!
cc: error: unable to execute command: Abort trap (core dumped)
cc: error: linker command failed due to signal (use -v to see invocation)
It seems to only be an issue with ld.lld from base/13-current. It works fine
with lld from devel/llvm* and surprisingly it also works with ld.lld from
base/12-stable.
If someone wants to look into it, I put a tarball and a build script to
reproduce the issue:
http://mikael.urankar.free.fr/FreeBSD/go/go_lld_bug.tar.gz
see also:
https://github.com/golang/go/issues/24715#issuecomment-487195099
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"