Date: Fri, 20 Sep 2019 21:51:32 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 240717] Building kernel fails when using linker from llvm ports Message-ID: <bug-240717-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240717 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@FreeBSD.org Reporter: sid@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=3D4096 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 rebu= ilt 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. --=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-240717-227>