Port-vax archive

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

Re: Issues with compiler failures




> On Mar 20, 2019, at 5:44 PM, Johnny Billquist <bqt%update.uu.se@localhost> wrote:
> 
> On 2019-03-17 11:16, Johnny Billquist wrote:
>> On 2019-03-17 11:05, maya%netbsd.org@localhost wrote:
>>> Or you can use -O0 whenever this happens and not lose anything.
>> Ok. I'll run through some build stuff on VAX and report the current status...
> 
> Downloaded current, and started a native build.
> 
> It comes as far as tools/gcc in the build before it fails. This is a new error I've not seen before. Maybe someone who knows gcc better might know what is going on, or if there is something I did wrong.
> 
> I just ran "build.sh build" in /usr/src.
> 
> Huff:/usr/src> uname -a
> NetBSD Huff.BQTnet.SE 8.99.35 NetBSD 8.99.35 (Krille) #2: Tue Mar 19 11:16:12 CET 2019 root%GW.SoftJAR.SE@localhost:/usr/obj/sys/arch/vax/compile/Krille vax
> 
> ...
> 
> libtool: compile:  cc -DHAVE_CONFIG_H -I. -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/lto-plugin -I/usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/lto-plugin/../include -DHAVE_CONFIG_H -DNETBSD_TOOLS -DTARGET_SYSTEM_ROOT=0 -DTARGET_SYSTEM_ROOT_RELOCATABLE -Wall -O -c /usr/src/tools/gcc/../../external/gpl3/gcc.old/dist/lto-plugin/lto-plugin.c  -fPIC -DPIC -o .libs/lto-plugin.o
> /bin/sh ./libtool --tag=CC --tag=disable-static  --mode=link cc -Wall -O -Wc,-static-libgcc  -module -bindir /usr/src/obj/tooldir.NetBSD-8.99.35-vax/libexec/gcc/vax--netbsdelf/6.5.0    -o liblto_plugin.la -rpath /usr/src/obj/tooldir.NetBSD-8.99.35-vax/libexec/gcc/vax--netbsdelf/6.5.0 lto-plugin.lo  -Wc,../libiberty/pic/libiberty.a
> libtool: link: cc -shared  .libs/lto-plugin.o    -static-libgcc ../libiberty/pic/libiberty.a   -Wl,-soname -Wl,liblto_plugin.so.0 -o .libs/liblto_plugin.so.0.0
> ld: cannot find -lgcc_eh_pic
> ld: cannot find -lgcc_eh_pic
> nbgmake[2]: *** [liblto_plugin.la] Error 1
> nbgmake[2]: Leaving directory `/usr/obj/tools/gcc/build/lto-plugin'
> nbgmake[1]: *** [all] Error 2
> nbgmake[1]: Leaving directory `/usr/obj/tools/gcc/build/lto-plugin'
> nbgmake: *** [all-lto-plugin] Error 2

GCC is now a C++ program.  I remember from long ago that bootstrapping some of the core C++ libraries is a bit tricky.

	paul



Home | Main Index | Thread Index | Old Index