Gentoo Archives: gentoo-user

From: Manuel McLure <manuel@××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] CFLAGS for both AMD64 and Intel?
Date: Tue, 05 Dec 2017 19:09:47
Message-Id: CAGJrxsQvDboiy=wfe2rTSn3g9qqPM1m4TnSMZsQYWgme5dhMZQ@mail.gmail.com
In Reply to: Re: [gentoo-user] CFLAGS for both AMD64 and Intel? by Walter Dnes
1 On Sun, Dec 3, 2017 at 12:08 AM, Walter Dnes <waltdnes@××××××××.org> wrote:
2
3 >
4 > https://gcc.gnu.org/onlinedocs/gcc-6.4.0/gcc/x86-Options.html#x86-Options
5 > lists what instruction sets gcc expects for any "-march=<whatever>"
6 >
7 > I would suggest rebuilding with...
8 >
9 > CFLAGS="-march=nocona -O2 -pipe"
10 > CPU_FLAGS_X86="mmx sse sse2 sse3"
11 >
12 > nocona was the first Intel cpu to support AMD64 instructions, and it's
13 > the newest Intel that does not exceed your AMD. The next Intel cpu, the
14 > "core2" supports ssse3 which your AMD does not (count the "s"'s... very
15 > carefully; sse3 != ssse3).
16 >
17 >
18 Thanks! I have successfully rebuilt the system with "-march=nocona -O2
19 -pipe" (and switched to gcc 6.4.0/profile 17 while I was at it) and
20 everything seems to be running fine. Hopefully I can pick up a micro-ATX
21 LGA1156 motherboard for cheap and can do the processor upgrade soon.
22
23 --
24 Manuel A. McLure WW1FA <manuel@××××××.org> <http://www.mclure.org>
25 ...for in Ulthar, according to an ancient and significant law,
26 no man may kill a cat. -- H.P. Lovecraft