Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo-AMD64 on Intel EM64T?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
RobDaemon
n00b
n00b


Joined: 16 Apr 2003
Posts: 14

PostPosted: Mon Sep 20, 2004 5:17 pm    Post subject: Gentoo-AMD64 on Intel EM64T? Reply with quote

Has anyone set up an EM64T box running Gentoo yet (in 64bit mode)?

I've set my CFLAGS to: "-O2 -march=athlon64 -mno-3dnow -mfpmath=sse -m64" and I have multilib in my USE flags.

Now starting the bootstrap, wish me luck! :)
Back to top
View user's profile Send private message
codergeek42
Bodhisattva
Bodhisattva


Joined: 05 Apr 2004
Posts: 5142
Location: Anaheim, CA (USA)

PostPosted: Mon Sep 20, 2004 5:31 pm    Post subject: Reply with quote

I was under the impression that -m64 was not needed and may break things...
_________________
~~ Peter: Programmer, Mathematician, STEM & Free Software Advocate, Enlightened Agent, Transhumanist, Fedora contributor
Who am I? :: EFF & FSF
Back to top
View user's profile Send private message
RobDaemon
n00b
n00b


Joined: 16 Apr 2003
Posts: 14

PostPosted: Mon Sep 20, 2004 5:48 pm    Post subject: Reply with quote

codergeek42 wrote:
I was under the impression that -m64 was not needed and may break things...


I hadn't seen that. Thanks for the tip, I removed it and restarted my bootstrap (luckily i hadn't started compiling anything yet, I was only on the fetch portion)
Back to top
View user's profile Send private message
RobDaemon
n00b
n00b


Joined: 16 Apr 2003
Posts: 14

PostPosted: Tue Sep 21, 2004 2:55 pm    Post subject: Reply with quote

System is up and running fine, and quite fast, I might add! I used the following CFLAGS, and made sure USE="multilib"

CFLAGS="-O2 -march=athlon64 -fomit-frame-pointer -pipe -funroll-loops -mno-3dnow -mfpmath=sse"

Things of note when using Intel hardware:

* The Blackdown JDK does not work on Intel hardware - it's using the 3DNow! prefetch instructions, which are not present on EM64T. The same goes for Sun's JDK 1.5.0-rc.

Not specific to x86_64:

* Don't put perl in your USE flags during bootstrap. You end up with a cyclic dependency and perl doesn't get compiled (I believe it was db-4.1.x that caused it)
Back to top
View user's profile Send private message
Lv
Retired Dev
Retired Dev


Joined: 22 Jun 2003
Posts: 352

PostPosted: Thu Sep 23, 2004 1:38 am    Post subject: Reply with quote

erm... -march=nocona should be what you really want. hop on irc.freenode.net and join #gentoo-amd64. talk to unsolo if he's around... he's the only other person i know who has an em64t.
Back to top
View user's profile Send private message
Dais
l33t
l33t


Joined: 05 Aug 2004
Posts: 977
Location: Québec

PostPosted: Fri May 13, 2005 3:35 pm    Post subject: pentium 4 64, what cflags ? Reply with quote

Hi,

does someone know what cflags to use for a P4 64bits in order to install gentoo in 64bits ? (march, etc)

Merged with older topic. --Maedhros
_________________
Tout ce que je suis n'est que cause
Tout ce que je suis n'est que conséquence
Pourquoi s'attacher à toutes ces choses
Pourquoi continuer dans la souffrance ?

-
Shiki Soku Ze Ku, Ku Soku Ze Shiki
Back to top
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Fri May 13, 2005 4:47 pm    Post subject: Reply with quote

"-march=nocona -O2 -pipe"
Back to top
View user's profile Send private message
RazielFMX
l33t
l33t


Joined: 23 Apr 2005
Posts: 835
Location: NY, USA

PostPosted: Sat May 13, 2006 7:31 pm    Post subject: Reply with quote

I like: "march=nocona -02 -pipe -fomit_frame_pointers"

Pretty safe.
_________________
I am not anti-systemd; I am pro-choice. If being the latter makes you feel that I am the former, then so be it.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum