reassign 428926 libstdc++6-4.1-dev
thanks

This looks, to me, like something broke in libstdc++.  Consider this
small test case.

[EMAIL PROTECTED] t-locale.cc
#include <clocale>
#include <iostream>

using namespace std;


class my_numpunct : public numpunct<char>
{
public:
    explicit my_numpunct (size_t r = 0) : numpunct<char>(r) { }
};

int main (void)
{
    my_numpunct foo;
    return 0;
}
[EMAIL PROTECTED] t-locale.cc
[EMAIL PROTECTED] -O t-locale.cc
/tmp/cc94F5lg.o: In function `main':
t-locale.cc:(.text+0xa4): undefined reference to 
`std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)'
collect2: ld returned 1 exit status

The function goes away when compiled with optimizing??




On Fri, Jun 15, 2007 at 08:16:20AM +0200, Lucas Nussbaum wrote:
> Package: gmp
> version: 2:4.2.1+dfsg-4
> Severity: serious
> Justification: FTBFS on i386
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on i386.
> 
> Relevant part:
> /bin/sh ../../libtool --mode=link g++  -g -O2  -Wl,-z,defs -o t-istream  
> t-istream.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la 
> ../../libgmp.la 
> g++ -g -O2 -Wl,-z -Wl,defs -o .libs/t-istream t-istream.o  
> -L/build/user/gmp-4.2.1+dfsg/.libs ../../tests/.libs/libtests.a 
> ../../.libs/libgmpxx.so /build/user/gmp-4.2.1+dfsg/.libs/libgmp.so 
> ../../.libs/libgmp.so
> creating t-istream
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -g -O2 -c -o 
> t-locale.o t-locale.cc
> gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -I../../tests    -g 
> -O2 -c clocale.c
> /bin/sh ../../libtool --mode=link g++  -g -O2  -Wl,-z,defs -o t-locale  
> t-locale.o clocale.o -L../../.libs ../../tests/libtests.la ../../libgmpxx.la 
> ../../libgmp.la 
> g++ -g -O2 -Wl,-z -Wl,defs -o .libs/t-locale t-locale.o clocale.o  
> -L/build/user/gmp-4.2.1+dfsg/.libs ../../tests/.libs/libtests.a 
> ../../.libs/libgmpxx.so /build/user/gmp-4.2.1+dfsg/.libs/libgmp.so 
> ../../.libs/libgmp.so
> t-locale.o: In function `numpunct':
> /usr/include/c++/4.1.3/bits/locale_facets.h:1682: undefined reference to 
> `std::numpunct<char>::_M_initialize_numpunct(__locale_struct*)'
> collect2: ld returned 1 exit status
> make[5]: *** [t-locale] Error 1
> make[5]: Leaving directory `/build/user/gmp-4.2.1+dfsg/tests/cxx'
> make[4]: *** [check-am] Error 2
> make[4]: Leaving directory `/build/user/gmp-4.2.1+dfsg/tests/cxx'
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory `/build/user/gmp-4.2.1+dfsg/tests'
> make[2]: *** [check-recursive] Error 1
> make[2]: Leaving directory `/build/user/gmp-4.2.1+dfsg'
> make[1]: *** [check] Error 2
> make[1]: Leaving directory `/build/user/gmp-4.2.1+dfsg'
> make: *** [build-stamp] Error 2
> 
> The full build log is available from
> http://people.debian.org/~lucas/logs/2007/06/14/
> 
> About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
> of the Grid'5000 platform, using a clean chroot containing a sid i386
> environment.  Internet was not accessible from the build systems.
> 
> -- 
> | Lucas Nussbaum
> | [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
> | jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |
> 

Attachment: signature.asc
Description: Digital signature

Reply via email to