AW: [ECOS] any experiences with arm gcc 3.4.1 and ecos ?

Neundorf, Alexander
Fri Aug 6 10:30:00 GMT 2004

> I download now eCos with following command:
> cvs.exe -z3 -d 
> co -P ecos
> problem with multiple definitions is solved, but I get 
> following error:
> /opt/ecos/gnutools/arm-elf/bin/../lib/gcc/arm-elf/3.4.1/../../
> ../../arm-elf/
> lib/libsupc++.a(vterminate.o)(.text+0x22c):../../../../gcc-3.4
> .1/libstdc++-v
> 3/libsupc++/ undefined reference to `_impure_ptr'
> richard

Same here with gcc 3.4.1 from .

Additionally the linker (2.15) complains:

/ecos-d/apps/gnutools/arm-elf/bin/../lib/gcc/arm-elf/3.4.1/../../../../arm-elf/bin/ld: ERROR: /ecos-d/apps/gnutools/arm-elf/bin/../lib/gcc/arm-elf/3.4.1/libgcc.a(_modsi3.o) uses FPA instructions, whereas testapp does not
/ecos-d/apps/gnutools/arm-elf/bin/../lib/gcc/arm-elf/3.4.1/../../../../arm-elf/bin/ld: failed to merge target specific data of file 

The command line for testapp is:
arm-elf-c++ -o testapp.o -I../ -Iecos/install/include/ -D__ECOS__ -Wall -ansi -Wctor-dtor-privacy -Woverloaded-virtual -Wno-long-long -pipe -fno-builtin -fno-exceptions -mcpu=xscale -mapcs-frame -g -O0 -fno-rtti -fmessage-length=0  -c testapp.cpp

and for the ecos files:

arm-elf-gcc -c -I/ecos-d/src/e-xscale/testapp/ecos-xscale/ecos/install/include -I/ecos-d/src/ecos/ecos/packages/services/memalloc/common/current -I/ecos-d/src/ecos/ecos/packages/services/memalloc/common/current/src -I/ecos-d/src/ecos/ecos/packages/services/memalloc/common/current/tests -I. -I/ecos-d/src/ecos/ecos/packages/services/memalloc/common/current/src/ -finline-limit=7000 -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -O6 -fno-rtti -fno-exceptions   -mapcs-frame -Wp,-MD,src/sepmeta.tmp -o src/services_memalloc_common_sepmeta.o 

I read that I need a multilib of libgcc for ecos. What is a multilib ? 
Would binutils 2.14 help (I guess not) ?


Before posting, please read the FAQ:
and search the list archive:

More information about the Ecos-discuss mailing list