[Bug c/45286] kact.sa_restorer = &restore_rt; in sigaction.c glibc get miss compile with -fPIE on x86_64

vapier at gentoo dot org gcc-bugzilla@gcc.gnu.org
Sun Aug 15 20:41:00 GMT 2010



------- Comment #8 from vapier at gentoo dot org  2010-08-15 20:40 -------
yes, we did.  take the .i files we already posted and compile them with the
quoted pic/pie flags and look at the disassembled code.

the hardened gentoo variant builds all of glibc with pic/pie support (including
static libraries) which is why building a stock glibc with stock gcc wont hit
the problem.

i dont see how the disassembled code using mov to load up data can work.  is it
attempting to read a PLT entry or something ?


-- 


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



More information about the Gcc-bugs mailing list