This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[GCC 3.0] Now it's libtool...
- To: gcc-bugs at gcc dot gnu dot org
- Subject: [GCC 3.0] Now it's libtool...
- From: Marc Espie <espie at schutzenberger dot liafa dot jussieu dot fr>
- Date: Fri, 6 Jul 2001 15:58:07 +0200
- Reply-To: Marc dot Espie at liafa dot jussieu dot fr
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 ?