On Fri, Jul 15, 2011 at 1:02 PM, Markus Oehme <[email protected]> wrote: > Hi, > > I seem to have messed up my mail accounts and this list seems only to accept > submissions from members, so here what I wrote to Anthony before. > > The cause is using link time optimization (-flto) as optimization with > gcc. With it, the pattern is as I described, without it, everything works > fine.
I have experienced that lto sometimes adds text relocations when using it. As an example in zlib-1.2.3 (but not in 1.2.5) , so thats another reason not to use lto on hardened. Note that -flto -fstack-protector-all reenables the stack canaries, but I havent checked whether or not that disables lto //Fredric > > Markus >
