This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/47619] ICE in printf() with -fsplit-stack enabled.


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 :(


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]