Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: build broken -groff and c++ compiler



Hi,

Christos Zoulas wrote:
1. cvs update to head
2. cd /usr/src/external/gpl3/binutils
3. for i in lib usr.bin usr.sbin; do (cd $i && make && make install); done
thanks, but it fails with:
#   compile  dbsym/dbsym.o
/usr/src/tooldir.NetBSD-6.99.24-i386/bin/i486--netbsdelf-gcc -O2 -O2 -fexpensive -optimizations -march=pentium-m -std=gnu99 -Wall -Wstrict-prototypes -Wmissing- prototypes -Wpointer-arith -Wno-sign-compare -Wno-traditional -Wa,--fatal-warn ings -Werror --sysroot=/ -I/usr/src/external/gpl3/binutils/dist/bfd -I/usr/sr c/external/gpl3/binutils/dist/binutils -I/usr/src/external/gpl3/binutils/dist/in clude -DPACKAGE -DPACKAGE_VERSION -I/usr/src/external/gpl3/binutils/lib/libbfd/ arch/i386 -DNETBSD_CORE -I. -I/bfd -I/bfd/../include -DHAVE_bfd_elf32_i386_v ec -DHAVE_i386netbsd_vec -DHAVE_bfd_elf32_little_generic_vec -DHAVE_bfd_elf32_bi g_generic_vec -I./../intl -c dbsym.c
sh: /usr/src/tooldir.NetBSD-6.99.24-i386/bin/i486--netbsdelf-gcc: not found
*** Error code 127

Could it be because I removed my /usr/obj ? it looks for gcc inside src and I only find:

bash-4.2# find . -name 'i486*'
./external/gpl3/gcc/dist/libstdc++-v3/config/abi/post/i486-linux-gnu
./external/gpl3/gcc/dist/libstdc++-v3/config/cpu/i486
./external/lgpl3/gmp/dist/mpn/x86/i486
./gnu/dist/gcc4/libstdc++-v3/config/abi/i486-linux-gnu
./gnu/dist/gcc4/libstdc++-v3/config/cpu/i486


My attempt of the past night was:

1) update to cvs head
2) untar the whole comp tarball from Oct. 3
4) remove /usr/obj
5) make a clean build without X

sadly, it still fails in groff, where C++ is used. I hoped that wih a new comp I would overwrite and get working tools to update my own distribution again.

I'm just udpating cvs again, but it is very slow right now.

Thanks

Riccardo


Home | Main Index | Thread Index | Old Index