gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] linking : `__gxx_personality_v0' question


From: john o goyo
Subject: Re: [Gm2] linking : `__gxx_personality_v0' question
Date: Tue, 19 Apr 2011 18:06:55 -0400


On 19-Apr-11, at 5:06 PM, Gaius Mulley wrote:
john o goyo <address@hidden> writes (in part):
[..]

And if I leave that out, the "-fno-exceptions" does not work either.

johng: 506 [tst-gm2]=> gm2  -fno-exceptions  single.mod
Undefined                       first referenced
 symbol                             in file
typeinfo for int                    /opt/gm2-4.1.2/lib/gcc/sparc64-
sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o)
__cxa_allocate_exception            /opt/gm2-4.1.2/lib/gcc/sparc64-
sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o)
__cxa_throw                         /opt/gm2-4.1.2/lib/gcc/sparc64-
sun-solaris2.10/4.1.2/gm2/pim/libgm2.a(RTExceptions.o)
__gxx_personality_v0 /var/tmp//ccOcmrIO.a (cc1ysxe8prog.o)
ld: fatal: Symbol referencing errors. No output written to a.out
collect2: ld returned 1 exit status


Hi John,

ahh the min libs are really minimal.  No I/O or string manipulation
procedures - just the minimal stubs to satisfy the linker (in M2RTS) and a minimal SYSTEM. So for example when building for an embedded platform
the total minlibs overhead is 170 bytes, on the avr ATMega8

Thank you -- that explains the minlibs bit but why the exception references?

john




reply via email to

[Prev in Thread] Current Thread [Next in Thread]