[Bug target/47619] ICE in printf() with -fsplit-stack enabled.
pluto at agmk dot net
gcc-bugzilla@gcc.gnu.org
Sun Feb 6 20:27:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47619
Pawel Sikora <pluto at agmk dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |INVALID
--- Comment #4 from Pawel Sikora <pluto at agmk dot net> 2011-02-06 20:22:53 UTC ---
(In reply to comment #3)
> Thanks for the bug report. If you are not using the gold linker, then this
> kind of thing is expected behaviour. The problem is that glibc itself was not
> compiled with -fsplit-stack. gold knows how to fix up that kind of call; the
> GNU linker does not. This is mentioned in the documentation for the
> -fsplit-stack option.
>
> So: where you using the gold linker?
yup, i'm using the classic (bfd) linker.
the http://gcc.gnu.org/wiki/SplitStacks doesn't explictly mention
that gold linker is required. my fault :(
More information about the Gcc-bugs
mailing list