Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Stage1 : glibc failed
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Tue Oct 07, 2003 1:22 pm    Post subject: Stage1 : glibc failed Reply with quote

During my bootstrap, glibc fails complaining of:
error: cannot compile without optimization

but my CFLAGS="-O3 -mcpu=i686 -funroll-loops -pipe"
I have a P4 1.6. Also, since it failed, can I just start bootstrap again or do I need to wipe it and completely start over?
Back to top
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Tue Oct 07, 2003 2:37 pm    Post subject: Reply with quote

Anyone??
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Tue Oct 07, 2003 3:35 pm    Post subject: Reply with quote

Theonlymcc:
you should be able to rebootstrap, however to be on the safe side, you should delete everything in the dirctories by performing the following.

# mount /dev/hda1 /mnt/gentoo
# rm -rf /mnt/gentoo
# umount /mnt/gentoo
# mount /dev/hda3 /mnt/gentoo
# rm -rf /mnt/gentoo
# umount /mnt/gentoo

Delete all the other partitions (if you made them), then follow step 7 of the installation guide to re-untar everything and restart.

Pete
Back to top
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Tue Oct 07, 2003 3:53 pm    Post subject: Reply with quote

Thanks. What do you think caused the compile error based on my CFLAGS?
Back to top
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Tue Oct 07, 2003 6:07 pm    Post subject: Reply with quote

I think it might be the -O3. Maybe it needs to be -O2?
Back to top
View user's profile Send private message
Pete_Keller
l33t
l33t


Joined: 30 Sep 2003
Posts: 664
Location: Norwich, CT USA

PostPosted: Tue Oct 07, 2003 6:36 pm    Post subject: Reply with quote

theonlymcc,
I do not know what caused your problem, however, is the p4 considered an i686? I do not know, my laptop is an Athalon, and I changed the CFLAGS to use the correct athalon chip.

cat /proc/cpuinfo and look what it says.

Pete
Back to top
View user's profile Send private message
theonlymcc
Apprentice
Apprentice


Joined: 16 Sep 2003
Posts: 274
Location: NC

PostPosted: Tue Oct 07, 2003 6:48 pm    Post subject: Reply with quote

As far as I know it is considered an i686. Does anyone else know?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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