[GCC 3.0] Now it's libtool...

Marc Espie espie@schutzenberger.liafa.jussieu.fr
Fri Jul 6 06:58:00 GMT 2001


Okay, I'm past the hurdle of eh frame things, at least I hope so.

Now I'm stuck with libtool...

On OpenBSD, to produce correct shared libraries, we actually need
to multi-lib libgcc...

And of course, this triggers unpleasantness in libstdc++...

libtool does configure it twice, and it barfs on the fpic version...

In 
/bin/sh ../libtool --mode=compile /home/liafa/espie/egcs-stable/work/build-i386/gcc/xgcc -B/home/liafa/espie/egcs-stable/work/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.9/bin/ -B/usr/local/i386-unknown-openbsd2.9/lib/ -isystem /usr/local/i386-unknown-openbsd2.9/include -DHAVE_CONFIG_H -I.  -I/home/liafa/espie/egcs-stable/work/gcc-3.0/libstdc++-v3/libmath -I..  -I/home/liafa/espie/egcs-stable/work/gcc-3.0/libstdc++-v3/include -I../include             -O2 -g  -fpic -c /home/liafa/espie/egcs-stable/work/gcc-3.0/libstdc++-v3/libmath/signbit.c 
I get:
libtool: compile: unable to infer tagged configuration
libtool: compile: specify a tag with `--tag'

Not surprising, as
base_compile=/home/liafa/espie/egcs-stable/work/build-i386/gcc/xgcc -B/home/liafa/espie/egcs-stable/work/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.9/bin/ -B/usr/local/i386-unknown-openbsd2.9/lib/ -isystem /usr/local/i386-unknown-openbsd2.9/include -DHAVE_CONFIG_H -I.  -I/home/liafa/espie/egcs-stable/work/gcc-3.0/libstdc++-v3/libmath -I..  -I/home/liafa/espie/egcs-stable/work/gcc-3.0/libstdc++-v3/include -I../include -O2 -g -fpic -c
and 
CC=/home/liafa/espie/egcs-stable/work/build-i386/gcc/xgcc -B/home/liafa/espie/egcs-stable/work/build-i386/gcc/ -B/usr/local/i386-unknown-openbsd2.9/bin/ -B/usr/local/i386-unknown-openbsd2.9/lib/ -isystem /usr/local/i386-unknown-openbsd2.9/include -fpic 

It's actually fine. I just needed a reminder of why I hate libtool so
much...

What the **** is going on ?



More information about the Gcc-bugs mailing list