[uClibc] gcc 3.3 toolchain + templates

Jeffrey Baitis baitisj at evolution.com
Mon Oct 13 18:36:45 UTC 2003


Hi Agust:

I noticed on Jul 10 that you posted that you were having problems with
the GCC STL with the 'toolchain' tool. I'm experiencing the same
problems now with gcc 3.3.1. I'm curious if you were able to figure out
what went wrong.

Here's my error:

mipsel-uclibc-g++ -DHAVE_CONFIG_H -I. -I. -I../../../..
-DEVOLUTION_BUILD_BASE -msoft-float -lz -msoft-fl
oat -lz -msoft-float
-I/opt/netroot/bsps/uclibc_mipsel/uclibc_0.9.22pre_softfloat/usr/include/libxml2 -I/
opt/netroot/bsps/uclibc_mipsel/uclibc_0.9.22pre_softfloat/usr/include
-I/opt/netroot/bsps/uclibc_mipsel/u
clibc_0.9.22pre_softfloat/usr/include
-I/local_home/baitisj/erp/evolution-core-erp/src -Wall -ansi -c Acq
uirableImpl.cpp -MT AcquirableImpl.lo -MD -MP -MF
.deps/AcquirableImpl.TPlo  -fPIC -DPIC
In file included from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/memory:55,   
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/string:48,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/locale_cl
asses.h:47,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/ios_base.
h:47,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ios:49,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ostream:45,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/iostream:45,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/Types.hpp:20,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/IAcquirable.hpp:15,
                 from AcquirableImpl.hpp:18,
                 from AcquirableImpl.cpp:13:
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:382: error: parse
   error before `;' token
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:452: error: syntax
   error before `<' token
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:452: error: `
   __threads' was not declared in this scope
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:452: error: `
   __inst' was not declared in this scope
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:452: error: template 
   argument 1 is invalid
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/stl_alloc.h:452: error: template 
   argument 2 is invalid
In file included from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/string:53,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/locale_classes.h:47,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/ios_base.h:47,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ios:49,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ostream:45,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/iostream:45,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/Types.hpp:20,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/IAcquirable.hpp:15,
                 from AcquirableImpl.hpp:18,
                 from AcquirableImpl.cpp:13:
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/basic_string.h:166: error: '
   _Atomic_word' is used as a type, but is not defined as a type.
In file included from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/ios_base.h:47,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ios:49,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/ostream:45,
                 from
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/iostream:45,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/Types.hpp:20,
                 from
/local_home/baitisj/erp/evolution-core-erp/src/evolution/core/base/IAcquirable.hpp:15,
                 from AcquirableImpl.hpp:18,
                 from AcquirableImpl.cpp:13:
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/locale_classes.h:212: error: '
   _Atomic_word' is used as a type, but is not defined as a type.
/opt/toolchains/uclibc/gcc-3.3.1/mipsel/toolchain_mipsel/include/c++/bits/locale_classes.h: In
   member function `void std::locale::_Impl::_M_add_reference()':


.. Etc. etc.

Thanks!

-Jeff


-- 
Jeffrey Baitis <baitisj at evolution.com>



More information about the uClibc mailing list