Buildowrld tries to use old ld, and fails

From: <soralx_at_cydem.org>
Date: Sun, 23 Sep 2018 18:18:18 -0700
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
Received on Sun Sep 23 2018 - 23:18:27 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:18 UTC