I can't compile glibc-2.5-r3 also -r2 when ccache is active in FEATURES list out of the make.conf file. Reproducible: Always Steps to Reproduce: 1. FEATURES="ccache" 2. emerge glibc 3. Actual Results: This is my emerge glibc with FEATURES="ccache" Little bit shorten due to trouble to blow up a bug report with too much information. I hope that the most important problems are viewable. [...] >>> Unpacking source... * Checking gcc for __thread support ... [ ok ] [...] * 6415_all_sh-glibc-2.5-no-asm-user-header.patch ... [ ok ] * 6416_all_sh-glibc-2.5-no-asm-elf-header.patch ... [ ok ] * 6605_all_glibc-2.4-fpu-cw-mips.patch ... [ ok ] * 6901_all_2.4-amd64-strings-20060609.patch ... [ ok ] * 6901_all_2.4-new-libm-20060321.patch ... [ ok ] * Done with patching * Using GNU config files from /usr/share/libtool * Updating scripts/config.sub [ ok ] * Updating scripts/config.guess [ ok ] /usr/portage/sys-libs/glibc/glibc-2.5-r3.ebuild: line 1106: 22502 Speicherzugriffsfehler (core dumped) $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2> /dev/null >>> Source unpacked. >>> Compiling source in /space/local/Media2/var_tmp/portage/sys-libs/glibc-2.5-r3/work/glibc-2.5 ... * ABI: default * CBUILD: i686-pc-linux-gnu * CHOST: i686-pc-linux-gnu * CTARGET: i686-pc-linux-gnu * CBUILD_OPT: * CTARGET_OPT: * CC: gcc * CFLAGS: -march=athlon-xp -mtune=athlon-xp -pipe -O2 -fno-strict-aliasing * Configuring GLIBC for nptl with: --disable-stackguard-randomization --enable-old-ssp-compat --enable-omitfp --with-tls --with-__thread --enable-add-ons=ports,nptl,c_stubs,libidn --enable-kernel=2.6.9 --without-selinux --without-cvs --enable-bind-now --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --enable-profile --without-gd --with-headers=/usr/include --prefix=/usr --libdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info --libexecdir=/usr/lib/misc/glibc checking build system type... i686-pc-linux-gnu [...] 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... yes checking whether .text pseudo-op must be used... no checking for assembler global-symbol directive... UNKNOWN configure: error: cannot determine asm global directive !!! ERROR: sys-libs/glibc-2.5-r3 failed. Call stack: ebuild.sh, line 1615: Called dyn_compile ebuild.sh, line 972: Called qa_call 'src_compile' ebuild.sh, line 44: Called src_compile glibc-2.5-r3.ebuild, line 1170: Called toolchain-glibc_src_compile glibc-2.5-r3.ebuild, line 270: Called glibc_do_configure 'nptl' glibc-2.5-r3.ebuild, line 944: Called die !!! failed to configure glibc !!! If you need support, post the topmost build error, and the call stack if relevant. !!! A complete build log is located at '/var/log/portage/sys-libs:glibc-2.5-r3:20070602-183203.log'. Expected Results: ------------------- snip -------------------------- After remove ccache out of FEATURES: --------------------------------------------------- It compiles well.
something on your system is screwing things up ... for example: /usr/portage/sys-libs/glibc/glibc-2.5-r3.ebuild: line 1106: 22502 Speicherzugriffsfehler (core dumped) $(tc-getCC ${CTARGET}) "${T}"/gcc_eh_test.c -lgcc_eh 2> /dev/null you should post the config.log from the glibc build dir as an attachment
Created attachment 121314 [details] sys-libs:glibc-2.5-r3:20070606-071334.log This is the whole log until the error occurs.
Created attachment 121317 [details] the config.log config.log. The bug occurs also on my laptop if ccache is active.
try cleaning out your ccache dir and see if it still crashes