Bug#405749: lsb-build-cc3: [lsbc++3] undefined reference to `std::allocatorchar::allocator()'

2007-01-05 Thread LI Daobing
Package: lsb-build-cc3 Version: 3.1.1-2 Severity: normal check the following small program, it can't compile with lsbc++3. lsbc++2 does not have this bug. $ cat bug.cpp #include string int main() { std::string a[1] = {1}; } $ lsbc++3 bug.cpp /tmp/ccdKNNm6.o: In function `main':

Bug#405749: lsb-build-cc3: [lsbc++3] undefined reference to `std::allocatorchar::allocator()'

2007-01-05 Thread Stuart Anderson
This is the same as the upstream bug http://bugs.linuxbase.org/show_bug.cgi?id=1523 Stuart Stuart R. Anderson [EMAIL PROTECTED] Network Software Engineering http://www.netsweng.com/ 1024D/37A79149:

Bug#405749: lsb-build-cc3: [lsbc++3] undefined reference to `std::allocatorchar::allocator()'

2007-01-05 Thread Stuart Anderson
On Sat, 6 Jan 2007, LI Daobing wrote: check the following small program, it can't compile with lsbc++3. $ cat bug.cpp #include string int main() { std::string a[1] = {1}; } Try adding -D_GLIBCXX_EXTERN_TEMPLATE=0. Hopefully, you've got a larger program also that you can test this one and see