[ECOS] Building eCos tests fails... "vterminate.cc:94: undefined reference to `_impure_ptr'" ?
Andrew Lunn
andrew@lunn.ch
Sun Mar 5 12:56:00 GMT 2006
On Fri, Mar 03, 2006 at 05:15:31PM +0100, oliver munz @ s p e a g wrote:
> ...
> make -r -C infra/current tests
> make[1]: Entering directory
> `/ecos-e/ecos_builds/andrew1_build/infra/current'
> arm-elf-gcc -c -I/ecos-e/ecos_builds/andrew1_install/include
> -I/ecos-e/ecos_andrew/ecos/packages/infra/current
> -I/ecos-e/ecos_andrew/ecos/packages/infra/current/src
> -I/ecos-e/ecos_andrew/ecos/packages/infra/current/tests -I.
> -I/ecos-e/ecos_andrew/ecos/packages/infra/current/tests/
> -finline-limit=7000 -mcpu=arm7tdmi -Wall -Wpointer-arith -Winline -Wundef
> -Woverloaded-virtual -g -O0 -ffunction-sections -fdata-sections -fno-rtti
> -fno-exceptions -Wp,-MD,tests/cxxsupp.tmp -o tests/cxxsupp.o
> /ecos-e/ecos_andrew/ecos/packages/infra/current/tests/cxxsupp.cxx
> arm-elf-gcc -L/ecos-e/ecos_builds/andrew1_install/lib -Ttarget.ld -o
> /ecos-e/ecos_builds/andrew1_install/tests/infra/current/tests/cxxsupp
> tests/cxxsupp.o -mcpu=arm7tdmi -Wl,-static -g -nostdlib -Wl,--fatal-warnings
> make[1]: Leaving directory `/ecos-e/ecos_builds/andrew1_build/infra/current'
> /ecos-d/xgcc/tools/bin/../lib/gcc/arm-elf/3.4.4/../../../../arm-elf/lib/libsupc++.a(vterminate.o):
> In function `__gnu_cxx::__verbose_terminate_handler()':
> make: Leaving directory `/ecos-e/ecos_builds/andrew1_build'
> /cygdrive/d/xgcc/src/gcc-3.4.4/libstdc++-v3/libsupc++/vterminate.cc:94:
> undefined reference to `_impure_ptr'
> collect2: ld returned 1 exit status
> make[1]: ***
> [/ecos-e/ecos_builds/andrew1_install/tests/infra/current/tests/cxxsupp]
> Error 1
> make: *** [tests] Error 2
>
> I can't build the eCos-tests. What's wrong? The compiler???
It will be just this one test that fails. All the others should be
O.K.
This is to do with the compiler. It expects things from libc which
eCos does not have. This has been discussed a few times on the
mailling lists.
Andrew
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
More information about the Ecos-discuss
mailing list