View previous topic :: View next topic |
Author |
Message |
dasalvagg Apprentice
Joined: 26 Jun 2002 Posts: 183 Location: NY
|
Posted: Thu Aug 01, 2002 7:38 pm Post subject: bootstrap with gcc 3.2 |
|
|
I'd like to bootstrap and install my entire system with gcc 3.2 pre. I edited the mask file so i can emerge gcc 3.2 pre. when i run emerge -p gcc it outputs 3.2 pre. But i would like to bootstap with it, when i run that, it says "Using >=gcc-3.1-r6" which i'm taking to mean that gcc 3.1-r6 will be installed. How do i get 3.2 installed during bootstrap |
|
Back to top |
|
|
gfunkmonk Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: Freelandville, IN
|
Posted: Thu Aug 01, 2002 7:56 pm Post subject: |
|
|
I'm pretty sure that durring bootstrapping it will compile gcc twice, and I believe that the second time it does it will use gcc 3.2 |
|
Back to top |
|
|
dasalvagg Apprentice
Joined: 26 Jun 2002 Posts: 183 Location: NY
|
Posted: Thu Aug 01, 2002 9:28 pm Post subject: |
|
|
yep, you were right. When gcc is rebuilt later in the bootstrap it is using gcc 3.2. thanks |
|
Back to top |
|
|
viz n00b
Joined: 08 Jul 2002 Posts: 42 Location: Germany
|
Posted: Thu Aug 01, 2002 11:10 pm Post subject: |
|
|
My gcc3.2 (snapshot 28/7/2002) bootstrap broke with glibc. Not that smart
I'll try again once gcc 3.2 has been released officially. What are your experiences with gcc3.2 ? _________________ Decaffeinated Coffee?! Just say No! |
|
Back to top |
|
|
gfunkmonk Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: Freelandville, IN
|
Posted: Thu Aug 01, 2002 11:18 pm Post subject: |
|
|
I bootstrapped my system with 3.1.1, and then emerged gcc3.2-pre and did a emerge -e world, and everything seems to be going fine for me.... |
|
Back to top |
|
|
avarice n00b
Joined: 10 Jul 2002 Posts: 4 Location: Tel-Aviv, Israel
|
Posted: Fri Aug 02, 2002 1:24 am Post subject: flags? |
|
|
What flags did you use?
as some packages (xfree-4.2.0) won't compile with -mmmx and -m3dnow for example.
Yarin |
|
Back to top |
|
|
gfunkmonk Tux's lil' helper
Joined: 10 Jul 2002 Posts: 129 Location: Freelandville, IN
|
Posted: Fri Aug 02, 2002 1:40 am Post subject: |
|
|
I used:
CFLAGS="-O3 -mcpu=pentium3 -march=i686 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -frerun-cse-after-loop -frerun-loop-opt -falign-functions=4"
but to compile XFree i had to drop -fforce-addr |
|
Back to top |
|
|
neeyo n00b
Joined: 20 Jul 2002 Posts: 32
|
Posted: Fri Aug 02, 2002 3:38 am Post subject: |
|
|
I bootstrapped with whatever was included with the 1.3b stage1 tarball, and edited portage to download/compile gcc 3.2_pre. The first time it failed, and the only thing I changed in make.conf was march=athlon-xp. I wiped it and tried again, leaving the make.conf alone (except for uncommenting my corresponding flags). Leaving it at march=i686 led everything to work.
The question is though, now that I have a working system (if you can even call it since only stage1 is done), do I chance that gcc3.2 will be able to compile gcc3.2 with the athlon-xp flag and reinstall itself? ... hmmm... |
|
Back to top |
|
|
caveman n00b
Joined: 09 Jun 2002 Posts: 12 Location: UK
|
Posted: Fri Aug 02, 2002 8:11 am Post subject: |
|
|
I used -march=athlon-xp -msse -m3dnow -mfpmath=sse -mmmx -O3 -pipe and everything (including X and KDE) compiled fine.
I booted from a 1.2 disc and emerged gcc (3.2pre) with -march=i486 -O3 -pipe before bootstrapping with the above opmisations |
|
Back to top |
|
|
Ard Righ Guru
Joined: 24 Jun 2002 Posts: 337 Location: Wellington, NZ
|
Posted: Sun Aug 04, 2002 7:09 pm Post subject: |
|
|
I just tried to emerge gcc-3.2-pre, but file not found.
Is is gcc-3.2-pre or gcc3.2-pre or what ? I couldn't see it in the package.mask anywhere either, if it was supposed to be listed there.
This was from doing an emerge rsync clean about 5 minutes ago, using the stage1-ix86-1.3b-r1.tbz2
I had the system compiling nicely with 3.1.1 but thought I would give 3.2 a go. |
|
Back to top |
|
|
Pitr Tux's lil' helper
Joined: 23 Jun 2002 Posts: 90
|
Posted: Sun Aug 04, 2002 8:20 pm Post subject: |
|
|
My system has now been installed from scratch using GCC3.2_pre, and while I chickened out a bit on some of the more "fancy" optimizations. (-march=athlon-tbird -O2 for bootstrap added -fomit-frame-pointer for the rest) my system is now fully operational and I'm quite happy with it so far.
Right now I'm having some fun compiling KDE CVS.
But the succeslist so far includes:
KDE3.0.2, Xfree86 4.2.0 (filtered mmx and 3dnow), KDevelop, KOffice, DVDrip, VIM and of course Frozen Bubble. All dependencies forfilled. |
|
Back to top |
|
|
rac Bodhisattva
Joined: 30 May 2002 Posts: 6553 Location: Japanifornia
|
Posted: Fri Aug 16, 2002 7:23 am Post subject: |
|
|
Locked to consolidate GCC 3.2 traffic into Tuxisuau's GCC 3.2 thread. _________________ For every higher wall, there is a taller ladder |
|
Back to top |
|
|
|