Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 180659 - glibc-2.5-r3 can't compile when ccache in FEATURES string from make.conf
Summary: glibc-2.5-r3 can't compile when ccache in FEATURES string from make.conf
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-02 19:59 UTC by Lars Langhans
Modified: 2007-06-18 03:06 UTC (History)
0 users

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


Attachments
sys-libs:glibc-2.5-r3:20070606-071334.log (sys-libs:glibc-2.5-r3:20070606-071334.log,11.70 KB, text/plain)
2007-06-06 07:21 UTC, Lars Langhans
Details
the config.log (config.log,24.91 KB, text/plain)
2007-06-06 07:23 UTC, Lars Langhans
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Langhans 2007-06-02 19:59:01 UTC
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.
Comment 1 SpanKY gentoo-dev 2007-06-03 03:30:18 UTC
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
Comment 2 Lars Langhans 2007-06-06 07:21:37 UTC
Created attachment 121314 [details]
sys-libs:glibc-2.5-r3:20070606-071334.log

This is the whole log until the error occurs.
Comment 3 Lars Langhans 2007-06-06 07:23:50 UTC
Created attachment 121317 [details]
the config.log

config.log.
The bug occurs also on my laptop if ccache is active.
Comment 4 SpanKY gentoo-dev 2007-06-18 03:06:30 UTC
try cleaning out your ccache dir and see if it still crashes