Buildowrld tries to use old ld, and fails

soralx at cydem.org soralx at cydem.org
Mon Sep 24 01:18:27 UTC 2018


Howdy!

 Since a couple months ago, the world on -CURRENT cannot be built using
 the normal procedure:
   time env LD=ld.lld make -j6 buildworld buildkernel

 Here's the result:
   [late in buildowrld process]
   --- all_subdir_stand ---
   /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: unrecognized option '--no-rosegment'
   /usr/obj/usr/src/amd64.amd64/tmp/usr/bin/ld: use the --help option for usage information
   cc: error: linker command failed with exit code 1 (use -v to see invocation)
   make[5]: stopped in /usr/src/stand/i386/mbr

 Workaround is to use linker from binutils:
   env LD=/usr/local/bin/ld make buildworld

 Could this be fixed? Or at least documented in UPDATING?

 uname: FreeBSD 12.0-ALPHA4 #0 r338415M
 svn Revision: 338899

 Please CC as I'm not subscribed.

-- 
[SorAlx]  ridin' VN2000 Classic LT


More information about the freebsd-current mailing list