https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222641

--- Comment #8 from Konstantin Belousov <k...@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 install
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 probably
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-gecko@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-gecko
To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"

Reply via email to