public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] revdep-rebuild (gawk) issues
  @ 2012-05-29 21:37 99%       ` Rafa Griman
  0 siblings, 0 replies; 1+ results
From: Rafa Griman @ 2012-05-29 21:37 UTC (permalink / raw
  To: gentoo-user

On Tue, May 29, 2012 at 11:09 PM, Alan McKinnon <alan.mckinnon@gmail.com> wrote:
> On Tue, 29 May 2012 22:56:07 +0200
> Rafa Griman <rafagriman@gmail.com> wrote:
>
>> Hi Vaeth :)
>>
>> On Tue, May 29, 2012 at 7:02 PM, Vaeth
>> <vaeth@mathematik.uni-wuerzburg.de> wrote:
>> > On Tue, 29 May 2012, Rafa Griman wrote:
>> >>
>> >> gawk: cmd. line:3: error: Unmatched [ or [^: /[^[:space:]]/
>> >
>> >
>> > Your gawk is broken. This happens if you emerged gawk with
>> > current gcc and aggressive FLAGS like -DNDEBUG or -flto.
>> > Not sure whether it is a bug of gawk or gcc.
>>
>>
>> So it seems to be the CFLAGS :( As I said in my previous e-mail, I was
>> "experimenting" a bit with them ... I'll be more conservative ;)
>
> Well, on the one hand the flags don;t seem to be too bad overall, but
> on the other hand there's the golden rule of Gentoo:
>
> Don't stuff around with CFLAGS
>
> Why not? Well, there's the ricer phenomenon where changed CFLAGS
> worsen performance and stability but the user's own bias convinces
> him/her that it's actually vastly improved.


I know that rule and tried not to be too agressive but seems I was O:)
Since it's not my min machine, I was going to experiment (nothing
"scientific", just curiosity) trying different options on different
partitions and see how they work out.


> Some tweaks are perfectly OK, like the multimedia and cpu-specific
> stuff (sse, mmx and all their related cousins). These are normally safe
> and can give huge gains with video playback. Likewise for the GPU tweaks
> once those hit mainline usage.


That was mainly the reason: video playback and some other apps
(scientific). But nothing serious.


> One last tweak, if the code is built on the machine that will run it
> (the usual case, replace -march and -mtune with just "-march=native".
> It has exactly the same effect but is easier to read, is
> self-documenting and allows the compiler to attempt it's best (the
> compiler usually does know much better what to do than you do)

I totally agree with you: the compiler knos better ;)

TIA

   Rafa



^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
     [not found]     <j6uYa-sw-27@gated-at.bofh.it>
2012-05-29 17:02     ` [gentoo-user] revdep-rebuild (gawk) issues Vaeth
2012-05-29 20:56       ` Rafa Griman
2012-05-29 21:09         ` Alan McKinnon
2012-05-29 21:37 99%       ` Rafa Griman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox