Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Error during bootstrap on pentium2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
thunderbird84
n00b
n00b


Joined: 04 Jun 2005
Posts: 2

PostPosted: Sat Jun 04, 2005 6:45 pm    Post subject: Error during bootstrap on pentium2 Reply with quote

hi,

I've already (and succesfully) installed Gentoo on a PC with a VIA Eden Samuel CPU. No problems at all, and I simply followed the manual's instructions.

But now, I want to install Gentoo on an 'old' Pentium2 PC. It has 128M RAM and a 300MHz P-II (Deschutes). According to gentoo-wiki.org, I need to set the CHOST variable to "i686-pc-linux-gnu" in /etc/make.conf.
When I run bootstrap.sh, I get an error that the configure script of glibc was unable to detect the suffix for object files.
In some other post, I read I need to look at gcc-config, and set it to the file in /etc/env.d/gcc which resembles the CHOST variable. However, the only ones I can choose from, start with "i386-pc-linux-gnu".
I know it's not safe to set the CHOST variable to i386-pc-linux-blablabla, and edit it after the bootstrap (or could I leave it that way? guess not...)

Now I can't remember encountering this kind of problem with my other Gentoo install.
How can I set gcc-config to the right setting?
(sorry if this question is posted before, I couldn't find a similar one)

thanks in advance
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sat Jun 04, 2005 7:19 pm    Post subject: Reply with quote

A pentiumII is i686 so the chost setting is fine. So the problem is probably elsewhere.
Post the last 15 lines of the output including the error and the output of emerge info
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
adelacruz9
n00b
n00b


Joined: 31 Aug 2004
Posts: 1

PostPosted: Sat Jun 04, 2005 11:53 pm    Post subject: re Reply with quote

this is the exact problem i am having today as well. any help would be appreciated.

thanks
Back to top
View user's profile Send private message
jmbsvicetto
Moderator
Moderator


Joined: 27 Apr 2005
Posts: 4734
Location: Angra do Heroísmo (PT)

PostPosted: Sun Jun 05, 2005 4:30 am    Post subject: Reply with quote

Hi.

It seems that an update in Portage may be causing this problems. If you look at several threads here in the Installing Gentoo forum and at https://bugs.gentoo.org you'll find several references and a few suggestions.
Look here https://forums.gentoo.org/viewtopic-t-345371.html for a thread that may pertain to the same problem.
Back to top
View user's profile Send private message
thunderbird84
n00b
n00b


Joined: 04 Jun 2005
Posts: 2

PostPosted: Sun Jun 05, 2005 1:36 pm    Post subject: Reply with quote

nixnut wrote:
A pentiumII is i686 so the chost setting is fine. So the problem is probably elsewhere.
Post the last 15 lines of the output including the error and the output of emerge info


The error output is:

Code:

/usr/bin/gcc-config: line 1: /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5: no such file or directory
 * /usr/bin/gcc-config: Profile doe not exist or invalid setting for /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5 doe not exist
gcc-config error: could not run/locate "gcc"
/usr/bin/gcc-config: line 1: /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5: no such file or directory
 * /usr/bin/gcc-config: Profile doe not exist or invalid setting for /etc/env.d/gcc/i386-pc-linux-gnu-3.3.5
/etc/env.d/gcc/i386-pc-linux-gnu-3.3.5 doe not exist
gcc-config error: could not run/locate "gcc"
/usr/lib/portage/bin/ebuild.sh: line 183: [: : integer expression expected
 * configuring GLIBC for linuxthreads with:  --disable-dev-erandom --with-tls --without-__thread --enable-add-ons=linuxthreads,c_stubs,libidn --enable-kernel=2.4.1 --without-cvs
                        --enable-bind-now
                        --build=i686-pc-linux-gnu
                        --host=i686-pc-linux-gnu
                        --disable-profile
                        --without-gd
                        --with-headers=//usr/include
                        --prefix=/usr
                        --mandir=/usr/share/man
                        --infodir=/usr/share/info
                        --libexecdir=/usr/lib/misc
checking build system type... i686-pc-linux-gnu
checking host type... i686-pc-linux-gnu
running configure fragment for add-on linuxthreads
running configure fragment for add-on c_stubs
running configure fragment for add-on libidn
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthreads sysdeps/pthreads linuxthreads/sysdeps/unix/sysv linuxthreads/sysdeps/unix linuxthreads/sysdeps/i386/i686 linuxthreads/sysdeps/i386 libidn/sysdeps/unix sysdeps/unix/sysv/linux/i386 sysdeps/unix/sysv/linux sysdeps/gnu sysdeps/unix/common sysdeps/unix/mman sysdeps/unix/inet sysdeps/unix/sysv/i386 sysdeps/unix/sysv sysdeps/unix/i386 sysdeps/unix sysdeps/posix sysdeps/i386/i686/fpu sysdeps/i386/i686 sysdeps/i386/i486 sysdeps/i386/fpu sysdeps/i386 sysdeps/wordsize-32 sysdeps/ieee754/ldbl-96 sysdeps/ieee754/dbl-64 sysdeps/ieee754/flt-32 sysdeps/ieee754 sysdeps/generic/elf sysdeps/generic
checking for a BSD-compatible install... /bin/install -c
checking whether ln -s works... yes
checking for i686-pc-linuc-gnu-gcc... no
checking for gcc... gcc
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
see `config.log' for more details.

!!!ERROR: sys-libs/glibc-2.3.4.20041102-r1 failed
!!!Function gcc_do_configure, Line706, exitcode 1
!!!failed to configure glibc
!!!If you need support, post the topmost build error, NOT this status message.


and
Code:

emerge --info

gives:
Code:

Portage 2.0.51.19 (default-linux/x86/2005.0 gcc-3.3.5 glibc-2.3.4.20040808-r1 2.6.11-gentoo-r3 i686)
=================================================================
System uname: 2.6.11-gentoo-r3 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Python:              dev-lang/python [2.3.4-r1 (#1 Mar 10 2005, 18:18:11)]
dev-lang-python:     2.3.4-r1
sys-apps/sandbox:    [Not Present]
sys-devel/autoconf:  [Not Present]
sys-devel/automake:  [Not Present]
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   [Not Present]
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium2 -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb  bitmap-fonts crypt cups emboss encode foomaticdb fortran gdbm gif gnome gpm gtk gtk2 imlib ipv6 jpeg kde libg++ libwww mad mikmod motif mp3 mpeg ncurses nls oggvorbis opengl oss pam pdflib perl"
Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Sun Jun 05, 2005 4:07 pm    Post subject: Reply with quote

Please follow up to https://forums.gentoo.org/viewtopic-t-344970.html

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    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