View previous topic :: View next topic |
Author |
Message |
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Tue Oct 07, 2003 1:22 pm Post subject: Stage1 : glibc failed |
|
|
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 |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Tue Oct 07, 2003 2:37 pm Post subject: |
|
|
Anyone?? |
|
Back to top |
|
|
Pete_Keller l33t
Joined: 30 Sep 2003 Posts: 664 Location: Norwich, CT USA
|
Posted: Tue Oct 07, 2003 3:35 pm Post subject: |
|
|
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 |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Tue Oct 07, 2003 3:53 pm Post subject: |
|
|
Thanks. What do you think caused the compile error based on my CFLAGS? |
|
Back to top |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Tue Oct 07, 2003 6:07 pm Post subject: |
|
|
I think it might be the -O3. Maybe it needs to be -O2? |
|
Back to top |
|
|
Pete_Keller l33t
Joined: 30 Sep 2003 Posts: 664 Location: Norwich, CT USA
|
Posted: Tue Oct 07, 2003 6:36 pm Post subject: |
|
|
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 |
|
|
theonlymcc Apprentice
Joined: 16 Sep 2003 Posts: 274 Location: NC
|
Posted: Tue Oct 07, 2003 6:48 pm Post subject: |
|
|
As far as I know it is considered an i686. Does anyone else know? |
|
Back to top |
|
|
|