[Top][All Lists]

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

Re: [Gm2] linking : `__gxx_personality_v0' question

From: Gaius Mulley
Subject: Re: [Gm2] linking : `__gxx_personality_v0' question
Date: Tue, 19 Apr 2011 22:06:14 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)

john o goyo <address@hidden> writes:

> On 19-Apr-11, at 3:52 PM, Chris Lilley wrote:
>> On Tuesday, April 19, 2011, 9:07:55 PM, john wrote:
>> jog> I just tried -flibs=min with the following result.
>> jog> johng: 524 [tst-gm2]=> gm2 -Os -fno-exceptions -O2 -flibs-min
>> single.mod
>> jog> cc1gm2: error: unrecognized command line option "-flibs-min"
>> That's an equals sign between flibs and min, not a hyphen
> Oops -- but it still does not work.
> johng: 507 [tst-gm2]=> gm2  -fno-exceptions -flibs=min  single.mod
> failed to find definition module InOut.def
> 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


reply via email to

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