This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

`_Unwind_RaiseException_Phase2'


Hello All,

I am having some link issues with the arm-elf-g++. I am using arm-elf-g++.

When I do a

arm-elf-g++ -v

I get

------------------------------
Reading specs from /opt/ecos/gnutools/arm-elf/bin/../lib/gcc-lib/arm-elf/3.2.1/s
pecs
Configured with: /local/demonweb/tools/ecos-gnutools-v1.4/r2/arm-elf/cygwin/tar_
bz2/source/gcc-3.2.1/configure --target=arm-elf --prefix=/local/demonweb/tools/e
cos-gnutools-v1.4/r2/arm-elf/cygwin/tar_bz2/opt/ecos/gnutools/arm-elf --enable-l
anguages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=
/local/demonweb/tools/ecos-gnutools-v1.4/r2/arm-elf/cygwin/tar_bz2/opt/ecos/gnut
ools/arm-elf/arm-elf/include
Thread model: single
gcc version 3.2.1
------------------------------

I get the following error message when the makefile tries to link the
code. Can anyone tell me what the issue is? Thank you.

regards,
Nagender

------------------------------
/opt/ecos/gnutools/arm-elf/lib/gcc-lib/arm-elf/3.2.1/interwork/libgcc.a(unwind-s
jlj.o): In function `_Unwind_RaiseException_Phase2':
unwind-sjlj.o(.text+0x140): undefined reference to `abort'
/opt/ecos/gnutools/arm-elf/lib/gcc-lib/arm-elf/3.2.1/interwork/libgcc.a(unwind-s
jlj.o): In function `_Unwind_SjLj_Resume':
unwind-sjlj.o(.text+0x3c8): undefined reference to `abort'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_personality.o):
In function `size_of_encoded_value(unsigned char)':
eh_personality.o(.text+0x50): undefined reference to `abort'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_personality.o):
In function `base_of_encoded_value(unsigned char, _Unwind_Context*)':
eh_personality.o(.text+0xa0): undefined reference to `abort'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_personality.o):
In function `read_encoded_value_with_base(unsigned char, unsigned, unsigned char
const*, unsigned*)':
eh_personality.o(.text+0x238): undefined reference to `abort'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_terminate.o)(.te
xt+0x54): more undefined references to `abort' follow
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(del_op.o): In funct
ion `operator delete(void*)':
del_op.o(.text+0x10): undefined reference to `free'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_alloc.o): In fun
ction `__cxa_allocate_exception':
eh_alloc.o(.text+0x14): undefined reference to `malloc'
eh_alloc.o(.text+0x30): undefined reference to `memset'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_alloc.o): In fun
ction `__cxa_free_exception':
eh_alloc.o(.text+0xec): undefined reference to `free'
/opt/ecos/gnutools/arm-elf/arm-elf/lib/interwork/libstdc++.a(eh_catch.o): In fun
ction `__cxa_end_catch':
eh_catch.o(.text+0x94): undefined reference to `abort'


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]