Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 01 May 2019 15:24:28 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 237692] lld: linking fails on aarch64 with 'Should not have claimed to be relaxable'
Message-ID:  <bug-237692-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237692

            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@FreeBSD.org
          Reporter: mikael.urankar@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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237692-227>