Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 138905 - [glibc/build] glibc-2.4 fails with --enable-kernel=2.6.17+
Summary: [glibc/build] glibc-2.4 fails with --enable-kernel=2.6.17+
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://sources.redhat.com/bugzilla/sh...
Whiteboard:
Keywords:
: 143229 154135 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-02 13:22 UTC by Michael Cramer
Modified: 2006-11-05 13:27 UTC (History)
9 users (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 Michael Cramer 2006-07-02 13:22:47 UTC
got this after upgrade linux-headers from 2.6.16 to 2.6.17 nothing else changed since last rebuild with 2.6.16 except the header upgrade:

i686-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/openat64.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -march=pentium3 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2     -I../include -I/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/io -I/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl -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../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -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../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/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../ports -I../nptl  -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/io/openat64.o -MD -MP -MF /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/io/openat64.o.dt -MT /var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/io/openat64.o
../sysdeps/unix/sysv/linux/openat.c:74: warning: function declaration isn't a prototype
../sysdeps/unix/sysv/linux/openat.c:148: warning: function declaration isn't a prototype
../sysdeps/unix/sysv/linux/openat.c: In function '__OPENAT':
../sysdeps/unix/sysv/linux/openat.c:156: error: 'va_start' used in function with fixed args
make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-default-i686-pc-linux-gnu-nptl/io/openat.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1545:   Called dyn_compile
  ebuild.sh, line 940:   Called src_compile
  glibc-2.4-r3.ebuild, line 1169:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 253:   Called die

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


bigmichi1 ~ # emerge --info
Portage 2.1.1_pre2-r1 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-gentoo-2006.0 i686)
=================================================================
System uname: 2.6.17-gentoo-2006.0 i686 Pentium III (Coppermine)
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
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
sys-devel/gcc-config: [Not Present]
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr"
DISTDIR="/usr/local/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks metadata-transfer parallel-fetch sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="C"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--sort-common"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/overlays/vmware"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm authfile avi berkdb bitmap-fonts bzip2 cairo cli crypt ctype cups curl curlwrappers dlloader dri eds emboss encode esd fontconfig foomaticdb fortran ftp gcj gd gdbm gif glitz gmp gpm gstreamer gtk gtk2 hash iconv imap imlib inifile ipv6 isdnlog java jpeg ldap libg++ libwww mad memlimit mikmod mmx motif mp3 mpeg mpm-prefork mysql mysqli ncurses nfs nls no-old-linux nptl nptlonly ogg opengl oss pam pcre pdflib pear perl php png ppds pppd python qt qt3 qt4 quicktime readline reflection samba sasl sdl session simplexml soap sockets softquota spell spl sqlite sse ssl swat symlink tcpd test truetype truetype-fonts type1-fonts udev unicode vorbis xinetd xml xml2 xmlrpc xmms xorg xpm xsl xv zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_evdev kernel_linux userland_GNU video_cards_r128"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 deathlove 2006-07-07 11:54:58 UTC
same here:

x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/openat64.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -mcpu=k8 -mtune=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2     -I../include -I/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io -I/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl -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../ports/sysdeps/unix/sysv/linux -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -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../ports/sysdeps/unix/sysv -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../ports/sysdeps/unix -I../nptl/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../ports -I../nptl  -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       -o /var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io/openat64.o -MD -MP -MF /var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io/openat64.o.dt -MT /var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io/openat64.o
../sysdeps/unix/sysv/linux/openat.c:74: warning: function declaration isn't a prototype
../sysdeps/unix/sysv/linux/openat.c:148: warning: function declaration isn't a prototype
../sysdeps/unix/sysv/linux/openat.c: In function '__OPENAT':
../sysdeps/unix/sysv/linux/openat.c:156: error: 'va_start' used in function with fixed args
make[2]: *** [/var/tmp/portage/glibc-2.4-r3/work/build-x86-x86_64-pc-linux-gnu-nptl/io/openat.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.4-r3/work/glibc-2.4'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.4-r3 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_compile
  ebuild.sh, line 939:   Called src_compile
  glibc-2.4-r3.ebuild, line 1168:   Called src_compile
  glibc-2.4-r3.ebuild, line 1179:   Called toolchain-glibc_src_compile
  glibc-2.4-r3.ebuild, line 253:   Called die

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

shuttle ~ # emerge --info
Portage 2.1-r1 (default-linux/amd64/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-no2 x86_64)
=================================================================
System uname: 2.6.17-no2 x86_64 AMD Turion(tm) 64 Mobile Technology MT-34
Gentoo Base System version 1.12.1
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-mcpu=k8 -mtune=k8 -O2 -pipe -msse3"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mcpu=k8 -mtune=k8 -O2 -pipe -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://85.25.128.62 http://gd.tuwien.ac.at/opsys/linux/gentoo/ ftp://gd.tuwien.ac.at/opsys/linux/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo"
LANG="de_DE@euro"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -s"
LINGUAS="de"
MAKEOPTS="-j2"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X a52 aac acpi alsa asf avi bitmap-fonts bzip2 cdparanoia cdr crypt curl custom-cflags dga dpms dri dts dv dvd dvdr dvdread encode exif ffmpeg flac gif gpm gtk gtk2 imagemagick imlib imlib2 isdnlog ithreads java jpeg jpeg2k lcms lzo lzw mad mng motif mp3 mp4 mpeg ncurses nls no-old-linux nptl nptlonly nsplugin ogg on-the-fly-crypt opengl pam pcre perl png pppd python qt qt3 qt4 quicktime readline reflection reiser4 rtc sdl session spell spl ssl sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode userlocales vorbis wxwindows x264 xml xml2 xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse input_devices_synaptics kernel_linux linguas_de userland_GNU video_cards_fglrx"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Christer Ekholm 2006-08-07 14:19:39 UTC
I can confirm. I get the exact same error.
Comment 3 SpanKY gentoo-dev 2006-08-08 15:00:42 UTC
*** Bug 143229 has been marked as a duplicate of this bug. ***
Comment 4 Vladimir Datsevich 2006-08-25 13:35:46 UTC
Hello folks!

Look here:

http://sourceware.org/bugzilla/show_bug.cgi?id=2873
Comment 5 SpanKY gentoo-dev 2006-08-25 22:17:04 UTC
added upstream fix to cvs
Comment 6 Michael Cramer 2006-08-26 23:49:37 UTC
is this fix now in the portage ebuild?
Comment 7 Michael Cramer 2006-09-23 00:28:05 UTC
i tried to rebuild glibc today but i still got the same error, so why is this bug closed?
Comment 8 SpanKY gentoo-dev 2006-09-23 01:00:59 UTC
because i havent released a new patchset
Comment 9 SpanKY gentoo-dev 2006-11-05 13:27:42 UTC
*** Bug 154135 has been marked as a duplicate of this bug. ***