Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Daniel Iliev
Bo Ørsted Andresen wrote: > On Wednesday 11 April 2007 12:56:43 Daniel Iliev wrote: > >> Sorry, I don't get it. Perhaps it is my poor English but I couldn't >> understand two things: >> - Is -O3 supported by Gentoo or not? >> > > -O3 is supported by Gentoo. > > >> - What's the special

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Francisco Rivas
Hi all.. I think what -O3 is not _dangerous_ when you know how to use, a few posts ago someone mentioned not all of packages can be compiled using -O3, if I am not wrong was GCC and OpenOffice.org. The thing is: -O3 is not a _damage_ is an carefully flag to compile for some packages.. In some w

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Bo Ørsted Andresen
On Wednesday 11 April 2007 12:56:43 Daniel Iliev wrote: > Sorry, I don't get it. Perhaps it is my poor English but I couldn't > understand two things: > - Is -O3 supported by Gentoo or not? -O3 is supported by Gentoo. > - What's the special thing about Gentoo ebuilds that makes -O3 dangerous?

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Davi
Em Quarta 11 Abril 2007 07:56, Daniel Iliev escreveu: > Sorry, I don't get it. Perhaps it is my poor English but I couldn't > understand two things: > - Is -O3 supported by Gentoo or not? Yes. > - What's the special thing about Gentoo ebuilds that makes -O3 dangerous? Nothing. O3 isn't dangero

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Daniel Iliev
Bo Ørsted Andresen wrote: > On Wednesday 11 April 2007 11:39:50 Daniel Iliev wrote: > >> Exactly what kind of damage are you talking about? Don't you think if >> there was a real problem with -O3, gentoo devs would have excluded it as >> an option, especially when they have an easy to apply mech

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Bo Ørsted Andresen
On Wednesday 11 April 2007 11:39:50 Daniel Iliev wrote: > Exactly what kind of damage are you talking about? Don't you think if > there was a real problem with -O3, gentoo devs would have excluded it as > an option, especially when they have an easy to apply mechanism for > doing that (I have in mi

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-11 Thread Daniel Iliev
maxim wexler wrote: > > Too late. Damage done. I decided to go with the > example make.conf which call the O3 level "decent". > >> -- >> gentoo-user@gentoo.org mailing list >> >> >> Exactly what kind of damage are you talking about? Don't you think if there was a real problem with -O3, g

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Davi
Em Terça 10 Abril 2007 19:03, Ryan Sims escreveu: > On 4/10/07, Davi <[EMAIL PROTECTED]> wrote: > > Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: > > > El Tue, 10 Apr 2007 17:08:40 -0300 > > > > > > Davi <[EMAIL PROTECTED]> escribió: > > > > Em Terça 10 Abril 2007 16:56, Jesús Guerrero esc

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Ryan Sims
On 4/10/07, Davi <[EMAIL PROTECTED]> wrote: Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: > El Tue, 10 Apr 2007 17:08:40 -0300 > > Davi <[EMAIL PROTECTED]> escribió: > > Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: > > ** Thinking: rebuild all = all packages = kde + Xorg + glib

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Dan Farrell
On Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem <[EMAIL PROTECTED]> wrote: > O3 binaries are larger than O2 binaries but not that much. So if you > are about to be out of HD space with O3 binaries you will soon be out > of it with O2 binaries as well. You will need more HD space either > way. > > Th

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Uwe Thiem
On 10 April 2007, Jesús Guerrero wrote: > El Tue, 10 Apr 2007 20:45:04 +0100 > > Uwe Thiem <[EMAIL PROTECTED]> escribió: > > > How can I rebuild my system with O2?? =P > > > > > > I've configured my system with O3 and the HD space is going out... > > > =P > > > > O3 binaries are larger than O2 bina

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Davi
Em Terça 10 Abril 2007 17:15, Jesús Guerrero escreveu: > El Tue, 10 Apr 2007 17:08:40 -0300 > > Davi <[EMAIL PROTECTED]> escribió: > > Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: > > > No, --newuse is for use flags. He need to rebuild ALL the packages. > > > So, "emerge --emptytree world

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Jesús Guerrero
El Tue, 10 Apr 2007 17:08:40 -0300 Davi <[EMAIL PROTECTED]> escribió: > Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: > > No, --newuse is for use flags. He need to rebuild ALL the packages. > > So, "emerge --emptytree world" would do. > > > ** Thinking: rebuild all = all packages = kde

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Davi
Em Terça 10 Abril 2007 16:56, Jesús Guerrero escreveu: > No, --newuse is for use flags. He need to rebuild ALL the packages. So, > "emerge --emptytree world" would do. ** Thinking: rebuild all = all packages = kde + Xorg + glibc + OOo + ... Humm... ** Well... I'm _very_ fine with -O3 flag... u.

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Jesús Guerrero
El Tue, 10 Apr 2007 20:45:04 +0100 Uwe Thiem <[EMAIL PROTECTED]> escribió: > > > > How can I rebuild my system with O2?? =P > > > > I've configured my system with O3 and the HD space is going out... > > =P > > O3 binaries are larger than O2 binaries but not that much. So if you > are about to be

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Renat Golubchyk
On Tue, 10 Apr 2007 16:10:40 -0300 Davi <[EMAIL PROTECTED]> wrote: > How can I rebuild my system with O2?? =P > > I've configured my system with O3 and the HD space is going out... =P Change your CFLAGS to have -O2 instead of -O3 and then run "emerge -e world". If you don't have enough space then

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Bo Ørsted Andresen
On Tuesday 10 April 2007 21:45:04 Uwe Thiem wrote: > That said, you can rebuild your system to be O2 by editing /etc/make.conf > (O3 -> O2) and the "--newuse" option for emerge. I don't think it's worth > it. ;-) You mean --emptytree. -- Bo Andresen pgpe55VrkhfAo.pgp Description: PGP signature

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Uwe Thiem
On 10 April 2007, Davi wrote: > Em Terça 10 Abril 2007 16:01, Francisco Rivas escreveu: > > Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I > > believe yes. Actually all the people in the forum learn the lesson... > > > > For the nex time remember use O2 :D > > I hope the d

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Uwe Thiem
On 10 April 2007, maxim wexler wrote: > --- Andrey Vul <[EMAIL PROTECTED]> wrote: > > don't use -O3 unless you need _extreme_ performance > > -O2 -finline-functions is close to -O3 but doesn't > > use -fno-home-register > > For toolchain, I just stick to -O2. For power-hungry > > apps, I use -O2 >

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Davi
Em Terça 10 Abril 2007 16:01, Francisco Rivas escreveu: > Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I > believe yes. Actually all the people in the forum learn the lesson... > > For the nex time remember use O2 :D > I hope the damage was not horrible.. and you can recov

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Francisco Rivas
Hi all.. Oh god.. well damage done, but you learn the lesson rigth?.. I believe yes. Actually all the people in the forum learn the lesson... For the nex time remember use O2 :D I hope the damage was not horrible.. and you can recover all losted. On 4/10/07, maxim wexler <[EMAIL PROTECTED]> wrot

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread maxim wexler
--- Andrey Vul <[EMAIL PROTECTED]> wrote: > don't use -O3 unless you need _extreme_ performance > -O2 -finline-functions is close to -O3 but doesn't > use -fno-home-register > For toolchain, I just stick to -O2. For power-hungry > apps, I use -O2 > -finline-functions > glibc developer said that i

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Andrey Vul
don't use -O3 unless you need _extreme_ performance -O2 -finline-functions is close to -O3 but doesn't use -fno-home-register For toolchain, I just stick to -O2. For power-hungry apps, I use -O2 -finline-functions glibc developer said that inlining with gcc 4.2 screws up code, so on the safe side,

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Tony Stohne
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Francisco Rivas said the following on 2007-04-10 17:29: | ... | Certainly some package have a maximun optimisation. I really believe, | the optimisation level is a very interesting thing bucause all depend of | what you need and you have all power of

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Jesús Guerrero
El Tue, 10 Apr 2007 07:29:26 -0700 (PDT) maxim wexler <[EMAIL PROTECTED]> escribió: > > --- Francisco Rivas <[EMAIL PROTECTED]> wrote: > > > Hi all :D > > > > I think what "-march=your_arch -O2" it's enough, > > because -O3 it's highest > > but have some details > > (http://gentoo-wiki.com/CFLA

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Francisco Rivas
Hi all.. Certainly some package have a maximun optimisation. I really believe, the optimisation level is a very interesting thing bucause all depend of what you need and you have all power of your system, only gentoo can give you that. it's very good to see a server compiling most of the applica

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Bo Ørsted Andresen
On Tuesday 10 April 2007 16:58:47 Uwe Thiem wrote: > On 10 April 2007, maxim wexler wrote: > > Interesting. Just completed emerge -uvDN world using > > the "-03 -pipe" cflags in make.conf for the PIII arch. > > I noticed as the output scrolled by that the flags I > > set were being used for all pac

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread Uwe Thiem
On 10 April 2007, maxim wexler wrote: > Interesting. Just completed emerge -uvDN world using > the "-03 -pipe" cflags in make.conf for the PIII arch. > I noticed as the output scrolled by that the flags I > set were being used for all packages *except* gcc > which used "-02 -pipe". Some packages

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-10 Thread maxim wexler
--- Francisco Rivas <[EMAIL PROTECTED]> wrote: > Hi all :D > > I think what "-march=your_arch -O2" it's enough, > because -O3 it's highest > but have some details > (http://gentoo-wiki.com/CFLAGS#-O2_or_-O3.3F). My > guess is "-march=your_arch > -O2". I was compiled my entire system with those >

Re: [gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-09 Thread Francisco Rivas
Hi all :D I think what "-march=your_arch -O2" it's enough, because -O3 it's highest but have some details (http://gentoo-wiki.com/CFLAGS#-O2_or_-O3.3F). My guess is "-march=your_arch -O2". I was compiled my entire system with those flags and my applications no matter which have a very good functi

[gentoo-user] Re: CFLAGS "...-O3 -pipe" vs "...O2 "

2007-04-09 Thread Alexander Skwar
· maxim wexler <[EMAIL PROTECTED]>: > One suggests using -O3 -pipe, the other, -O2 without > the pipe. The resulting binaries of a -O2 -pipe compile will be the same as those of a -O2 (no pipe) compile. See http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Overall-Options.html#index-pipe-81 > How m