Re: [gentoo-user] Re: USE flags for amd64 (running in 32 bit)

2006-05-17 Thread Boyd Stephen Smith Jr.
On Tuesday 16 May 2006 16:18, John Jolet [EMAIL PROTECTED] wrote about 'Re: 
[gentoo-user]  Re: USE flags for amd64 (running in 32 bit)':
 maybe that was my misunderstading..on a brand-new opteron 64-bit...the
 architecture use flag i use is k8.  I see no real reason to run 32-bit
 gentoo on a 64-bit box...64-bit support in gentoo was why we switched
 distros when we switched to 64-bit servers.  my -march is k8 for those
 boxes.

If you are using an honest-to-goodness Opteron, and a relatively recent 
gcc, you should be using -march=opteron, as I am, unless you build binary 
packages to install on non-Opteron systems.

Opteron = MMX, MMX2, SSE, SSE2, SSE3, 3dNow!, 3dNow! something else, plus 
scheduling optimizations for Opteron and maybe some other things I'm not 
remembering. 

-- 
If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability.
-- Gentoo Developer Ciaran McCreesh


pgpw7dirb0JSU.pgp
Description: PGP signature


[gentoo-user] Re: USE flags for amd64 (running in 32 bit)

2006-05-16 Thread Harry Putnam
John Jolet [EMAIL PROTECTED] writes:

 Harry Putnam wrote:
 
 I'm running 32bit gentoo on an amd athlon64 would the architeture USE
 flag still be ~x86? or something else?
 
 
 k8
 -- 

Sorry to be a pest on this, but I was unable to verify this
information on a google of  site:gentoo.org ACCEPT_KEYWORDS k8

In fact there seems to be a fair bit of confusion on this.
I suspect my /etc/make.conf is wrong in several ways.

First let me explain:  I switched computers due to my main linux box
giving up the ghost.  I grabbed an athlon64 +3400 running winxp and
pirated it for my main gentoo desktop.

I switched over lots of stuff from the salvaged HDDs to the athlon.
Not sure now what I may have edited into /etc/make.conf.  Somehow I
still got some amd stuff in it.  probably from a 'from scratch
install' using a stage.

Anyway cutting to the chase I have this in there, I added everthing
below ALSA_CARDS I think:
==
# These settings were set by the catalyst build script that automatically built 
this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=-Os -march=athlon-xp -pipe
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}
ALSA_CARDS=via82xx
GENTOO_MIRRORS=ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
http://gentoo.cs.lewisu.edu/gentoo/;
ACCEPT_KEYWORDS=~x86
USE=samba smb mysql symlinks kde qt dvd alsa cdr emacs 
xinerama mbox apache2 hal logrotate objc gcj sasl 
vmmouse wacom radeon tga vesa vga via vmware nptl 
nptlonly -ipv6 -imap -maildir  -gnome

===

Note that I am NOT running 64bit gentoo but 32bit gentoo on this
athlon64.

It shows architecture as athlon xp which it is not.  That is also 64
bit but from what I understand is still different than athlon64.
The xp mobos etc are cheaper, and not socket 754 I don't think.

Mine is socket 754 with K8V mobo chipset K8T800.  I'm guessing that is
where the `k8' comes from.

I've been running with above make.conf with no (noticed) problems for
about 2 mnths.  But now updating so would like to get it right.

So do you know if:
  CFLAGS=-Os -march=athlon-xp -pipe  
is wrong?

And if I wanted to run ACCEPT_KEYWORDS=~XXX keeping in mind I'm not
running 64bit gentoo, what would the `XXX' be?

/proc/cpuinfo below:

processor   : 0
vendor_id   : AuthenticAMD
cpu family  : 15
model   : 4
model name  : AMD Athlon(tm) 64 Processor 3400+
stepping: 8
cpu MHz : 2255.376
cache size  : 1024 KB
fdiv_bug: no
hlt_bug : no
f00f_bug: no
coma_bug: no
fpu : yes
fpu_exception   : yes
cpuid level : 1
wp  : yes
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov 
pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext lm 3dnowext 3dnow
bogomips: 4516.25


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: USE flags for amd64 (running in 32 bit)

2006-05-16 Thread John Jolet

Harry Putnam wrote:


John Jolet [EMAIL PROTECTED] writes:

 


Harry Putnam wrote:

   


I'm running 32bit gentoo on an amd athlon64 would the architeture USE
flag still be ~x86? or something else?


 


k8
--
   



Sorry to be a pest on this, but I was unable to verify this
information on a google of  site:gentoo.org ACCEPT_KEYWORDS k8

In fact there seems to be a fair bit of confusion on this.
I suspect my /etc/make.conf is wrong in several ways.

First let me explain:  I switched computers due to my main linux box
giving up the ghost.  I grabbed an athlon64 +3400 running winxp and
pirated it for my main gentoo desktop.

I switched over lots of stuff from the salvaged HDDs to the athlon.
Not sure now what I may have edited into /etc/make.conf.  Somehow I
still got some amd stuff in it.  probably from a 'from scratch
install' using a stage.

Anyway cutting to the chase I have this in there, I added everthing
below ALSA_CARDS I think:
==
# These settings were set by the catalyst build script that automatically built 
this stage
# Please consult /etc/make.conf.example for a more detailed example
CFLAGS=-Os -march=athlon-xp -pipe
CHOST=i686-pc-linux-gnu
CXXFLAGS=${CFLAGS}
ALSA_CARDS=via82xx
GENTOO_MIRRORS=ftp://ftp.ussg.iu.edu/pub/linux/gentoo 
http://gentoo.cs.lewisu.edu/gentoo/;
ACCEPT_KEYWORDS=~x86
USE=samba smb mysql symlinks kde qt dvd alsa cdr emacs 
   xinerama mbox apache2 hal logrotate objc gcj sasl 
   vmmouse wacom radeon tga vesa vga via vmware nptl 
   nptlonly -ipv6 -imap -maildir  -gnome


===

Note that I am NOT running 64bit gentoo but 32bit gentoo on this
athlon64.

It shows architecture as athlon xp which it is not.  That is also 64
bit but from what I understand is still different than athlon64.
The xp mobos etc are cheaper, and not socket 754 I don't think.

Mine is socket 754 with K8V mobo chipset K8T800.  I'm guessing that is
where the `k8' comes from.

I've been running with above make.conf with no (noticed) problems for
about 2 mnths.  But now updating so would like to get it right.

So do you know if:
 CFLAGS=-Os -march=athlon-xp -pipe  
is wrong?


And if I wanted to run ACCEPT_KEYWORDS=~XXX keeping in mind I'm not
running 64bit gentoo, what would the `XXX' be?

 

maybe that was my misunderstading..on a brand-new opteron 64-bit...the 
architecture use flag i use is k8.  I see no real reason to run 32-bit 
gentoo on a 64-bit box...64-bit support in gentoo was why we switched 
distros when we switched to 64-bit servers.  my -march is k8 for those 
boxes.  again, that's with a 64-bit opteron...if you're running 
something else, you might need a different flag.  i believe, to your 
last question, it would still be i386.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: USE flags for amd64 (running in 32 bit)

2006-05-16 Thread James Ausmus

maybe that was my misunderstading..on a brand-new opteron 64-bit...the
architecture use flag i use is k8.  I see no real reason to run 32-bit
gentoo on a 64-bit box...64-bit support in gentoo was why we switched
distros when we switched to 64-bit servers.  my -march is k8 for those
boxes.  again, that's with a 64-bit opteron...if you're running
something else, you might need a different flag.  i believe, to your
last question, it would still be i386.


OK, to cut short the confusion, Harry, your march setting in your
CFLAGS should be k8, and the ACCEPT_KEYWORDS should be either x86, or
~x86, depending on if you want to run stable.

HTH-

James

--
gentoo-user@gentoo.org mailing list



[gentoo-user] Re: USE flags for amd64 (running in 32 bit)

2006-05-16 Thread Harry Putnam
James Ausmus [EMAIL PROTECTED] writes:

 OK, to cut short the confusion, Harry, your march setting in your
 CFLAGS should be k8, and the ACCEPT_KEYWORDS should be either x86, or
 ~x86, depending on if you want to run stable.

Thank you James.

I was beginning to wonder if those settings were involved in the glibc
problem you were helping with in another thread.

Do you mind pointing me to the source of that answer?

Also, I'm wondering if when I change the march setting to k8 in the
mindle of an update world what that might do.

It may be a good time to do it but I wonder if I need to do anything
to already compiled updates.

-- 
gentoo-user@gentoo.org mailing list