[gentoo-user] -Os = Nono? (was: gcc 4.2 and Core 2 Duo)

2007-07-23 Thread Alexander Skwar
Volker Armin Hemmann [EMAIL PROTECTED] wrote: And then Os. That is a big nono. Why's that? Alexander Skwar -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] -Os = Nono? (was: gcc 4.2 and Core 2 Duo)

2007-07-23 Thread Volker Armin Hemmann
On Montag, 23. Juli 2007, Alexander Skwar wrote: Volker Armin Hemmann [EMAIL PROTECTED] wrote: And then Os. That is a big nono. Why's that? Alexander Skwar because several gcc have compiled crap with that flag in the past? -- [EMAIL PROTECTED] mailing list

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Kenneth Prugh
Volker Armin Hemmann wrote: On Montag, 23. Juli 2007, Alexander Skwar wrote: Volker Armin Hemmann [EMAIL PROTECTED] wrote: And then Os. That is a big nono. Why's that? Alexander Skwar because several gcc have compiled crap with that flag in the past? That was the past, -Os generally

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Mike Edenfield
Kenneth Prugh wrote: Volker Armin Hemmann wrote: On Montag, 23. Juli 2007, Alexander Skwar wrote: Volker Armin Hemmann [EMAIL PROTECTED] wrote: And then Os. That is a big nono. Why's that? Alexander Skwar because several gcc have compiled crap with that flag in the past? That was the

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Benno Schulenberg
Mike Edenfield wrote: More importantly, -O2 seems to be the typical optimization setting, and almost all free software packages are built and tested and generally supported, for whatever that means in an open-source world, under -O2. If you report a bug in a package and you use -Os, the first

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Zsitvai János
Hi, Have you actually measured the gain? Emerge some thing with Os, qsize the package, emerge it with O2, qsize again? I went back to O2 from Os when it became apparent that the resulting binaries were actually _larger_. On every single package I tried. Zsitvai János -- [EMAIL PROTECTED]

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Mike Edenfield
Benno Schulenberg wrote: Although I agree with your reasoning above, you are contradicting yourself in the following two statements: At least, it's no more broken under -Os than under -O2. [...] benefits of using -Os over -O2 are minimal compared against the possible problems it might

Re: [gentoo-user] -Os = Nono?

2007-07-23 Thread Volker Armin Hemmann
On Montag, 23. Juli 2007, Kenneth Prugh wrote: Volker Armin Hemmann wrote: On Montag, 23. Juli 2007, Alexander Skwar wrote: Volker Armin Hemmann [EMAIL PROTECTED] wrote: And then Os. That is a big nono. Why's that? Alexander Skwar because several gcc have compiled crap with that