[Bug 237692] lld: linking fails on aarch64 with 'Should not have claimed to be relaxable'

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 1 15:24:31 UTC 2019


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: bugs at FreeBSD.org
          Reporter: mikael.urankar at gmail.com

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.


More information about the freebsd-bugs mailing list