1 |
On Tue, 2007-09-18 at 18:56 -0500, Albert Hopkins wrote: |
2 |
[...] |
3 |
> I think i'm going to have to use gdb (yeck) and |
4 |
> step through the program. |
5 |
|
6 |
Well, I hate to sound like a ricer, but apparently it's my CFLAGS :| |
7 |
|
8 |
CFLAGS="-O2 -march=k8 -msse3 -ggdb -pipe -fomit-frame-pointer" |
9 |
|
10 |
I have an Athlon 64 X2, and according to the Gentoo Wiki my CFLAGS are |
11 |
safe. My CPU supports SSE3 (according to /proc/cpuinfo). Oddly enough, |
12 |
I tried taking out -msse3 but no-go. I've tried a few permutations of |
13 |
those flags, but the only way I was able to get it to work is to take |
14 |
out "-O2" (even *just* having CFLAGS="-O2" doesn't work). So now the |
15 |
question is: |
16 |
|
17 |
GCC bug?[1] |
18 |
CPU bug?[2] |
19 |
Wiki bug?[3] |
20 |
|
21 |
Anyway I just wanted to thank everyone who collectively scratched their |
22 |
heads with me :-) |
23 |
|
24 |
1. GCC 4.2.0 |
25 |
2. AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ |
26 |
3. http://gentoo-wiki.com/Safe_Cflags#Athlon_64_X2_.28AMD.29 |
27 |
|
28 |
|
29 |
-- |
30 |
Albert W. Hopkins |
31 |
|
32 |
-- |
33 |
gentoo-user@g.o mailing list |