RE: [iPAQ] bug in dymanic linker

From: Doyle, Lawrence <Lawrence.Doyle.a.t.itt.com>
Date: Mon Oct 23 2000 - 07:41:06 EDT

There is also a bug in the g++ (2.95.x) ARM code generation for C++
exceptions in shared libraries. If an exception is thrown in -fPIC code, you
get an abort or segmentation fault.

Larry

-----Original Message-----
From: Christopher Blizzard [mailto:blizzard@mozilla.org]
Sent: Friday, October 20, 2000 1:03 AM
To: Lawler, Tom
Cc: ipaq
Subject: Re: [iPAQ] bug in dymanic linker

Lawler, Tom wrote:

> Chris
> I ran into this also, if I remember correctly, you have a library
> compiled without -fPIC. You can do an objdump --dynamic-reloc
> <library-name>, if you see R_ARM_PC24 records, then that library needs to
be
> recompiled with -fPIC.

Thanks, this really helped. It turns out that the library was compiled
with -fPIC but it was including iostream code. Any time that the
iostream includes were referenced it created these symbols. Is there a
g++ library that is built in the skill cross compiler that also needs to
be built with -fPIC?

--Chris

>
> Tom
>
> -----Original Message-----
> From: Christopher Blizzard [mailto:blizzard@mozilla.org]
> Sent: Thursday, October 19, 2000 3:51 PM
> To: ipaq
> Subject: [iPAQ] bug in dymanic linker
>
>
> So, I've got this nice, cross compiled mozilla build for the arm which
> was no small task in and of itself. However, I'm running into this bug
> with the dynamic linker. I saw the faq for this on the netwinder page
> and it seems like something that just doesn't work on the arm. Does
> anyone know how or if this is something that can be fixed? This is a
> show stopper for mozilla.
>
> --Chris
>
> (none):/mnt/ramfs/tmp/mozilla/arm-build/dist/bin# ./regxpcom
> RegSelf Shift_JIS to Unicode converter complete
> RegSelf EUC-JP to Unicode converter complete
> RegSelf ISO-2022-JP to Unicode converter complete
> RegSelf Unicode to Shift_JIS converter complete
> RegSelf Unicode to EUC-JP converter complete
> RegSelf Unicode to ISO-2022-JP converter complete
> RegSelf Unicode to jis_0201 converter complete
> RegSelf Unicode to jis_0208-1983 converter complete
> RegSelf Unicode to jis_0212-1990 converter complete
> RegSelf Unicode to Big5 converter complete
> RegSelf Unicode to x-x-big5 converter complete
> RegSelf Big5 to Unicode converter complete
> BUG IN DYNAMIC LINKER ld.so: ../sysdeps/arm/dl-machine.h: 450:
> elf_machine_rel: Assertion `! "unexpected dynamic reloc type"' failed!

_______________________________________________
iPAQ mailing list
iPAQ@handhelds.org
http://handhelds.org/mailman/listinfo/ipaq

************************************
If this email is not intended for you, or you are not responsible for the
delivery of this message to the addressee, please note that this message may
contain ITT Privileged/Proprietary Information. In such a case, you may not
copy or deliver this message to anyone. You should destroy this message and
kindly notify the sender by reply email. Information contained in this
message that does not relate to the business of ITT is neither endorsed by
nor attributable to ITT.
************************************
Received on Mon Oct 23 04:36:01 2000

This archive was generated by hypermail 2.1.8 : Tue May 04 2004 - 09:43:44 EDT