This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
about tstring.cc fails on i*86-pc-linux-gnu
- To: egcs at cygnus dot com
- Subject: about tstring.cc fails on i*86-pc-linux-gnu
- From: Andrey Slepuhin <pooh at msu dot ru>
- Date: Thu, 25 Dec 1997 01:36:53 +0000
- CC: law at cygnus dot com
- Organization: Network Management Department of Moscow State University
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.