public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* `_Unwind_RaiseException_Phase2'
@ 2004-10-07  2:06 Nagender Telkar
  2004-10-07 11:23 ` `_Unwind_RaiseException_Phase2' Andrew Haley
  0 siblings, 1 reply; 2+ messages in thread
From: Nagender Telkar @ 2004-10-07  2:06 UTC (permalink / raw)
  To: gcc

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'

^ permalink raw reply	[flat|nested] 2+ messages in thread

* `_Unwind_RaiseException_Phase2'
  2004-10-07  2:06 `_Unwind_RaiseException_Phase2' Nagender Telkar
@ 2004-10-07 11:23 ` Andrew Haley
  0 siblings, 0 replies; 2+ messages in thread
From: Andrew Haley @ 2004-10-07 11:23 UTC (permalink / raw)
  To: Nagender Telkar; +Cc: gcc

Nagender Telkar writes:
 > Hello All,
 > 
 > I am having some link issues with the arm-elf-g++. I am using arm-elf-g++.

This list is for development of gcc only, not for gcc help.  It looks
to me like your toolchain is configured for arm-elf, but you're not
linking against a C library.  The C library is usually supplied by the
vendor of your target OS.

Please ask questions on gcc-help@gcc.gnu.org.

Andrew.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-10-07 10:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-07  2:06 `_Unwind_RaiseException_Phase2' Nagender Telkar
2004-10-07 11:23 ` `_Unwind_RaiseException_Phase2' Andrew Haley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).