[Bug 440172] Re: Shared objects which should be PIC aren't
Bug Watch Updater
440172 at bugs.launchpad.net
Sat Mar 23 21:28:56 UTC 2013
** Changed in: gcc
Importance: Unknown => Critical
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to eglibc in Ubuntu.
https://bugs.launchpad.net/bugs/440172
Title:
Shared objects which should be PIC aren't
Status in The GNU Compiler Collection:
Fix Released
Status in “binutils” package in Ubuntu:
Fix Released
Status in “eglibc” package in Ubuntu:
Fix Released
Status in “gcc-4.4” package in Ubuntu:
Fix Released
Status in “binutils” source package in Karmic:
Fix Released
Status in “eglibc” source package in Karmic:
Fix Released
Status in “gcc-4.4” source package in Karmic:
Fix Released
Bug description:
Binary package hint: gcc-4.4
Hi
Since it's built with gcc-4.4, eglibc isn't PIC anymore; just like
almost all shared objects we built.
Debian noticed this issue when considering the gcc-4.4 switch:
http://lists.debian.org/debian-arm/2009/09/msg00062.html
and the eglibc testsuite has test check-textrel.out which fails since it's not PIC anymore.
The issue is in gcc-4.4 which generates the wrong type of ELF data for
exception handling (eh_frame).
This prompts for a rebuild of a bunch of packages between beta and
final with a fixed toolchain.
A workaround is to build things with -fno-dwarf2-cfi-asm. We should
upload eglibc built with this ASAP.
We should also patch gcc-4.4 to default to setting this flag on ARM EABI:
http://gcc.gnu.org/ml/gcc-patches/2009-10/msg00071.html
See also PR40521 which is an issue in gas that prevents the proper fix in gcc.
We should include this patch in our gcc-4.4 ASAP and rebuild the
toolchain against it.
To manage notifications about this bug go to:
https://bugs.launchpad.net/gcc/+bug/440172/+subscriptions
More information about the foundations-bugs
mailing list