http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47248
Ian Lance Taylor <ian at airs dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2011.01.10 21:44:26 Component|bootstrap |libffi Ever Confirmed|0 |1 --- Comment #2 from Ian Lance Taylor <ian at airs dot com> 2011-01-10 21:44:26 UTC --- This problem is occurring because the file sysv.o has a writable .eh_frame section. That is confusing gold's relro support. This is certainly a bug in gold. However, there does also seem to be a problem in libffi. Why is the libffi configure.ac setting EH_FRAME_FLAGS to "aw"? As far as I can see, the test in libffi/configure.ac is bogus. It is compiling code and looking for the setting of the .eh_frame section. However, the code it is compiling has no need to handle exceptions and therefore has no .eh_frame section. The configure script draws the wrong conclusion and emits a writable .eh_frame section when it should emit a readable one. This should be fixed independently of the gold problem.