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: b...@freebsd.org Reporter: s...@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. _______________________________________________ freebsd-bugs@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"