More GCC 3.4 issues

Gary Thomas gary@mlbassoc.com
Fri Feb 27 17:00:00 GMT 2004


I've determined that the previous error is definitely a problem with GCC.
If a C++ function is marked extern "C", it messes up multiple static
variable declarations.  I've reported this as GCC BUG 14324

Now, on to the next issue.  It seems that there may need to be some 
additional C++ support added (to whatever we have now).  Anyone have
any ideas what the following errors mean & what I need to do about them?

powerpc-eabi-gcc -msoft-float -mcpu=405 -g -nostdlib -Wl,-static -Wl,--fatal-warnings -L/work/moab/t/install/lib -Ttarget.ld -o /work/moab/t/install/tests/infra/current/tests/cxxsupp tests/cxxsupp.o
/opt/mlb/xtools/lib/gcc/powerpc-eabi/3.4.0/../../../../powerpc-eabi/lib/nof/libsupc++.a(vterminate.o)(.text+0x70): In function `__gnu_cxx::__verbose_terminate_handler()':
/usr/src/redhat/BUILD/mlb_tools/gcc-3.4-20040225/libstdc++-v3/libsupc++/vterminate.cc:66: undefined reference to `__cxa_demangle'
/opt/mlb/xtools/lib/gcc/powerpc-eabi/3.4.0/../../../../powerpc-eabi/lib/nof/libsupc++.a(vterminate.o)(.got2+0x4):/usr/src/redhat/BUILD/mlb_tools/gcc-3.4-20040225/libstdc++-v3/libsupc++/vterminate.cc:46: undefined reference to `_impure_ptr'

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates



More information about the Ecos-devel mailing list