Date: Fri, 20 Sep 2019 19:35:41 +0200 From: Sid <sid@bsdmail.com> To: freebsd-toolchain@freebsd.org Subject: LLVM ld from ports, unknown -z value Message-ID: <trinity-028c4611-58ec-4b57-b81f-8f66538f40b1-1569000941889@3c-app-mailcom-lxa13>
next in thread | raw e-mail | index | archive | help
I got this error from compiling the kernel by using LLVM's ld for llvm80 and llvm70. I didn't try it with llvm60. It must be from newer LLVM ports' updates. (Reminder that I have already removed LLVM and linker from my base system). kernel.full ld.lld: error: unknown -z value: common-page-size=4096 I then installed binutils from ports, and linked /usr/bin/ld to /usr/local/x86_64-unknown-freebsd12.0/bin/ld by both softlink and by setting LD in make.conf. This worked to allow the kernel build. That file directory shows my actual architecture and FreeBSD version. Someone mentioned that maybe LLVM's ld from ports may possibly not be compatible with the -z option of "common-page-size". Now, I think that LD was intentionally disabled in make.conf, because of common problems with builds with LLVM linkers through ports.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?trinity-028c4611-58ec-4b57-b81f-8f66538f40b1-1569000941889>