Robert Young wrote:

Thomas you reply to is not set correctly so I am replying to my message
with you content.

"Thomas T. Veldhouse" wrote:

> Could be -fomit-frame-pointer


Does a P3 and up support debugging even without a frame pointer?
Maybe I am not reading this correctly but does this not mean that  -fomit-frame-pointer is already on for -O3.
 

from
http://freesoftware.ircam.fr/mirrors/planetccrma/man/man1/gcc.1.html

snip ...
 

OPTIMIZATION OPTIONS
       These options control various sorts of optimizations:

       -O

       -O1    Optimize.  Optimizing  compilation  takes  somewhat
              more  time, and a lot more memory for a large func­
              tion.

              Without `-O', the compiler's goal is to reduce  the
              cost  of  compilation and to make debugging produce
              the expected results.  Statements are  independent:
              if  you  stop the program with a breakpoint between
              statements, you can then assign a new value to  any
              variable or change the program counter to any other
              statement in the function and get exactly  the  re­
              sults you would expect from the source code.

              Without  `-O', only variables declared register are
              allocated in  registers.   The  resulting  compiled
              code is a little worse than produced by PCC without
              `-O'.

              With `-O', the compiler tries to reduce  code  size
              and execution time.

              When    you   specify   `-O',   the   two   options
              `-fthread-jumps' and `-fdefer-pop' are  turned  on.
              On  machines  that  have  delay  slots,  the `-fde­
              layed-branch' option is turned on.  For  those  ma­
              chines  that  can  support debugging even without a
              frame pointer, the `-fomit-frame-pointer' option is
              turned  on.   On some machines other flags may also
             be turned on.
..
snip
 
 

 
>
> ???

Yes it could but if I wanted to eliminate my CFLAGS as being the problem.
As far as I know the most stable is -O2 if this doesn't work than the
CFLAGS where not the problem.

If I knew that CFLAGS="-march=pentium3 -O3 -pipe" had been tested I would
have changed my CFLAGS to CFLAGS="-march=pentium3 -O3 -pipe" first instead
of  CFLAGS="-march=pentium3 -O2".
As it is as far as I now there is no guarantee so I am starting at -O2 and
may be looking at several recompiles after that as well.

>
>
> Tom Veldhouse
>
> ----- Original Message -----
> From: "Robert Young" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, August 08, 2003 11:39 AM
> Subject: [gentoo-user] If is doesn't compile with -O3 -pipe is that not
> a
> BUG?
>
> > Just a thought
> >
> > I submitted a bug against Mozilla
> > http://bugs.gentoo.org/show_bug.cgi?id=26068
> >
> > It seems to be because of my CFLAGS
> > CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
> >
> > I changed them to
> > CFLAGS="-march=pentium3 -O2
> >
> > and it seems to be working so far.
> >
> > My question is:
> >     Should it not be one of Gentoo's goals to make even optimized
> > systems stable.  info2flags on my computer would have produced
> > CFLAGS="-march=pentium3 -O3 -pipe"
> > I believe.
> >
> > This goes against what I keep seeing people say that only
> > CFLAGS="-march=pentium3 -O2"  would be stable.
> >
> > To be considered stable currently my understanding is that the ebuild
> > should not have a bug reported against it for so many days or week.
> > Could another requirement be added that is must be shown to be able to
>
> > compile against the architecture that it considered stable in at least
>
> > with "-march=pentium3 -O2" and  the flags produced by info2flags
> > "-march=pentium3 -O3 -pipe"  in my case?
> >
> > Thanks.
> >
> >
> >
> >
> > --
> > [EMAIL PROTECTED] mailing list
> >
> >

--
[EMAIL PROTECTED] mailing list

Reply via email to