Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Sep 2018 18:18:18 -0700
From:      <soralx@cydem.org>
To:        <freebsd-current@freebsd.org>
Subject:   Buildowrld tries to use old ld, and fails
Message-ID:  <20180923181818.7f3cb925@mscad14>

next in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180923181818.7f3cb925>