Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 150013 - glibc-2.5 fails with include errors.
Summary: glibc-2.5 fails with include errors.
Status: RESOLVED DUPLICATE of bug 149830
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-03 15:32 UTC by Volker Hemmann
Modified: 2006-10-04 13:59 UTC (History)
0 users

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


Attachments
my make.conf (make.conf,2.26 KB, text/plain)
2006-10-03 15:35 UTC, Volker Hemmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Volker Hemmann 2006-10-03 15:32:59 UTC
Hi,

when I try to update my system, glibc-2.5 fails with this error:
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
        | x86_64-pc-linux-gnu-gcc -S -o /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.hT3 -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=4     -I../include -I/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/csu -I/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -x c - \
                -MD -MP -MF /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h.dT -MT '/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h.d /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h'
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../nptl/sysdeps/i386/i686/../tls.h:65:3: error: #error "TLS support is required."
In file included from ../time/time.h:43,
                 from ../include/time.h:5,
                 from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../bits/time.h:34:1: warning: "CLOCKS_PER_SEC" redefined
In file included from /usr/include/asm/param.h:8,
                 from /usr/include/linux/param.h:4,
                 from ../sysdeps/unix/sysv/linux/sys/param.h:24,
                 from ../sysdeps/i386/i686/hp-timing.h:25,
                 from ../nptl/descr.h:28,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
/usr/include/asm-x86_64/param.h:20:1: warning: this is the location of the previous definition
In file included from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../include/time.h:105: warning: 'stdcall' attribute ignored
In file included from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:12,
                 from ../nptl/descr.h:39,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../include/sys/socket.h:21: warning: 'stdcall' attribute ignored
make[2]: *** [/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/portvar/var/tmp/portage/glibc-2.5/work/glibc-2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/portvar/var/tmp/portage/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.5.ebuild, line 986:   Called src_compile
  glibc-2.5.ebuild, line 997:   Called toolchain-glibc_src_compile
  glibc-2.5.ebuild, line 221:   Called die

!!! make for x86 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info
Portage 2.1.2_pre2-r2 (default-linux/amd64/2006.1, gcc-4.1.1, glibc-2.4.90.20060805-r1, 2.6.17.5 x86_64)
=================================================================
System uname: 2.6.17.5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.5
Last Sync: Tue, 03 Oct 2006 20:00:01 +0000
ccache version 2.4 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.3.5, 2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.4-r6
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.17.50.0.5
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1

make.conf follows as attachment (comment too long says the error.)
Comment 1 Volker Hemmann 2006-10-03 15:35:40 UTC
Created attachment 98729 [details]
my make.conf
Comment 2 Christoph Mende (RETIRED) gentoo-dev 2006-10-03 15:59:10 UTC
1) ../nptl/sysdeps/i386/i686/../tls.h:65:3: error: #error "TLS support is
required."
2) try again with non-overlay software
Comment 3 Volker Hemmann 2006-10-03 16:21:37 UTC
1)?

2) the old glibc is from overlay. beryl is from overlay, nothing else.

I have a 'non overlay' glibc quickpkg'ed and install it at the moment. I will report back, if it worked with it.

Comment 4 Carsten Lohrke (RETIRED) gentoo-dev 2006-10-03 16:30:34 UTC
Maybe bug 125904 should be reopened!?
Comment 5 Volker Hemmann 2006-10-03 16:34:03 UTC
Hi,

I installed the 2.4-r1 glibc from the package I had and I get the exact same error:
gawk -f ../scripts/gen-as-const.awk ../nptl/sysdeps/i386/tcb-offsets.sym \
        | x86_64-pc-linux-gnu-gcc -S -o /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.hT3 -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=4     -I../include -I/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/csu -I/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -x c - \
                -MD -MP -MF /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h.dT -MT '/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h.d /mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h'
In file included from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../nptl/sysdeps/i386/i686/../tls.h:65:3: error: #error "TLS support is required."
In file included from ../time/time.h:43,
                 from ../include/time.h:5,
                 from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../bits/time.h:34:1: warning: "CLOCKS_PER_SEC" redefined
In file included from /usr/include/asm/param.h:8,
                 from /usr/include/linux/param.h:4,
                 from ../sysdeps/unix/sysv/linux/sys/param.h:24,
                 from ../sysdeps/i386/i686/hp-timing.h:25,
                 from ../nptl/descr.h:28,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
/usr/include/asm-x86_64/param.h:20:1: warning: this is the location of the previous definition
In file included from ../nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:23,
                 from ../nptl/descr.h:30,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../include/time.h:105: warning: 'stdcall' attribute ignored
In file included from ../inet/netinet/in.h:24,
                 from ../include/netinet/in.h:3,
                 from ../resolv/resolv.h:57,
                 from ../include/resolv.h:12,
                 from ../nptl/descr.h:39,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../sysdeps/unix/sysv/linux/i386/sysdep.h:30,
                 from <stdin>:1:
../include/sys/socket.h:21: warning: 'stdcall' attribute ignored
make[2]: *** [/mnt/portvar/var/tmp/portage/glibc-2.5/work/build-x86-x86_64-pc-linux-gnu/tcb-offsets.h] Error 1
make[2]: Leaving directory `/mnt/portvar/var/tmp/portage/glibc-2.5/work/glibc-2.5/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/mnt/portvar/var/tmp/portage/glibc-2.5/work/glibc-2.5'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.5 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  glibc-2.5.ebuild, line 986:   Called src_compile
  glibc-2.5.ebuild, line 997:   Called toolchain-glibc_src_compile
  glibc-2.5.ebuild, line 221:   Called die

!!! make for x86 failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 6 SpanKY gentoo-dev 2006-10-04 06:44:17 UTC
make sure you unmerge app-admin/eselect-compiler and then re-run `gcc-config`
Comment 7 Volker Hemmann 2006-10-04 09:01:49 UTC
Hi,
I can't uninstall eselect-compiler,  app-admin/eselect-compiler is not installed.

;)

Comment 8 Volker Hemmann 2006-10-04 10:42:40 UTC
Hi,

downgrading to 2.4-r1 broke udev and some other stuff. So I am back to 2.4.90...

I used gcc-config to set gcc to a 3.4.6 profile than back to 4.1.1

After that I did an emerge -au glibc.

This time, it wanted to install a gcc-config update first (when I did emerge -auD world, the gcc-config was the last point in the list).

I said yes, and gcc-config 1.3.13-r4 was installed.

After that, the glibc-2.5 update went without problems.

So it was not the overlay-glibc, it was really something wrong with gcc-config.
Comment 9 SpanKY gentoo-dev 2006-10-04 13:59:04 UTC
uhh, downgrading glibc is a sure way to break your machine ... that is why the ebuild prevents such things

*** This bug has been marked as a duplicate of 149830 ***