Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on AMD64
  • Search

[solved/complete] Fresh stage1 install, flags advice needed

Have an x86-64 problem? Post here.
Locked
Advanced search
33 posts
  • Previous
  • 1
  • 2
Author
Message
sedorox
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Fri Feb 13, 2004 2:17 am

  • Quote

Post by sedorox » Mon Dec 03, 2007 5:47 am

I'm just wondering... why does everyone here have such a long compile time for OpenOffice?

Code: Select all

Nereus ~ # genlop -t openoffice
 * app-office/openoffice

     Fri Oct 19 00:18:12 2007 >>> app-office/openoffice-2.3.0
       merge time: 3 hours, 18 minutes and 30 seconds.
Home Desktop: Ryzen 3900X 3.8ghz | 32G Ram | 2x 1TB NVMe
Previous 7 Year Build: Intel i5-2400 3.1ghz | 16G Ram | 1x 60G SSD, 1x 1TB HDD
Top
dnadesign
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Sat Dec 23, 2006 6:53 pm
Location: Poland
Contact:
Contact dnadesign
Website

  • Quote

Post by dnadesign » Wed Dec 05, 2007 2:11 pm

electrofreak wrote:You guys are really making me want to install gentoo on my desktop again (see specs in signature).
What can I say? It's addictive. :-)
sedorox wrote:I'm just wondering... why does everyone here have such a long compile time for OpenOffice?

Code: Select all

Nereus ~ # genlop -t openoffice
 * app-office/openoffice

     Fri Oct 19 00:18:12 2007 >>> app-office/openoffice-2.3.0
       merge time: 3 hours, 18 minutes and 30 seconds.
Hehe, you call that long? On my Turion X2 (1.6GHz per core) it took about twice as much (about 6 hours merge time). To say the truth I would prefer to have the times you're having. ;-) But everything will be fixed in the right time ( -> getting a new notebook somewhere in January, it'll be a Core 2 Duo, so I'll probably need to discuss the flags for it again). ;-)
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Top
LoSeR_5150
Guru
Guru
User avatar
Posts: 455
Joined: Sun Mar 20, 2005 9:19 pm
Location: San Francisco, CA

  • Quote

Post by LoSeR_5150 » Wed Dec 05, 2007 5:40 pm

Code: Select all

loser@Purgatory ~ $ genlop -t openoffice
 * app-office/openoffice

     Tue Jul 24 03:41:26 2007 >>> app-office/openoffice-2.2.1
       merge time: 6 hours, 29 minutes and 26 seconds.

     Tue Jul 31 01:14:01 2007 >>> app-office/openoffice-2.2.1
       merge time: 6 hours, 36 minutes and 9 seconds.

     Thu Oct  4 11:50:31 2007 >>> app-office/openoffice-2.3.0
       merge time: 8 hours, 52 minutes and 40 seconds.
This is on my 1.6Ghz Sempron Single Core... and I'm about to start my voyage of installing Gentoo on a HP Visualize Workstation C3000 (400Mhz PA-Risc). I guess I should prepare for some crazy long compile times
Opteron 1356@2.4Ghz
6GB DDR2 800Mhz
128MB Quadro NVS 210S
640GB Western Digital HD
*Gentoo-x86_64-2.6.30-r1

Opteron175@2.2GHz
2GB DDR 400MHz
256MB Quadro 1400 Go
(2) 80GB Segate HDs: RAID0
*Gentoo-x86_64-2.6.30-r1
Top
sedorox
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Fri Feb 13, 2004 2:17 am

  • Quote

Post by sedorox » Mon Dec 10, 2007 4:07 am

dnadesign wrote:
Hehe, you call that long? On my Turion X2 (1.6GHz per core) it took about twice as much (about 6 hours merge time). To say the truth I would prefer to have the times you're having. ;-) But everything will be fixed in the right time ( -> getting a new notebook somewhere in January, it'll be a Core 2 Duo, so I'll probably need to discuss the flags for it again). ;-)
I wasn't calling my times long, I was saying everyone else's seems to be. Now granted I run a Core2Duo (E6550 @ 2.33ghz) with (at the time of that compile) 2GB Ram, but I would still think a dual core Turion would do better then that. I don't think I was using DistCC at the time either, altho I might have (which would have added a AMD64 3200+ with a gig of ram).

At least things aren't as bad as when I installed Gentoo on my PC back a few years ago, which was a AMD i586, running at 500mhz, and I think 384 megs ram. OpenOffice took DAYS.

Anyway, back on topic.. here is what I'm using with my c2d:

Code: Select all

 
Portage 2.1.4_rc9 (default-linux/amd64/2007.0, gcc-4.2.2, glibc-2.7-r0, 2.6.23-1 x86_64)
=================================================================
System uname: 2.6.23-1 x86_64 Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -pipe -march=nocona -mfpmath=sse -mmmx -msse -msse2 -msse3 -fforce-addr -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CXXFLAGS="-Os -pipe -march=nocona -mfpmath=sse -mmmx -msse -msse2 -msse3 -fforce-addr -fomit-frame-pointer -D_FILE_OFFSET_BITS=64"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -s"
MAKEOPTS="-j4"
USE="X aac aalib acl acpi aim alsa amd64 audacious avi berkdb bitmap-fonts bzip2 bzlib cairo cdr cli cracklib crypt cups dga divx dri dts dv dvd dvdr dvdread expat ffmpeg firefox flac foomaticdb fortran frontendonly ftp gdbm gnome gnutls gtk gtk2 hal i8x0 iconv icq imap imlib iproute2 ipv6 java jpeg mad mmx mp2 mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl opengl2 openmp pam pcre perl png ppds python quicktime readline realmedia reflection rtc samba sasl sdl session shout smp spell spl sse sse2 ssl ssse3 stream svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb2 vcd vorbis webdav widescreen wma wmf wmp x264 xanim xinerama xorg xv xvid xvmc zlib"
CCache isn't currently enabled as I had some issues I thought were related to it, but weren't, and I just never enabled it again.
I'm sure some of either the cflags or use flags are redundant, but never bothered to look up which.

Specs:
Intel Core2Duo E6550 2.33ghz
4GB DDR2 800
XFX Nvidia 7900GS
WD 250Gb SATA II
Intel 1000/PT PCI-Express NIC
Gigabyte Motherboard (P35 chipset)
Home Desktop: Ryzen 3900X 3.8ghz | 32G Ram | 2x 1TB NVMe
Previous 7 Year Build: Intel i5-2400 3.1ghz | 16G Ram | 1x 60G SSD, 1x 1TB HDD
Top
dnadesign
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Sat Dec 23, 2006 6:53 pm
Location: Poland
Contact:
Contact dnadesign
Website

  • Quote

Post by dnadesign » Mon Jan 07, 2008 11:57 am

Seems nice, but I won't be using AMD64, only x86. It works nice when optimized for my Turion, so I'll be doing the same for that C2D I'll be getting in two weeks from now.
These are the specs:

Code: Select all

Intel Mobile Core 2 Duo T7500 2x2.2GHz
4GB RAM SO-DIMM2 @667MHz
nVidia GeForce 8600GT 512MB RAM DDR3
Seagate 160GB, 7200RPM, SATA 300
Further flag advisory is welcomed. :)

EDIT: Ok, I think I got it ready.

Code: Select all

CFLAGS="-march=prescott -O2 -pipe -mmmx -msse -msse2 -msse3 -mfpmath=sse -fforce-addr -fomit-frame-pointer"
FEATURES="parallel-fetch ccache <and other eventually>"
MAKEOPTS="j3"
Still need to set the LDFLAGS for C2D. Standard settings perhaps?
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Top
dnadesign
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Sat Dec 23, 2006 6:53 pm
Location: Poland
Contact:
Contact dnadesign
Website

  • Quote

Post by dnadesign » Mon Jan 21, 2008 9:00 am

Ok, got it up and running with the desktop profile and following settings:

Code: Select all

CFLAGS="-O2 -pipe -march=nocona -mfpmath=sse -mmmx -msse -msse2 -msse3"
CFLAGS="${CFLAGS} -fforce-addr -fomit-frame-pointer"
CXXFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"

CHOST="x86_64-pc-linux-gnu"
FEATURES="parallel-fetch ccache"

MAKEOPTS="-j3"

USE="-arts gtk gtkhtml gnome hal dbus threads bash-completion samba mono java php apache2 mysql"

VIDEO_CARDS="nvidia"
ALSA_CARDS="hda-intel"
LINGUAS="pl en"
In the end I finally decided to go on AMD64 (no memory limit problems... God, am I lazy or what... :-P). Works like a charm. :-D

Thanks for all your help everyone. :-)

EDIT: OpenOffice 2.3.1 compile time: a little bit more than 2:30 hours (I wasn't in the room, when he finished, came in a bit later)!!!!
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Top
sedorox
Apprentice
Apprentice
User avatar
Posts: 207
Joined: Fri Feb 13, 2004 2:17 am

  • Quote

Post by sedorox » Fri Jan 25, 2008 4:43 am

dnadesign wrote:Ok, got it up and running with the desktop profile and following settings:

Code: Select all

CFLAGS="-O2 -pipe -march=nocona -mfpmath=sse -mmmx -msse -msse2 -msse3"
CFLAGS="${CFLAGS} -fforce-addr -fomit-frame-pointer"
CXXFLAGS="${CFLAGS} -D_FILE_OFFSET_BITS=64"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu"

CHOST="x86_64-pc-linux-gnu"
FEATURES="parallel-fetch ccache"

MAKEOPTS="-j3"

USE="-arts gtk gtkhtml gnome hal dbus threads bash-completion samba mono java php apache2 mysql"

VIDEO_CARDS="nvidia"
ALSA_CARDS="hda-intel"
LINGUAS="pl en"
In the end I finally decided to go on AMD64 (no memory limit problems... God, am I lazy or what... :-P). Works like a charm. :-D

Thanks for all your help everyone. :-)

EDIT: OpenOffice 2.3.1 compile time: a little bit more than 2:30 hours (I wasn't in the room, when he finished, came in a bit later)!!!!
Out of curiosity, what does --hash-style=gnu gain you? And I guess there is a big difference between the 6550 and the 7700, or if your using the faster memory then I, as you're about 45 mins ahead of me on compiling OpenOffice.
Home Desktop: Ryzen 3900X 3.8ghz | 32G Ram | 2x 1TB NVMe
Previous 7 Year Build: Intel i5-2400 3.1ghz | 16G Ram | 1x 60G SSD, 1x 1TB HDD
Top
dnadesign
Apprentice
Apprentice
User avatar
Posts: 172
Joined: Sat Dec 23, 2006 6:53 pm
Location: Poland
Contact:
Contact dnadesign
Website

  • Quote

Post by dnadesign » Mon Jan 28, 2008 2:14 pm

sedorox wrote:Out of curiosity, what does --hash-style=gnu gain you? And I guess there is a big difference between the 6550 and the 7700, or if your using the faster memory then I, as you're about 45 mins ahead of me on compiling OpenOffice.
Well... I just kinda got used to having it in my LDFLAGS, as far as I remember it had something to do with a new hash symbol table for the ELF binary format. As I said: I just have an old habit of using it. :-)

As for the compilation time differences: my memory chips are working at 667MHz, on a 800MHz FSB. If it's not that, then maybe CCACHE had something to do with it. I never experienced such a fast compile time for OO, but I also used CCACHE for the first time.
MacBook Pro 5.1
Intel C2D 2.53 GHz, 4GB RAM DDR3, GF 9400M and 9600M GT 512MB
Top
Locked

33 posts
  • Previous
  • 1
  • 2

Return to “Gentoo on AMD64”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic