glibc or egcs C++ bug ?

H.J. Lu hjl@lucon.org
Sat Feb 6 09:50:00 GMT 1999


> 
> 
> Hello,
> 
> I have got a bug report, where I don't know if it is a glibc or
> egcs bug.
> 
> If I compile the appended example with egcs 1.1.1 and glibc 2.x,
> I got:
> 
> kukuk@allen:~/tmp > g++ test.cc test2.cc 
> /tmp/ccvijqsR.o: warning: multiple common of `bla type_info node'
> /tmp/ccfPOxJN.o: warning: previous common is here
> 
> 
> kukuk@allen:~/tmp > g++ test3.cc 
> kukuk@allen:~/tmp >
> 
> test3.cc is test.cc and test2.cc in one file.
> 
> What the original author has tested:
> egcs 1.1b and glibc: should work
> egcs 1.1.1 and glibc: doesn't work
> egcs 1.1.1 and libc5: should work
> 
> Does anybody know where the bug is ?
> 

I have no problem with glibc 2.0/2.1 and egcs 1.1.1/Linux. Anyone
who uses Linux should give my egcs 1.1.1/Linux a try. I fixed some
many bugs, most of them are very important to Linux. Unfortunately
for various reasons, they are not in egcs 1.1.1.

BTW, since there will be egcs 1.1.2, I decided to cancel egcs
1.1.1/Linux and prepare for egcs 1.1.2/Linux. In the meantime,
you can get my old patch at

ftp://ftp.varesearch.com/pub/support/hjl/egcs/egcs-1.1.1-19990115-linux.diff.gz

H.J.



More information about the Libc-hacker mailing list