about tstring.cc fails on i*86-pc-linux-gnu
Andrey Slepuhin
pooh@msu.ru
Wed Dec 24 17:44:00 GMT 1997
Hi,
I just found why there is a regression with egcs-971215 on
i*86-pc-linux-gnu configurations (somebody reported this but
I don't remember any fixes) during compilation of tstring.cc
in libstdc++ tests. Errors were because first parameter
of __default_alloc_template<bool threads,int inst> depends
whether defined _PTHREADS symbol. For an unknown matter
libstdc++ modules in i*86-pc-linux-gnu configuration always
compiled with -D_PTHREADS, so default allocator "alloc"
in libstdc++ is treated as __default_alloc_template<true,0>,
while during compilation of tstring.cc it is treated as
__default_alloc_template<false,0>. This cause undefined
symbols during link stage.
Merry Xmas,
Andrey.
More information about the Gcc
mailing list