Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 189764 - Can't update GCC, glibc
Summary: Can't update GCC, glibc
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-21 21:28 UTC by impact
Modified: 2007-08-22 05:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description impact 2007-08-21 21:28:11 UTC
I've installed Gentoo Linux (Kernel 2.6.22-r4 AMD64). after finishing i started a emerge world. Now the problems begin.

1. GCC (4.2.0 and all other): configure: error: cannot run C compiled programs
(this error comes after 30 mins)
i've tryed to run: USE="multilib" FEATURES="-sandbox" emerge gcc portage - same problem

i masked it and resume, after this glibc 2.6.1 failed too with 
checking size of long double... configure: error:_ cannt compute sizeof (long double),77

ERROR: sys-libs/glibc-2.6.1 failed.
Call Stack:
ebuild.sh, line 1654: called dyn_compile
ebuild.sh, line 990: called qa_call 'src_compile'
ebuild.sh, line 44: called src_compile
glibc-2.6.1.ebuild, line 147: called eblit-run 'src_compile'
glibc-2.6.1.ebuild, line 143: called eblit-glibc-src_compile
src_compile.eblit, line 168: called src_compile
glibc-2.6.1.ebuild, line 147: called eblit-run 'src_compile'
glibc-2.6.1.ebuild, line 143: called eblit-glibc-src_compile
src_compile.eblit, line 179: called toolchain-glibc_src_compile
src_compile.eblit, line 120: called glibc_do_configure 'nptl'
src_compile.eblit, line 97: Called die

failed to configure glibc

Reproducible: Always

Steps to Reproduce:
ever time
Comment 1 impact 2007-08-21 21:45:36 UTC
Portage 2.1.3.6 (default-linux/amd64/2007.0, gcc-4.1.1, glibc-2.5-r0, 2.6.22-gentoo-r4 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r4 x86_64 Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Tue, 21 Aug 2007 16:30:11 +0000
dev-lang/python:     2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.9.6-r2, 1.10
sys-devel/binutils:  2.17.50.0.18
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo "
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="aac acl acpi alsa amd64 arts berkdb bitmap-fonts bluetooth cdr cli cracklib crypt cups dri dvd fortran ftp gdbm gpm iconv ipv6 isdnlog jpeg kde midi mmx mudflap ncurses nls nptl nptlonly nsplugin opengl openmp pam pcre perl png pppd python qt3 qt4 readline reflection session spl sse sse2 ssh ssl tcpd truetype-fonts type1-fonts unicode x xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 2 impact 2007-08-21 21:51:53 UTC
i forget, sandbox also dont work.
i tryed also to emerge it with FEATURES="-sandbox" / FEATURES="-sandbox" emerge -1 sandbox, nothing changed

(gefore gcc and glibc)



 checking whether the C compiler works... configure: error: cannot run C compiled programs.

Comment 3 SpanKY gentoo-dev 2007-08-21 21:52:01 UTC
most likely you grabbed the wrong stage (non-multilib?) and now you're trying to convert it to multilib

your gcc needs to have 32bit support in it `gcc -m32 test.c -o test` before anything else will work
Comment 4 impact 2007-08-21 22:04:49 UTC
i've used

File: stage3-amd64-2007.0.tar.bz2  	117607 KB  	30.04.2007  	16:02:00

from ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo/releases/amd64/current/stages/


it should be the right one? iv'e realy no idea.
Comment 5 impact 2007-08-21 23:48:20 UTC
i found the failure, it was by my site. i followed the gentoo amd64 handbook and while the kernel config (make menuconfig) i haven't activated IA** Emulation :-( now, all works. thank you
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2007-08-22 05:30:32 UTC
Lets resolve this properly.