(970910) libio/libstdc++ build prob on linux-gnulibc1
Mumit Khan
khan@xraylith.wisc.edu
Thu Sep 11 22:10:00 GMT 1997
Just tried 970910 and couldn't build libstdc++ on i386-linux-gnulibc1 due
to multiple definitions of _IO_fdopen, _IO_fflush, _IO_vsprintf, etc.
platform: i386-linux-gnulibc1 (libc 5.3.12, ld.so 1.7.14)
configure: --enable-shared
Here's an excerpt:
==================================
/scratch/src/egcs/LINUX/gcc/xgcc -B/scratch/src/egcs/LINUX/gcc/ -g -O2
-fno-implicit
-templates -Wl,-soname,libstdc++.so.`echo 2.8.0 | sed
's/\([0-9][.][0-9]\).*/\1/
'` -shared -o libstdc++.so.2.8.0 `cat piclist` -lm
../libio/pic/iofdopen.o: In function `_IO_fdopen':
/scratch/src/egcs/LINUX/../libio/iofdopen.c:40: multiple definition of
`_IO_fdopen
../libio/pic/iofdopen.o:/scratch/src/egcs/LINUX/../libio/iofdopen.c:40:
first defined here
../libio/pic/iofflush.o: In function `_IO_fflush':
/scratch/src/egcs/LINUX/../libio/iofflush.c:32: multiple definition of
`_IO_fflush
../libio/pic/iofflush.o:/scratch/src/egcs/LINUX/../libio/iofflush.c:32:
first defined here
[...]
==================================
I was away during 970907, but looking at the sources, looks like it should
have the same problem, although the mail archives don't have any references
to this problem.
Mumit
More information about the Gcc-bugs
mailing list