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

[Bug bootstrap/37739] [4.4 Regression] bootstrap broken with core gcc > gcc-4.2.x




------- Comment #33 from amodra at bigpond dot net dot au  2009-09-30 02:29 -------
To save people looking through the binutils bug report, here's the bug
analysis:

"You are using the old-style plt and got rather than the new secure plt (forced
by old startup files even if all the other code is capable of using the new
secure plt).  The old-style plt is a bss section, located towards the end of
the image.  Calls branch into the plt, then bounce from there to their final
destination.  At the time code is relaxed some data sections, located between
.text and .plt, have not yet been sized.  In particular, .eh_frame_hdr is still
zero size.  When this section is properly sized, some of the branches will no
longer reach.

This is a horrible bug.  To fix it I'll need to change quite a lot of code in
the linker, for all elf targets."

So to avoid the bug you'll need a new linker (binutils 2.20 has the fix) or not
use old libraries and startup files lacking -msecure-plt support.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37739

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


Reply to: