Gentoo Archives: gentoo-user

From: Statux <statux@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] WHAT IS Gentoo architecture for Pentium4 Prescott-2M
Date: Tue, 19 Dec 2006 03:49:03
Message-Id: 1166499882.7792.32.camel@statux.kicks-ass.net
In Reply to: Re: [gentoo-user] WHAT IS Gentoo architecture for Pentium4 Prescott-2M by Andrew Gaydenko
1 On Mon, 2006-12-18 at 10:58 +0300, Andrew Gaydenko wrote:
2 > Statux,
3 >
4 > Thanks!
5 >
6 > ======= On Monday 18 December 2006 02:44, Statux wrote: =======
7 > ...
8 > >If you want to use EM64T, it's amd64 and -march=nocona in the CFLAGS.
9 >
10 > But If I don't want to use EMT64 but have CPU with EM64T (say, it is
11 > Pentium D) - am I forced to use 'amd64' artch? Or - can I use 'x86' with
12 > such 64-bit CPU? - all will work as "normal" 32-bit system, when
13 > '-march=prescott' is selected. Is it so? And as for, say, Pentium D 925,
14 > it has 'Presler' cores rather 'Prescott-2M' for Pentium4 630.
15
16 Quoted from the Gentoo Wiki:
17
18 Pentium D 8xx / 9xx
19 vendor_id : GenuineIntel
20 cpu family : 15
21 model : 4
22 model name : Intel(R) Pentium(R) D CPU x.xxGHz
23 cpu cores : 2
24
25 Note: Because of the EM64T support, the Gentoo architecture for this
26 chip is amd64. Warning: With this processor mysql 5 is completely broken
27 using -march=amd64. Make sure you use -march=nocona. TODO: Could
28 somebody please check the 9xx cpuinfo is identical to the 8xx cpuinfo?
29 Append: my 9xx registers model 6 not model 4. It also has syscall
30 instead of pbe. It has constant_tsc and lahf_lm. It's missing est.
31
32 Note: For those who don't need the Intel's 64-bit extension(EM64T), just
33 use the Pentium4(Prescott) flags with MAKEOPTS="-j3" which is on desktop
34 in most of the cases the better choice *and* use
35 CHOST="i686-pc-linux-gnu" (for a strictly 32-bit environment).
36
37 CHOST="x86_64-pc-linux-gnu"
38 CFLAGS="-march=nocona -O2 -pipe"
39 CXXFLAGS="${CFLAGS}"
40 MAKEOPTS="-j3"
41
42 ---
43
44 However, I had always been told to not use x86_64 (CHOST) unless it was
45 an Itanium. (Can anyone else add to this?).
46
47 EM64T should always use nocona in the CFLAGS for 64bit.
48
49 Anyway, make sure you pick the correct install/live cd during install.
50 x86 for 32bit and amd64 for 64bit (or even x86_64 if that will end up
51 being your CHOST but I'd stick with amd64 and not use anything x86_64,
52 personally, as you don't have an Itanium).
53
54 > Sorry for these question - I have tried to dig in the problem, but all
55 > silently suppose I must already know something :-)
56 >
57 >
58 > Andrew
59 --
60 Statux <statux@×××××××××.net>

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-user] WHAT IS Gentoo architecture for Pentium4 Prescott-2M "Boyd Stephen Smith Jr." <bss03@××××××××××.net>