if i emerge -vauD gcc then ... Calculating dependencies ...done! [ebuild U ] sys-libs/glibc-2.3.5-r1 [2.3.5] -build -erandom -glibc-compat20 -glibc-omitfp* -hardened* -linuxthreads-tls* (-multilib) +nls -nptl -nptlonly -pic -profile (-selinux) +userlocales 0 kB [ebuild U ] sys-devel/gcc-3.4.4-r1 [3.4.3-r1] (-altivec) -bootstrap -boundschecking -build +fortran* -gcj +gtk* -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp -objc -static -vanilla 0 kB Total size of downloads: 0 kB Do you want me to merge these packages? [Yes/No] Yes i want. Then the "configure" end with a error. why? ... here is the output: checking build system type... i686-pc-linux-gnu checking host system 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/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... x86_64-pc-linux-gnu-gcc checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ANSI C... none needed checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for i686-pc-linux-gnu-g++... no checking for i686-pc-linux-gnu-c++... no checking for i686-pc-linux-gnu-gpp... no checking for i686-pc-linux-gnu-aCC... no checking for i686-pc-linux-gnu-CC... no checking for i686-pc-linux-gnu-cxx... no checking for i686-pc-linux-gnu-cc++... no checking for i686-pc-linux-gnu-cl... no checking for i686-pc-linux-gnu-FCC... no checking for i686-pc-linux-gnu-KCC... no checking for i686-pc-linux-gnu-RCC... no checking for i686-pc-linux-gnu-xlC_r... no checking for i686-pc-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/as is GNU as... yes checking whether /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld is GNU ld... yes checking for /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/as... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/as checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/as... 2.15.92.0.2, ok checking for /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld... /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld checking version of /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld... 2.15.92.0.2, ok checking for pwd... /bin/pwd checking for i686-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking version of x86_64-pc-linux-gnu-gcc... 3.4.3, ok checking for gnumake... no checking for gmake... gmake checking version of gmake... 3.80, ok checking for gnumsgfmt... no checking for gmsgfmt... gmsgfmt checking version of gmsgfmt... 0.14.4, ok checking for makeinfo... makeinfo checking version of makeinfo... 4.8, ok checking for sed... sed checking version of sed... 4.1.4, ok checking for autoconf... autoconf checking whether autoconf works... yes checking whether ranlib is necessary... no checking LD_LIBRARY_PATH variable... ok checking whether GCC supports -static-libgcc... -static-libgcc checking for bash... /bin/sh checking for gawk... gawk checking for perl... /usr/bin/perl checking for install-info... /usr/bin/install-info checking for bison... /usr/bin/bison checking for signed size_t type... no checking for libc-friendly stddef.h... yes checking whether we need to use -P to assemble .S files... no checking whether .text pseudo-op must be used... yes checking for assembler global-symbol directive... .globl checking for .set assembler directive... yes checking for assembler .type directive prefix... @ checking for .symver assembler directive... yes checking for ld --version-script... yes checking for .previous assembler directive... yes checking for .protected and .hidden assembler directive... yes checking whether __attribute__((visibility())) is supported... yes checking for broken __attribute__((visibility()))... no checking for broken __attribute__((alias()))... no checking whether to put _rtld_local into .sdata section... no checking for .preinit_array/.init_array/.fini_array support... yes checking for libunwind-support in compiler... no checking for -z nodelete option... yes checking for -z nodlopen option... yes checking for -z initfirst option... yes checking for -z relro option... yes checking for -Bgroup option... yes checking for libgcc_s suffix... _32 checking for --as-needed option... yes checking whether --noexecstack is desirable for .S files... yes checking for -z combreloc... yes checking for -z execstack... yes checking for -fpie... yes checking for -fno-unit-at-a-time... yes checking whether cc puts quotes around section names... no checking for assembler .weak directive... yes checking whether CFI directives are supported... yes checking if -g produces usable source locations for assembler-with-cpp... yes checking for ld --no-whole-archive... yes checking for gcc -fexceptions... yes checking for DWARF2 unwind info support... no_registry_needed checking for __builtin_expect... yes checking for __builtin_memset... no checking for redirection of built-in functions... yes checking for local label subtraction... yes checking for libgd... no checking for egrep... grep -E checking for ANSI C header files... no checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for long double... yes checking size of long double... configure: error: cannot compute sizeof (long double), 77 See `config.log' for more details. !!! ERROR: sys-libs/glibc-2.3.5-r1 failed. !!! Function glibc_do_configure, Line 912, Exitcode 1 !!! failed to configure glibc !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: emerge -vauD gcc
jesus ~ # cat /etc/portage/package.keywords gnome-base/gnome-light ~amd64 app-portage/porthole ~amd64 dev-util/eclipse-sdk ~amd64 x11-base/opengl-update ~amd64 x11-base/xorg-x11 ~amd64 dev-util/colorgcc ~amd64 media-video/nvidia-kernel ~amd64 media-video/nvidia-glx ~amd64 sys-kernel/gentoo-sources ~amd64 app-admin/eselect-opengl ~amd64 x11-base/opengl-update ~amd64 app-admin/eselect ~amd64 #sys-devel/gcc ~amd64 #sys-libs/glibc ~amd64 sys-devel/gcc ~amd64 sys-devel/gcc-config ~amd64 sys-libs/libstdc++-v3 ~amd64 sys-libs/glibc ~amd64 jesus ~ # cat /etc/portage/package.use app-misc/mc -X gpm samba net-fs/samba oav readline cups pam dev-python/gnome-python-extras firefox x11-base/xorg-x11 -doc -hardened dlloader app-shells/bash bash-completion app-portage/genlop bash-completion #sys-libs/glibc userlocales jesus ~ # cat /etc/make.conf # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -march=k8 -fomit-frame-pointer -pipe -ffast-math -mfpmath=sse -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops" # -march=k8 CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" MAKEOPTS="-j2" #FEATURES="ccache distcc" #FEATURES="ccache collision-protect sandbox" FEATURES="ccache sandbox -strict" VIDEO_CARDS="nvidia" USE="acpi aqua atk audiofile bl bootsplash browserplugin bzip2 ccache cpudetection dmx doc dvd dvdr dvdread fat fbcon font-server gatos gd gnokii hal hpn idea ieee1394 junit libclamav logitech-mouse mozsvg no-old-linux ntfs openssh openssl osc pam_console pcre posix recode reiserfs rtc sendmail shared sharedmem smime sockets sql sse subtitles sybase sybase-ct sysfs threads vim-with-x wifi xinerama -arts -ipv6 -oss" #USE="glibc-omitfp" LANG="de_DE@euro" LANGUAGE="de_DE@euro" LINGUAS="de" CCACHE_SIZE="996M" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" PORTAGE_TMPFS="/dev/shm" AUTOCLEAN="yes"
Please attach the config.log - should be in /var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5/ or similar.
(In reply to comment #2) > Please attach the config.log - should be in > /var/tmp/portage/glibc-2.3.5-r1/work/glibc-2.3.5/ or similar. I'm having the same problem. The config.log file said it couldn't find ac_nonexistent.h while trying to compile conftest.c
*** Bug 106191 has been marked as a duplicate of this bug. ***
please attach the config.log as asked in comment #2, otherwise we can't help you
post the config.log file as an attachment
Umm. I seem to have resolved this problem on my own. I think it was related to multilib. I guess multilib isn't quite ready for prime time yet, so... I vaguely remember that the solution was that you have to emerge the packages: app-emulation/emul-linux-x86-{glibc,compat,baselibs,qtlibs,gtklibs,xlibs} Anyway, I must have solved it, because glibc-2.3.5-r1 is now installed on my system.