Undefined symbols at run time for gcc-2.95.3

David Korn dkorn@pixelpower.com
Wed Oct 31 07:47:00 GMT 2001

   Oh, by the way:

>-----Original Message-----
>From: Ernest L. Williams Jr. [ mailto:snsernesto@home.com ]
>Sent: 31 October 2001 04:59

>Hi Dave,
>I do have a -nostdlib in build.log file:

>Testing libgcc1.  Ignore linker warning messages.
>-DCROSS_COMPILE -DIN_GCC -DHAIFA    -g -O2 -I./include  
>libgcc1-test.o -o libgcc1-test \
>  -nostartfiles -nostdlib `/usr/local/obj/gcc2.95.3-ppc/gcc/xgcc

  That's ok: nostdlib is being used during the build of libgcc.a; since
libgcc.a does not yet exist it should not be linked with the files that
are being used to produce libgcc.a!  What I meant was, do you have -nostdlib
in the flags of the files you compile that produce these missing symbols:

>> >--------------------------------------------------------------
>> >Undefined symbol: __start_cp_handler (binding 1 type 0)
>> >Undefined symbol: __eh_rtime_match (binding 1 type 0)
>> >Undefined symbol: __eh_alloc (binding 1 type 0)
>> >value =3D 28671088 =3D 0x1b57c70
>> >---------------------------------------------------------------

  - these errors were from trying to build *with* the compiler, rather than
when trying to build the compiler itself, weren't they ?   And these are
the ones I hope will be solved by using the g++ driver rather than the gcc
one.  Please correct me if I misunderstood....

Burn your ID card!  http://www.optional-identity.org.uk/
Help support the campaign, copy this into your .sig!

This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.


Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

More information about the crossgcc mailing list