Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Sep 2017 07:11:47 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 222641] www/firefox libgkrust.a: could not read symbols
Message-ID:  <bug-222641-21738-xN0MAv3YOj@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-222641-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-222641-21738@https.bugs.freebsd.org/bugzilla/>

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

--- Comment #8 from Konstantin Belousov <kib@FreeBSD.org> ---
(In reply to Jan Beich from comment #7)
There are a lot of clues in the reports.  I am almost sure, that the error
message comes out because in-tree ld(1) does not know about some relocation
type used by some object file included into libgkrust.a.  When people insta=
ll
the binutils from ports and set a knob to force use /usr/local/bin/ld, the
build finishes successfully because new ld understands this relocation.

The solution would be to force use binutils port ld(1) for linking.

libgkrust.a is produced by the rust compiler, unless I am wrong.  It probab=
ly
triggers some code generation paths in llvm backend which caused to issue
unusual relocations, which typically not created by clang.  So the C
compilation is not affected and do not trip old linker in base.

--=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-222641-21738-xN0MAv3YOj>