Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap with gcc 3.2
View unanswered posts
View posts from last 24 hours

 
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
dasalvagg
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 183
Location: NY

PostPosted: Thu Aug 01, 2002 7:38 pm    Post subject: bootstrap with gcc 3.2 Reply with quote

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
View user's profile Send private message
gfunkmonk
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: Freelandville, IN

PostPosted: Thu Aug 01, 2002 7:56 pm    Post subject: Reply with quote

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
View user's profile Send private message
dasalvagg
Apprentice
Apprentice


Joined: 26 Jun 2002
Posts: 183
Location: NY

PostPosted: Thu Aug 01, 2002 9:28 pm    Post subject: Reply with quote

yep, you were right. When gcc is rebuilt later in the bootstrap it is using gcc 3.2. thanks
Back to top
View user's profile Send private message
viz
n00b
n00b


Joined: 08 Jul 2002
Posts: 42
Location: Germany

PostPosted: Thu Aug 01, 2002 11:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
gfunkmonk
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: Freelandville, IN

PostPosted: Thu Aug 01, 2002 11:18 pm    Post subject: Reply with quote

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
View user's profile Send private message
avarice
n00b
n00b


Joined: 10 Jul 2002
Posts: 4
Location: Tel-Aviv, Israel

PostPosted: Fri Aug 02, 2002 1:24 am    Post subject: flags? Reply with quote

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
View user's profile Send private message
gfunkmonk
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jul 2002
Posts: 129
Location: Freelandville, IN

PostPosted: Fri Aug 02, 2002 1:40 am    Post subject: Reply with quote

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
View user's profile Send private message
neeyo
n00b
n00b


Joined: 20 Jul 2002
Posts: 32

PostPosted: Fri Aug 02, 2002 3:38 am    Post subject: Reply with quote

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
View user's profile Send private message
caveman
n00b
n00b


Joined: 09 Jun 2002
Posts: 12
Location: UK

PostPosted: Fri Aug 02, 2002 8:11 am    Post subject: Reply with quote

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
View user's profile Send private message
Ard Righ
Guru
Guru


Joined: 24 Jun 2002
Posts: 337
Location: Wellington, NZ

PostPosted: Sun Aug 04, 2002 7:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Pitr
Tux's lil' helper
Tux's lil' helper


Joined: 23 Jun 2002
Posts: 90

PostPosted: Sun Aug 04, 2002 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
rac
Bodhisattva
Bodhisattva


Joined: 30 May 2002
Posts: 6553
Location: Japanifornia

PostPosted: Fri Aug 16, 2002 7:23 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Duplicate Threads 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