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]

Re: -fomit-frame-pointer is evil


On Fri, Dec 28, 2001 at 02:56:34PM +0300, root wrote:
>             Hello there guys,
>    seems like i`ve narrowed down the cause of gcc build failure
>    the difference between CFLAGS="-Os -pipe -fomit-frame-pointer"
>    and "-Os -pipe" seems to kill gcc build on unwind-dw2.c due
>    to segfault on the second stage.
>       this is all about gcc-3.0.3
> 
> regards, Samium Gromoff

I once reported a problem a-like and narrowed that
down to the combination of -fdefer-pop -fomit-frame-pointer
Can you check if your problem also is caused by
that combination?  Thus, use
CFLAGS="-pipe -fdefer-pop -fomit-frame-pointer"

It might still be the same problem - that never was fixed.

-- 
Carlo Wood <carlo@alinoe.com>


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