[Bug 240717] Building kernel fails when using linker from llvm ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Sep 20 21:51:33 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=240717
Bug ID: 240717
Summary: Building kernel fails when using linker from llvm
ports
Product: Base System
Version: 12.0-RELEASE
Hardware: amd64
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: bin
Assignee: bugs at FreeBSD.org
Reporter: sid at bsdmail.com
When building a kernel using llvm70 and llvm80, I got this error message.
kernel.full
ld.lld: error: unknown -z value: common-page-size=4096
This error doesn't occur when building the base system or for a few ports.
Also, this error happens when building a kernel after a basesystem was rebuilt
without linker in it.
Because LD is not working from make.conf, I softlinked /usr/bin/ld to llvm's
different linkers from ports.
When I softlinked /usr/bin/ld to /local/x86_64-unknown-freebsd12.0/bin/ld
(binutil's linker) this worked.
This error may be likely with other llvm versions too, and also for other
architectures.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list