[gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Sami Näätänen
So hi from a amd64 newbie. Not so newbie with Gentoo though. :) My system is an Intel quad core core2 with a 2.4 GHz clock speed coupled with a 4GB of memory. No overclocking etc. Want this to be stable. :) I'm just curious what people use as their stable CFLAGS in amd64 Gentoo? (Sorry if this

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Martin Herrman
On Tue, Dec 9, 2008 at 1:23 PM, Sami Näätänen [EMAIL PROTECTED] wrote: So hi from a amd64 newbie. Not so newbie with Gentoo though. :) My system is an Intel quad core core2 with a 2.4 GHz clock speed coupled with a 4GB of memory. No overclocking etc. Want this to be stable. :) I'm just

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Branko Badrljica
Martin Herrman wrote: On Tue, Dec 9, 2008 at 1:23 PM, Sami Näätänen [EMAIL PROTECTED] wrote: to /etc/portage/package.keywords. With 4.3.2 I use: CFLAGS=-march=native -O2 -pipe With only a small effort, you get most of the benefits. So fine-tuning to the edge will give you issues to solve

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Volker Armin Hemmann
On Dienstag 09 Dezember 2008, Sami Näätänen wrote: So hi from a amd64 newbie. Not so newbie with Gentoo though. :) My system is an Intel quad core core2 with a 2.4 GHz clock speed coupled with a 4GB of memory. No overclocking etc. Want this to be stable. :) I'm just curious what people use

[gentoo-amd64] Re: CFLAGS question from a AMD64 newbie

2008-12-09 Thread Duncan
Sami Näätänen [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Tue, 09 Dec 2008 14:23:30 +0200: My system is an Intel quad core core2 with a 2.4 GHz clock speed coupled with a 4GB of memory. No overclocking etc. Want this to be stable. :) I'm just curious what people use as

Re: [gentoo-amd64] Re: CFLAGS question from a AMD64 newbie

2008-12-09 Thread Branko Badrljica
Duncan wrote: Well, you say you want stable, but then say you use ~arch, so I see you're not too stick in the mud. =:^) Here's mine, for a dual Opteron 290: CFLAGS=-march=opteron-sse3 -pipe -O2 -frename-registers -fweb -fmerge- all-constants -fgcse-sm -fgcse-las -fgcse-after-reload

[gentoo-amd64] Re: system broken?

2008-12-09 Thread Duncan
Martin Herrman [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Tue, 09 Dec 2008 15:05:36 +0100: What has happened? What to do next? Most of those errors seem to be portage itself choking. I just did an update here and had a python remerge due to new USE flag (2.5.2-r8, I'm

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Sami Näätänen
On Tuesday 09 December 2008 15:28:21 Volker Armin Hemmann wrote: On Dienstag 09 Dezember 2008, Sami Näätänen wrote: So hi from a amd64 newbie. Not so newbie with Gentoo though. :) Well sorry to not give a more details. I'm not a newbie in Gentoo just in the amd64 side of things. Ie no

Re: [gentoo-amd64] Re: CFLAGS question from a AMD64 newbie

2008-12-09 Thread Sami Näätänen
On Tuesday 09 December 2008 18:07:38 Duncan wrote: Sami Näätänen [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Tue, 09 Dec 2008 14:23:30 +0200: My system is an Intel quad core core2 with a 2.4 GHz clock speed coupled with a 4GB of memory. No overclocking etc. Want this

Re: [gentoo-amd64] Re: system broken?

2008-12-09 Thread Richard Freeman
Martin Herrman wrote: Of course (using Gentoo now for a month or so), I don't have buildpkg in my config. So I used the manual on the URL you provided. It says that one should emerge portage first to get a correct system first. But when I do that, I get an error: Yeah - once you break it you

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Branko Badrljica
Sami Näätänen wrote: SNIP about -ftree-vectorize For example: float a[4]; float b[4]; SNIPped the rest of example Nice one. And probably with stellar speedup, since bunch of code gets replaced with one or two SSE instructions. But how relevant is it in real life examples ?

Re: [gentoo-amd64] CFLAGS question from a AMD64 newbie

2008-12-09 Thread Volker Armin Hemmann
On Dienstag 09 Dezember 2008, Sami Näätänen wrote: Was this a 64bit system? yes also, most ebuilds don't filter march.

[gentoo-amd64] Curious thing- linking against .so libs...

2008-12-09 Thread Branko Badrljica
I was trying to install nVidia's CUDA SDK for toying with GPU as computing tool, but I soon found out that I can't compile anything. I always get error's like can't find -lGL etc from compiler. So I took a look where LIBPATHetc were set and everything seemed fine. After that, I tried with

[gentoo-amd64] Re: CFLAGS question from a AMD64 newbie

2008-12-09 Thread Duncan
Sami Näätänen [EMAIL PROTECTED] posted [EMAIL PROTECTED], excerpted below, on Tue, 09 Dec 2008 22:34:39 +0200: Eah I have 3GB tmpfs for /var/tmp/paludis and 1GB tmpfs for /tmp to speed things up in normal operation. And as memory seems to be quite cheap I might change to 8GB. After all there

[gentoo-amd64] Re: Curious thing- linking against .so libs...

2008-12-09 Thread Nikos Chantziaras
Branko Badrljica wrote: gcc -O2 -m32 -march=barcelona -pipe -L/usr/lib64 -lgdgeda -o tt tt.c (libgdgeda has just .so ) -m32 generates 32-bit code. /usr/lib64 is only for 64-bit binaries. Don't use -m32.