Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bootstrap.sh 2004.3 sys-libs/glibc-2.3.4.20041102 failed
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Tue Nov 23, 2004 7:19 am    Post subject: bootstrap.sh 2004.3 sys-libs/glibc-2.3.4.20041102 failed Reply with quote

Hi there everone!

I am trying to get 2004.3 on my mobo, but I had a compile error near the end of the bootstrap. I hope there is someone that can help with this one :?:
I would love to debug this myself, but I am still not read for that, yip still green behind the ears!

Quote:
checking sysdep dirs... sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread 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-linux-gnu-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 failed.
!!! Function glibc_do_configure, Line 606, Exitcode 1
!!! failed to configure glibc
!!! If you need support, post the topmost build error, NOT this status message.


here is the text of the "config.log", forgive me oe pasting the 280 odd lines :?
Quote:
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU C Library configure (see version.h), which was
generated by GNU Autoconf 2.59. Invocation command line was

$ /tmp/portage/glibc-2.3.4.20041102/work/glibc-2.3.3/configure --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

## --------- ##
## Platform. ##
## --------- ##

hostname = livecd
uname -m = i686
uname -r = 2.6.9-gentoo-r1
uname -s = Linux
uname -v = #1 SMP Tue Nov 2 23:12:07 UTC 2004

/usr/bin/uname -p = AMD Athlon(TM) XP 2000+
/bin/uname -X = unknown

/bin/arch = unknown
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown

PATH: /sbin
PATH: /usr/sbin
PATH: /usr/lib/portage/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /opt/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1706: checking build system type
configure:1724: result: i686-pc-linux-gnu
configure:1732: checking host system type
configure:1746: result: i686-pc-linux-gnu
configure:1878: result: running configure fragment for add-on linuxthreads
configure:1878: result: running configure fragment for add-on c_stubs
configure:1878: result: running configure fragment for add-on libidn
configure:1998: checking sysdep dirs
configure:2214: result: sysdeps/generic/elf sysdeps/generic
configure:2233: checking for a BSD-compatible install
configure:2288: result: /bin/install -c
configure:2303: checking whether ln -s works
configure:2307: result: yes
configure:2323: checking for i686-pc-linux-gnu-gcc
configure:2349: result: gcc
configure:2631: checking for C compiler version
configure:2634: gcc --version </dev/null >&5
gcc-config error: Could not run/locate "gcc"
configure:2637: $? = 1
configure:2639: gcc -v </dev/null >&5
gcc-config error: Could not run/locate "gcc"
configure:2642: $? = 1
configure:2644: gcc -V </dev/null >&5
gcc-config error: Could not run/locate "gcc"
configure:2647: $? = 1
configure:2651: checking for suffix of object files
configure:2672: gcc -c -freorder-blocks -O2 conftest.c >&5
gcc-config error: Could not run/locate "gcc"
configure:2675: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Library"
| #define PACKAGE_TARNAME "c-library"
| #define PACKAGE_VERSION "(see version.h)"
| #define PACKAGE_STRING "GNU C Library (see version.h)"
| #define PACKAGE_BUGREPORT "glibc"
| #define USE_REGPARMS 1
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2689: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-freorder-blocks -O2'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXFLAGS_set=set
ac_cv_env_CXXFLAGS_value='-freorder-blocks -O2'
ac_cv_env_CXX_set=set
ac_cv_env_CXX_value=g++
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=i686-pc-linux-gnu
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnu
ac_cv_host_alias=i686-pc-linux-gnu
ac_cv_path_install='/bin/install -c'
ac_cv_prog_CC=gcc

## ----------------- ##
## Output variables. ##
## ----------------- ##

AR=''
AS=''
ASFLAGS_config=''
AUTOCONF=''
AWK=''
BASH='/bin/sh'
BISON=''
BUILD_CC=''
CC='gcc'
CFLAGS='-freorder-blocks -O2'
CPP=''
CPPFLAGS=''
CXX='g++'
CXXFLAGS='-freorder-blocks -O2'
DEFINES=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_INFO=''
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
KSH=''
LD=''
LDFLAGS=''
LIBGD=''
LIBOBJS=''
LIBS=''
LN_S='ln -s'
LTLIBOBJS=''
MAKE=''
MAKEINFO=''
MIG=''
MSGFMT=''
OBJDUMP=''
OBJEXT=''
PACKAGE_BUGREPORT='glibc'
PACKAGE_NAME='GNU C Library'
PACKAGE_STRING='GNU C Library (see version.h)'
PACKAGE_TARNAME='c-library'
PACKAGE_VERSION='(see version.h)'
PATH_SEPARATOR=':'
PERL=''
PWD_P=''
RANLIB=''
RELEASE=''
SED=''
SHELL='/bin/sh'
SYSINCLUDES=''
VERSION=''
VERSIONING=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_RANLIB=''
add_ons='linuxthreads c_stubs libidn'
all_warnings=''
base_machine='i386'
bindir='${exec_prefix}/bin'
bindnow='yes'
bounded='no'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
cross_compiling='no'
datadir='${prefix}/share'
elf='yes'
enable_check_abi='no'
exceptions=''
exec_prefix='NONE'
fno_unit_at_a_time=''
force_install='yes'
gnu_as='yes'
gnu_ld='yes'
have_selinux=''
host='i686-pc-linux-gnu'
host_alias='i686-pc-linux-gnu'
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
includedir='${prefix}/include'
infodir='/usr/share/info'
ldd_rewrite_script=''
libc_cv_Bgroup=''
libc_cv_as_needed=''
libc_cv_asm_protected_directive=''
libc_cv_cc_with_libunwind=''
libc_cv_cpp_asm_debuginfo=''
libc_cv_forced_unwind=''
libc_cv_fpie=''
libc_cv_gcc_static_libgcc=''
libc_cv_gcc_unwind_find_fde=''
libc_cv_have_bash2=''
libc_cv_have_initfini=''
libc_cv_have_ksh=''
libc_cv_initfinit_array=''
libc_cv_libgcc_s_suffix=''
libc_cv_localedir=''
libc_cv_rootsbindir=''
libc_cv_slibdir=''
libc_cv_sysconfdir=''
libc_cv_z_combreloc=''
libc_cv_z_execstack=''
libc_cv_z_initfirst=''
libc_cv_z_nodelete=''
libc_cv_z_nodlopen=''
libc_cv_z_relro=''
libdir='${exec_prefix}/lib'
libexecdir='/usr/lib/misc'
linux_doors=''
localstatedir='${prefix}/var'
mach_interface_list=''
mandir='/usr/share/man'
no_whole_archive=''
nopic_initfini=''
old_glibc_headers=''
oldest_abi='default'
oldincludedir='/usr/include'
omitfp='no'
pic_default=''
prefix='/usr'
profile='no'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
shared='default'
sharedstatedir='${prefix}/com'
sizeof_long_double=''
static='yes'
static_nss='no'
subdirs=' '
sysconfdir='${prefix}/etc'
sysnames=' sysdeps/i386/elf linuxthreads/sysdeps/unix/sysv/linux/i386 linuxthreads/sysdeps/unix/sysv/linux linuxthreads/sysdeps/pthread sysdeps/pthread 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'
target_alias=''
uname_release=''
uname_sysname=''
uname_version=''
use_ldconfig=''
with_cvs='no'
with_fp='yes'
xcoff='no'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_BUGREPORT "glibc"
#define PACKAGE_NAME "GNU C Library"
#define PACKAGE_STRING "GNU C Library (see version.h)"
#define PACKAGE_TARNAME "c-library"
#define PACKAGE_VERSION "(see version.h)"
#define USE_REGPARMS 1

configure: exit 1


Oh here is the output from emerge --info
Quote:
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r1 i686)
=================================================================
System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.4.16
Autoconf:
Automake:
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers: sys-kernel/linux-headers-2.4.22
Libtools:
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
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="-O2 -mcpu=athlon-xp -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext X acl apache2 apic apm arts avi berkdb bitmap-fonts bzlib crypt cups encode ethereal f77 foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 imlib java jpeg kde libg++ libwww mad maildir memlimit mikmod mmx mmxext motif mpeg mtrr mysqli ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline samba sdl spell sse ssl svga tcpd threads truetype usb vhosts x86 xml xml2 xmms xv zlib"
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Tue Nov 23, 2004 3:29 pm    Post subject: Reply with quote

I'm having a little similar problem for my current installation. As you see in log it fails in gcc-config things. You should try to do gcc-config manually.

https://forums.gentoo.org/viewtopic.php?t=256183
_________________
My own filemanager project
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Tue Nov 23, 2004 4:49 pm    Post subject: Reply with quote

Hi there,

How can i run gcc-config manually, during the bootstrap process?
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Tue Nov 23, 2004 5:19 pm    Post subject: Reply with quote

Maybe you should edit bootstrap.sh file and add that gcc-config line there.. Doesn't it help if you run it before bootstrap?
_________________
My own filemanager project
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Tue Nov 23, 2004 9:04 pm    Post subject: Reply with quote

well i did another bootstrap and it happened again at the same place. and the time it took was spot on 95 min.

What is funny is if I try run the bootstrap again after the fail session ( out of frustartion) I see the following, also related problem.
Quote:
livecd portage # USE="-java -X" scripts/bootstrap.sh

Gentoo Linux; http://www.gentoo.org/
Copyright 1999-2004 Gentoo Foundation; Distributed under the GPLv2
Starting Bootstrap of base system ...
-------------------------------------------------------------------------------
* Using baselayout : >=sys-apps/baselayout-1.9.4-r3
* Using portage : >=sys-apps/portage-2.0.51
* Using os-headers : virtual/os-headers
* Using binutils : >=sys-devel/binutils-2.14.90.0.8-r1
* Using gcc : >=sys-devel/gcc-3.3.4-r1
* Using gettext : sys-devel/gettext
* Using libc : virtual/libc
* Using texinfo : sys-apps/texinfo
* Using zlib : sys-libs/zlib
* Using ncurses : sys-libs/ncurses
-------------------------------------------------------------------------------
Configuring environment ...
* GENTOO_MIRRORS='http://ftp.uni-erlangen.de/pub/mirrors/gentoo/'
* PORTDIR='/usr/portage'
* DISTDIR='/usr/portage/distfiles'
* PKGDIR='/usr/portage/packages'
* PORTAGE_TMPDIR='/tmp'
* CFLAGS='-O2 -march=athlon-xp -pipe -fomit-frame-pointer'
* CHOST='i686-pc-linux-gnu'
* CXXFLAGS='-O2 -march=athlon-xp -pipe -fomit-frame-pointer'
* MAKEOPTS='-j2'
* ACCEPT_KEYWORDS='x86 ~x86'
* FEATURES='autoaddcvs autoconfig ccache distlocks sandbox sfperms'
-------------------------------------------------------------------------------
Calculating dependencies ...done!
>>> emerge (1 of 1) sys-apps/portage-2.0.51-r3 to /
>>> md5 src_uri ;-) portage-2.0.51-r3.tar.bz2
>>> Unpacking source...
>>> Unpacking portage-2.0.51-r3.tar.bz2 to /tmp/portage/portage-2.0.51-r3/work
* Applying gcc-2.95-libsandbox.patch ... [ ok ]
>>> Source unpacked.
/etc/env.d/gcc/../glibc-2.3.3/ doesnt exist
gcc-config error: Could not run/locate "gcc"
./create-localdecls
Checking truncate argument type... off_t
Checking libc version... /etc/env.d/gcc/../glibc-2.3.3/ doesnt exist
gcc-config error: Could not run/locate "gcc"
ldd: ./libctest: No such file or directory

rm: cannot remove `libctest': No such file or directory

gcc -march=i386 -O1 -pipe -D_GNU_SOURCE -DPIC -fPIC -D_REENTRANT -Wall -c libsandbox.c
/etc/env.d/gcc/../glibc-2.3.3/ doesnt exist
gcc-config error: Could not run/locate "gcc"
make: *** [libsandbox.o] Error 1

!!! ERROR: sys-apps/portage-2.0.51-r3 failed.
!!! Function src_compile, Line 67, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


you see the bit that mentions
Quote:
/etc/env.d/gcc/../glibc-2.3.3/ doesnt exist
gcc-config error: Could not run/locate "gcc"


I must add this bootstrap problem happned right at the end to the proccess and now the bootstrap.sh can't find gcc, strange :roll:

s4kk3 I have done what I Think to be correct in this case, and moved into the build directory and did
Code:
livecd build-i686-pc-linux-gnu-linuxthreads # gcc-config ../glibc-2.3.3/

and the following came back
Quote:
* /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/../glibc-2.3.3/
* Switching to ../glibc-2.3.3/ compiler...
/usr/bin/gcc-config: line 177: /etc/env.d/gcc/../glibc-2.3.3/: No such file or directory
gawk: cmd. line:2: fatal: cannot open file `/etc/env.d/gcc/../glibc-2.3.3/' for reading (No such file or directory)


I see the problem it can't find its bits, but i don't know how to fix it :oops:
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Tue Nov 23, 2004 9:13 pm    Post subject: Reply with quote

this is right method to use gcc-config
first:

Code:
gcc-config -l

this searches available compillers
then pick one from the list and:
Code:
gcc-config <your choice>

example: gcc-config i686-pc-linux-gnu-3.3.4
(this might be the one you are looking for)

this is what mine gcc-config -l shows
Code:
root@tux src # gcc-config -l
 * /usr/bin/gcc-config: Profile does not exist or invalid setting for /etc/env.d/gcc/i686-pc-linux-gnu-3.4.3
[1] i686-pc-linux-gnu-3.3.4
[2] i686-pc-linux-gnu-3.4.3 *
[3] i686-pc-linux-gnu-3.4.3-hardened
[4] i686-pc-linux-gnu-3.4.3-hardenednopie
[5] i686-pc-linux-gnu-3.4.3-hardenednossp

_________________
My own filemanager project
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Tue Nov 23, 2004 9:26 pm    Post subject: Reply with quote

Thanx for the gcc-config help :D

but why is there the 2 dots in the search path leading to the file not found?
Quote:
/etc/env.d/gcc/../glibc-2.3.3/'
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Wed Nov 24, 2004 7:01 am    Post subject: Reply with quote

I have tryed to work around the problem i.e. do a bootstrap with the use flags
    nptlonly nptl

in the hope to avoid having the build the linuxthreads part that is failing. and what you think happens
Quote:
>>> No outdated packages were found on your system.

Calculating dependencies ...done!
>>> emerge (1 of 4) sys-libs/glibc-2.3.4.20041102 to /
>>> md5 src_uri ;-) glibc-2.3.3.tar.bz2
>>> md5 src_uri ;-) glibc-manpages-2.3.4.tar.bz2
>>> md5 src_uri ;-) glibc-infopages-2.3.4.tar.bz2
>>> md5 src_uri ;-) glibc-2.3.4-branch-update-20041102.patch.bz2
nptlonly
nptl
x86
>>> Unpacking source...
nptl
x86

* Checking gcc for __thread support ... no

* Could not find a gcc that supports the __thread directive!
* please update to gcc-3.2.2-r1 or later, and try again.

!!! ERROR: sys-libs/glibc-2.3.4.20041102 failed.
!!! Function check_nptl_support, Line 158, Exitcode 0
!!! No __thread support in gcc!
!!! If you need support, post the topmost build error, NOT this status message.


real 96m52.481s
user 75m2.585s
sys 19m41.618s


But I have a late version of gcc than 3.2.2-r1
Quote:
gcc -v
Reading specs from /usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/specs
Configured with: /var/tmp/portage/gcc-3.3.4-r1/work/gcc-3.3.4/configure --prefix=/usr --bindir=/usr/i386-pc-linux-gnu/gcc-bin/3.3 --includedir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include --datadir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3 --mandir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/man --infodir=/usr/share/gcc-data/i386-pc-linux-gnu/3.3/info --enable-shared --host=i386-pc-linux-gnu --target=i386-pc-linux-gnu --with-system-zlib --enable-languages=c --enable-threads=posix --enable-long-long --disable-checking --disable-libunwind-exceptions --enable-cstdio=stdio --enable-version-specific-runtime-libs --with-gxx-include-dir=/usr/lib/gcc-lib/i386-pc-linux-gnu/3.3.4/include/g++-v3 --with-local-prefix=/usr/local --disable-nls --disable-multilib --enable-__cxa_atexit --enable-clocale=generic
Thread model: posix
gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)


well I must admit the bootstrap went 1 min longer than before, Is this progress or what?

Am I the only one that is having this problem? I have synced I have started from the beginning I have tryed 5 times now, and i am now sure that this is 100% reproducable. :!:

All i wanted to do, is it do a new install from scratch (stage one), minimum system this can't be that difficult :?:
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Wed Nov 24, 2004 10:18 am    Post subject: Reply with quote

heinzg: After bootstrap has failed, run this command:
Code:

gcc-config 1 && source /etc/profile && gcc-config 2 && source /etc/profile && emerge --resume

It's a workaround for this bug...
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Wed Nov 24, 2004 10:52 am    Post subject: Reply with quote

Thanx you, I will try it out right now :D
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Wed Nov 24, 2004 11:56 am    Post subject: Reply with quote

yes the nptl thingy is also covered this, the compilation is still running
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Wed Nov 24, 2004 12:47 pm    Post subject: Reply with quote

:) :D :lol: Yahoo... it worked, Thanx a million!!
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 511

PostPosted: Wed Nov 24, 2004 10:04 pm    Post subject: Reply with quote

Well lets see if you still :lol: when you come to emerge grub?
for me it bombs with a
Code:
checking for C compiler default output name... configure: error: C compiler cannot create executables!
even after a double emerge -e system!

Something is out of line in 2004.3, at least if you use ~x86
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Wed Nov 24, 2004 10:06 pm    Post subject: Reply with quote

MoonWalker wrote:
Well lets see if you still :lol: when you come to emerge grub?
for me it bombs with a
Code:
checking for C compiler default output name... configure: error: C compiler cannot create executables!
even after a double emerge -e system!

Something is out of line in 2004.3, at least if you use ~x86

Yeah, GRUB is fubared :|
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Wed Nov 24, 2004 11:52 pm    Post subject: Reply with quote

In my fresh install I have not yet got to grub yet, had a problem with perl! but that seems fixed now
Code:
emerge libperl && emerge system


Ok my Q for U: WHAT IS THE WORK AROUND!!
8O
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Thu Nov 25, 2004 5:09 am    Post subject: Reply with quote

Code:
checking for C compiler default output name... configure: error: C compiler cannot create executables!


when you get this error try to comment out cflags in make.conf. I've had this few times now. Everytime some cflags have been quilty for this.[/code]
_________________
My own filemanager project
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 511

PostPosted: Thu Nov 25, 2004 12:04 pm    Post subject: Reply with quote

s4kk3 wrote:
Code:
checking for C compiler default output name... configure: error: C compiler cannot create executables!


when you get this error try to comment out cflags in make.conf. I've had this few times now. Everytime some cflags have been quilty for this.[/code]
No doesn't work in this case...

The workaround though is (credits to Oktane)
Code:
#echo ">=sys-boot/grub-0.95" >> /etc/portage/package.mask
'comment: if /etc/portage/package.mask doesn't exist, first do
#touch /etc/portage/package.mask
#emerge grub
It will emerge grub-0.94 which compiles fine.
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.


Last edited by MoonWalker on Thu Nov 25, 2004 3:10 pm; edited 1 time in total
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Thu Nov 25, 2004 2:38 pm    Post subject: Reply with quote

Hmm I will try this in a bit. thanx for the support on this install
Back to top
View user's profile Send private message
MoonWalker
Guru
Guru


Joined: 04 Jul 2002
Posts: 511

PostPosted: Thu Nov 25, 2004 3:09 pm    Post subject: Reply with quote

heinzg wrote:
Hmm I will try this in a bit. thanx for the support on this install
Ok just a note:
The "2nd" line is a comment and should not be typed in, thought that was clear, but someone stumbled. I have edited and made it clearer now :)

The first line "echos" >=sys-boot/grub-0.95 into /etc/portage/package.mask file where >> means it appends to the current existing file. This demands the file (and directory) exist or you have to create them.
Code:
#mkdir /etc/portage
#touch /etc/portage/package.mask
if the file doesn't exist, the last line could as well be
Code:
#echo ">=sys-boot/grub-0.95" > /etc/portage/package.mask
but that will overwrite any existing data so that's why I didn't list it before, for your own protection :wink:
_________________
/Joakim

Living on earth is expensive, but it includes a free trip around the sun
every year.
Back to top
View user's profile Send private message
Cobron
n00b
n00b


Joined: 01 Feb 2003
Posts: 45

PostPosted: Thu Nov 25, 2004 3:55 pm    Post subject: Reply with quote

Exact same problem here as in the first post (I haven't set nptl in use flags because it errorred on something, but I don't remember what, somewhere at the start of glibc, i believe).
I removed /usr/bin/gcc and symlinked to /usr/i686-pc-linux-gnu/gcc-bin/3.4.3/gcc.
I'm now manually doing an
#emerge --oneshot glibc gcc
and so far so good (glibc is 15 minutes compiling or so).

If emerge finishes correctly, is the system then bootstrapped, or should I emerge something else before doing
#emerge -e system
?

ps:
Assuming glibc and gcc finish correctly, how do I still enable nptl-support?
is the following the correct way:
<adjust make.conf, set USE="nptl">
emerge -C linux-headers
emerge linux26-headers
emerge --oneshot glibc
emerge -e system
?
Back to top
View user's profile Send private message
s4kk3
Apprentice
Apprentice


Joined: 15 Oct 2004
Posts: 232
Location: Finland

PostPosted: Thu Nov 25, 2004 4:11 pm    Post subject: Reply with quote

I would emerge glibc without --oneshot but not sure if it is right method
_________________
My own filemanager project
Back to top
View user's profile Send private message
Beem
n00b
n00b


Joined: 12 Sep 2003
Posts: 13
Location: New Brunswick, Canada

PostPosted: Thu Nov 25, 2004 4:35 pm    Post subject: Reply with quote

I had the same error last night, i ran emerge sync again then resumed bootstrap with bootstrap.sh -r and everything seemed fine after that.
Back to top
View user's profile Send private message
Cobron
n00b
n00b


Joined: 01 Feb 2003
Posts: 45

PostPosted: Thu Nov 25, 2004 5:07 pm    Post subject: Reply with quote

Ok, glibc and gcc emerged succesfully + gcc-config found gcc.
I'm now ... again... compiling glibc for nptl-support (I did what I asked above + also added (nptlonly) in make.conf.

If this works out I'm going to do an emerge (-e , just to be sure) system.

@ s4kk3: I thought --oneshot was to prevent packages to be added to the worldfile (glibc is a system package). I'm very careful about this because I've had my sare of problems in the past with a fully loaded world-file :lol: .
Back to top
View user's profile Send private message
Deranger
Veteran
Veteran


Joined: 26 Aug 2004
Posts: 1215

PostPosted: Thu Nov 25, 2004 6:39 pm    Post subject: Reply with quote

<nothing anymore>

Last edited by Deranger on Fri Nov 26, 2004 12:33 am; edited 1 time in total
Back to top
View user's profile Send private message
heinzg
Tux's lil' helper
Tux's lil' helper


Joined: 10 Aug 2004
Posts: 96
Location: In the EU

PostPosted: Thu Nov 25, 2004 9:50 pm    Post subject: Reply with quote

Ok I have passed the wild grub waters, and it worked, Yahoo :) :D :lol:

Rebooted the mobo, got a beer and gentoo is good !!!
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
Goto page 1, 2  Next
Page 1 of 2

 
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