This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Problem with EGCS 1.0.2 & LIBSTDC++


Hi,

the pre-1.0.2 worked (passed all lib tests) for me with this patch
<http://www.cygnus.com/ml/egcs-bugs/1998-Feb/0330.html> on glibc-961212
(1.99 alpha) before the libio/glibc changes were checked in. I would assume
that the RedHat 4.2/Alpha people also have problems with the current CVS
pre-1.0.2? Probably the recent libio changes for glibc-2.1 have a side effect?

Bye,
Franz.

At 14:00 28.02.98 -0800, H.J. Lu wrote:
>> 
>> I've built EGCS 1.0.2 prerelease from CVS for
powerpc-unknown-linux-gnulibc1.
>
>I think powerpc-unknown-linux-gnulibc1 may be your problem. Which C
>library are you using? Richard, did you fix a bug like that?
>
>BTW, did you pass "make check" in libstdc++?
>
>> I'm having trouble with C++ linking as follows:
>> 
>> g++ -O -DBIG_ENDIAN -Wall -o synth test.o -lm
>> /usr/local/egcs/lib/libstdc++.so: undefined reference to
>>
`clone__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_tem
plat
>> e2b1i03Rep'
>> /usr/local/egcs/lib/libstdc++.so: undefined reference to
`basic_string<char,
>> string_char_traits<char>, __default_alloc_template<true, 0>
>::replace(unsigned
>> int, unsigned int, char const *, unsigned int)'
>> /usr/local/egcs/lib/libstdc++.so: undefined reference to
`basic_string<char,
>> string_char_traits<char>, __default_alloc_template<true, 0> >::nilRep'
>> /usr/local/egcs/lib/libstdc++.so: undefined reference to
>>
`__dl__Q2t12basic_string3ZcZt18string_char_traits1ZcZt24__default_alloc_temp
late
>> 2b1i03RepPv'
>> 
>> Any ideas?  How might I fix this?
>> 
>
>
>-- 
>H.J. Lu (hjl@gnu.org)
>
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]