Re: 6.0 and -O2 option

2005-08-31 Thread Chuck Swiger
Jim C. Nasby wrote: On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote: [ ... ] Simply because not every port works with -O2 optimisations. It caused bad code in some circumstances. Is there an automated way to identify those ports so they can be forced not to use -O higer than

Re: 6.0 and -O2 option

2005-08-31 Thread Jim C. Nasby
On Wed, Aug 31, 2005 at 10:57:05AM -0400, Chuck Swiger wrote: Jim C. Nasby wrote: On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote: [ ... ] Simply because not every port works with -O2 optimisations. It caused bad code in some circumstances. Is there an automated way to

Re: 6.0 and -O2 option

2005-08-31 Thread Martin Nilsson
Jim C. Nasby wrote: Even if the identification can't be done automatically, it still seems like it would be good to start identifying ports that don't support -O by hand, and having the ports force a correct -O setting. Most ports support -O2 (if not -O3), and it would be nice if people could

Re: 6.0 and -O2 option

2005-08-31 Thread Boris Samorodov
On Tue, 30 Aug 2005 12:41:37 +0400 Boris Samorodov wrote: On Sun, 28 Aug 2005 17:09:47 +0200 Rene Ladan wrote: On Sun, Aug 28, 2005 at 04:30:19PM +0400, Boris Samorodov wrote: As for 5.x notes about -O2 (libalias, gcc) were removed at revision 1.229.2.7 of

Re: 6.0 and -O2 option

2005-08-30 Thread Jim C. Nasby
On Tue, Aug 30, 2005 at 10:57:53AM +1000, Robert Backhaus wrote: Kernel and world seem to be ok with -O2, for ports it is not advised. Hi, I may have missed a thread or something (just let me know :) ) - why is -O2 not advised for ports on 6.0? cheers, Beto Simply because not

Re: 6.0 and -O2 option

2005-08-29 Thread Norberto Meijome
Rene Ladan wrote: On Sun, Aug 28, 2005 at 04:30:19PM +0400, Boris Samorodov wrote: Hi! As for 5.x notes about -O2 (libalias, gcc) were removed at revision 1.229.2.7 of /usr/src/share/examples/etc/make.conf. But for 6.0-BETA3 we do have these warnings. Should they be removed as for 5.x? Is it

Re: 6.0 and -O2 option

2005-08-29 Thread Robert Backhaus
Kernel and world seem to be ok with -O2, for ports it is not advised. Hi, I may have missed a thread or something (just let me know :) ) - why is -O2 not advised for ports on 6.0? cheers, Beto Simply because not every port works with -O2 optimisations. It caused bad code in some

6.0 and -O2 option

2005-08-28 Thread Boris Samorodov
Hi! As for 5.x notes about -O2 (libalias, gcc) were removed at revision 1.229.2.7 of /usr/src/share/examples/etc/make.conf. But for 6.0-BETA3 we do have these warnings. Should they be removed as for 5.x? Is it safe to use -O2 to build/install kernel, world, ports fro 6.0? WBR -- bsam

Re: 6.0 and -O2 option

2005-08-28 Thread Rene Ladan
On Sun, Aug 28, 2005 at 04:30:19PM +0400, Boris Samorodov wrote: Hi! As for 5.x notes about -O2 (libalias, gcc) were removed at revision 1.229.2.7 of /usr/src/share/examples/etc/make.conf. But for 6.0-BETA3 we do have these warnings. Should they be removed as for 5.x? Is it safe to use