Subject: build.sh: how to make crtbeginS.o
To: None <current-users@netbsd.org>
From: Hanspeter Roth <hampi@rootshell.be>
List: current-users
Date: 05/09/2005 15:30:23
Hello,

I've cvs updated on May 8th.
Now when I run `build.sh distribution' I get:


#     build  libgcc_s/libgcc_s_pic.a
rm -f libgcc_s_pic.a
/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-ar cq libgcc_s_p=
ic.a `NM=3D/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-nm NM=
=3D/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-nm MKTEMP=3D/=
usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/nbmktemp /usr/src/obj/tooldir.Net=
BSD-2.0.2-i386/bin/nblorder _muldi3.so _negdi2.so _lshrdi3.so _ashldi3.so _=
ashrdi3.so _ffsdi2.so _clz.so _cmpdi2.so _ucmpdi2.so _floatdidf.so _floatdi=
sf.so _fixunsdfsi.so _fixunssfsi.so _fixunsdfdi.so _fixdfdi.so _fixunssfdi.=
so _fixsfdi.so _fixxfdi.so _fixunsxfdi.so _floatdixf.so _fixunsxfsi.so _fix=
tfdi.so _fixunstfdi.so _floatditf.so _clear_cache.so _trampoline.so __main.=
so _exit.so _absvsi2.so _absvdi2.so _addvsi3.so _addvdi3.so _subvsi3.so _su=
bvdi3.so _mulvsi3.so _mulvdi3.so _negvsi2.so _negvdi2.so _ctors.so _divdi3.=
so _moddi3.so _udivdi3.so _umoddi3.so _udiv_w_sdiv.so _udivmoddi4.so unwind=
-dw2.so unwind-dw2-fde.so unwind-sjlj.so unwind-c.so | /usr/src/obj/tooldir=
.NetBSD-2.0.2-i386/bin/nbtsort -q`
/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-ranlib libgcc_s_=
pic.a
{  /usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-nm -pg _muldi=
3.so _negdi2.so _lshrdi3.so _ashldi3.so _ashrdi3.so _ffsdi2.so _clz.so _cmp=
di2.so _ucmpdi2.so _floatdidf.so _floatdisf.so _fixunsdfsi.so _fixunssfsi.s=
o _fixunsdfdi.so _fixdfdi.so _fixunssfdi.so _fixsfdi.so _fixxfdi.so _fixuns=
xfdi.so _floatdixf.so _fixunsxfsi.so _fixtfdi.so _fixunstfdi.so _floatditf.=
so _clear_cache.so _trampoline.so __main.so _exit.so _absvsi2.so _absvdi2.s=
o _addvsi3.so _addvdi3.so _subvsi3.so _subvdi3.so _mulvsi3.so _mulvdi3.so _=
negvsi2.so _negvdi2.so _ctors.so _divdi3.so _moddi3.so _udivdi3.so _umoddi3=
.so _udiv_w_sdiv.so _udivmoddi4.so unwind-dw2.so unwind-dw2-fde.so unwind-s=
jlj.so unwind-c.so;  echo %%;  cat /usr/src/gnu/dist/gcc/gcc/libgcc-std.ver=
 |  sed -e "/^[ 	]*#/d" -e 's/^%\(if\|else\|elif\|endif\|define\)/#\1/' |  =
/usr/src/obj/tooldir.NetBSD-2.0.2-i386/bin/i386--netbsdelf-gcc -O2  -DIN_GC=
C   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isys=
tem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDE=
D -I. -I. -I/usr/src/gnu/dist/gcc/gcc -I/usr/src/gnu/dist/gcc/gcc/.  -I/usr=
/src/gnu/dist/gcc/gcc/config -I/usr/src/gnu/dist/gcc/gcc/../include -E -xas=
sembler-with-cpp -;  } | awk -f /usr/src/gnu/dist/gcc/gcc/mkmap-symver.awk =
> libgcc.map.tmp
mv libgcc.map.tmp libgcc.map
nbmake: don't know how to make /usr/src/obj/destdir.i386/usr/lib/crtbeginS.=
o. Stop

nbmake: stopped in /usr/src/gnu/lib/libgcc3/libgcc_s

*** Failed target:  dependall
*** Failed command: cd /usr/src/gnu/lib/libgcc3/libgcc_s; /usr/src/obj/tool=
dir.NetBSD-2.0.2-i386/bin/nbmake realall
*** Error code 2

How can one fix this?
Or is there a workaround?

-Hanspeter