Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
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
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
Spider wrote: begin quote On Fri, 08 Aug 2003 12:39:09 -0400 Robert Young [EMAIL PROTECTED] wrote: 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. Consider restoring it to the original settings and rebuild it. ICE is generally either a bug in the optimizations of the -gcc- (which is stripped away from optimizations since its known to break with them anyhow. Gcc is sensitive for them) -or- Hardware malfunction thats not redily reproduceable. This may include stressing the CPU a bit more than its used to, ram that looses bits at some places and parts of load, overheating in the summer warmth ;-( and other obscure things that you never really think about. (I've had a mobo which timed out some transmits during sustained high bus load, as in extreme RAM read/write actions. Which lead to silent drops and then errors. un.fun.) -O2 works I am now trying -march=pentium3 -O3 -pipe if that works I will try -march=pentium3 -O3 -pipe -fomit-frame-pointer again and assume the hardware or the gcc is a bit flaky //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end Part 1.2Type: application/pgp-signature -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer now work. I guess I need to be running mem check on this computer. Riyad Kalla wrote: Robert keep us updated, this is interesting to me to know the answer as well. Best, -Riyad Robert Young wrote: Spider wrote: begin quote On Fri, 08 Aug 2003 12:39:09 -0400 Robert Young [EMAIL PROTECTED] wrote: 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. Consider restoring it to the original settings and rebuild it. ICE is generally either a bug in the optimizations of the -gcc- (which is stripped away from optimizations since its known to break with them anyhow. Gcc is sensitive for them) -or- Hardware malfunction thats not redily reproduceable. This may include stressing the CPU a bit more than its used to, ram that looses bits at some places and parts of load, overheating in the summer warmth ;-( and other obscure things that you never really think about. (I've had a mobo which timed out some transmits during sustained high bus load, as in extreme RAM read/write actions. Which lead to silent drops and then errors. un.fun.) -O2 works I am now trying -march=pentium3 -O3 -pipe if that works I will try -march=pentium3 -O3 -pipe -fomit-frame-pointer again and assume the hardware or the gcc is a bit flaky //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end Part 1.2Type: application/pgp-signature -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
sigh that is frustrating... after all that work/time you don't know anymore about what caused the problem :( Robert Young wrote: CFLAGS=-march=pentium3 -O3 -pipe -fomit-frame-pointer now work. I guess I need to be running mem check on this computer. Riyad Kalla wrote: Robert keep us updated, this is interesting to me to know the answer as well. Best, -Riyad Robert Young wrote: Spider wrote: begin quote On Fri, 08 Aug 2003 12:39:09 -0400 Robert Young [EMAIL PROTECTED] wrote: 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. Consider restoring it to the original settings and rebuild it. ICE is generally either a bug in the optimizations of the -gcc- (which is stripped away from optimizations since its known to break with them anyhow. Gcc is sensitive for them) -or- Hardware malfunction thats not redily reproduceable. This may include stressing the CPU a bit more than its used to, ram that looses bits at some places and parts of load, overheating in the summer warmth ;-( and other obscure things that you never really think about. (I've had a mobo which timed out some transmits during sustained high bus load, as in extreme RAM read/write actions. Which lead to silent drops and then errors. un.fun.) -O2 works I am now trying -march=pentium3 -O3 -pipe if that works I will try -march=pentium3 -O3 -pipe -fomit-frame-pointer again and assume the hardware or the gcc is a bit flaky //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end Part 1.2Type: application/pgp-signature -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
Robert keep us updated, this is interesting to me to know the answer as well. Best, -Riyad Robert Young wrote: Spider wrote: begin quote On Fri, 08 Aug 2003 12:39:09 -0400 Robert Young [EMAIL PROTECTED] wrote: 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. Consider restoring it to the original settings and rebuild it. ICE is generally either a bug in the optimizations of the -gcc- (which is stripped away from optimizations since its known to break with them anyhow. Gcc is sensitive for them) -or- Hardware malfunction thats not redily reproduceable. This may include stressing the CPU a bit more than its used to, ram that looses bits at some places and parts of load, overheating in the summer warmth ;-( and other obscure things that you never really think about. (I've had a mobo which timed out some transmits during sustained high bus load, as in extreme RAM read/write actions. Which lead to silent drops and then errors. un.fun.) -O2 works I am now trying -march=pentium3 -O3 -pipe if that works I will try -march=pentium3 -O3 -pipe -fomit-frame-pointer again and assume the hardware or the gcc is a bit flaky //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end Part 1.2Type: application/pgp-signature -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
Riyad Kalla wrote: Robert keep us updated, this is interesting to me to know the answer as well. -O3 -pipe works now trying -march=pentium3 -O3 -pipe -fomit-frame-pointer maybe I should be running mem check if this succeeds. Best, -Riyad Robert Young wrote: Spider wrote: begin quote On Fri, 08 Aug 2003 12:39:09 -0400 Robert Young [EMAIL PROTECTED] wrote: 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. Consider restoring it to the original settings and rebuild it. ICE is generally either a bug in the optimizations of the -gcc- (which is stripped away from optimizations since its known to break with them anyhow. Gcc is sensitive for them) -or- Hardware malfunction thats not redily reproduceable. This may include stressing the CPU a bit more than its used to, ram that looses bits at some places and parts of load, overheating in the summer warmth ;-( and other obscure things that you never really think about. (I've had a mobo which timed out some transmits during sustained high bus load, as in extreme RAM read/write actions. Which lead to silent drops and then errors. un.fun.) -O2 works I am now trying -march=pentium3 -O3 -pipe if that works I will try -march=pentium3 -O3 -pipe -fomit-frame-pointer again and assume the hardware or the gcc is a bit flaky //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end Part 1.2Type: application/pgp-signature -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] If is doesn't compile with -O3 -pipe is that not a BUG?
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 ??? 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