View previous topic :: View next topic |
Author |
Message |
RobDaemon n00b
Joined: 16 Apr 2003 Posts: 14
|
Posted: Mon Sep 20, 2004 5:17 pm Post subject: Gentoo-AMD64 on Intel EM64T? |
|
|
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 |
|
|
codergeek42 Bodhisattva
Joined: 05 Apr 2004 Posts: 5142 Location: Anaheim, CA (USA)
|
Posted: Mon Sep 20, 2004 5:31 pm Post subject: |
|
|
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 |
|
|
RobDaemon n00b
Joined: 16 Apr 2003 Posts: 14
|
Posted: Mon Sep 20, 2004 5:48 pm Post subject: |
|
|
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 |
|
|
RobDaemon n00b
Joined: 16 Apr 2003 Posts: 14
|
Posted: Tue Sep 21, 2004 2:55 pm Post subject: |
|
|
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 |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Thu Sep 23, 2004 1:38 am Post subject: |
|
|
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 |
|
|
Dais l33t
Joined: 05 Aug 2004 Posts: 977 Location: Québec
|
Posted: Fri May 13, 2005 3:35 pm Post subject: pentium 4 64, what cflags ? |
|
|
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 |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Fri May 13, 2005 4:47 pm Post subject: |
|
|
"-march=nocona -O2 -pipe" |
|
Back to top |
|
|
RazielFMX l33t
Joined: 23 Apr 2005 Posts: 835 Location: NY, USA
|
Posted: Sat May 13, 2006 7:31 pm Post subject: |
|
|
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 |
|
|
|