This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/47619] ICE in printf() with -fsplit-stack enabled.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 6 Feb 2011 20:23:04 +0000
- Subject: [Bug target/47619] ICE in printf() with -fsplit-stack enabled.
- Auto-submitted: auto-generated
- References: <bug-47619-4@http.gcc.gnu.org/bugzilla/>
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 :(