On Sat, Apr 06, 2019 at 02:42:57PM +0100, Patrick Welche wrote: > On Sat, Apr 06, 2019 at 05:18:58AM +1100, matthew green wrote: > > thanks for the original work and fixing this i386 thing! > > > > > If you would like to do an update build, you will likely have to remove > > > many directories in OBJDIR/external/mit/xorg/lib/*. > > > I didn't test this, sorry. > > > > you may also have to blow away ./usr/X11R7 in the destdir. i recall > > hving a build problem related to headers not being updated. > > I blew away /usr/obj completely, and just tried, on amd64, a > > sh build.sh -j32 -x -r release > > so DESTDIR would have been empty too, and get (twice): > > --- dependall --- > > nbmake[7]: nbmake[7]: don't know how to make > /usr/src/external/bsd/llvm/librt/li > bLLVMTransformsCoroutines/libLLVMTransformsCoroutines_pic.a. Stop > > nbmake[7]: stopped in /usr/src/external/mit/xorg/lib/gallium >
(Just tried to avoid the issue by setting MKLINKLIB=no and got # build libc/libc.so.12.212 rm -f libc.so.12.212 /usr/src/obj.amd64/tooldir.NetBSD-8.99.37-amd64/bin/x86_64--netbsd-gcc -nodefaul tlibs -shared -Wl,-soname,libc.so.12 -Wl,--warn-shared-textrel -Wl,-Map=libc.so .12.map -Wl,-z,initfirst --sysroot=/store/export/amd64 -Wl,--warn-shared-textr el -Wl,-z,relro -o libc.so.12.212.tmp -Wl,-rpath,/lib -L=/lib -Wl,-x -Wl,--w hole-archive libc_pic.a -Wl,--no-whole-archive -lgcc /usr/obj/.amd64/tooldir.NetBSD-8.99.37-amd64/bin/../lib/gcc/x86_64--netbsd/7.4.0 /../../../../x86_64--netbsd/bin/ld: cannot find -lgcc collect2: error: ld returned 1 exit status *** [libc.so.12.212] Error code 1 ) P
