Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 49415 - glibc-2.3.3_pre20040420 fails to emerge with 64bit related error
Summary: glibc-2.3.3_pre20040420 fails to emerge with 64bit related error
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Alpha Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-29 13:19 UTC by Mathieu MILLET
Modified: 2004-05-08 14:41 UTC (History)
1 user (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 Mathieu MILLET 2004-04-29 13:19:25 UTC
Here is the error, I get when I emerge glibc-2.3.3_pre20040420 (including the last compilation directive) :

gcc ../sysdeps/unix/sysv/linux/alpha/xstat.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -mcpu=ev56 -pipe -mieee     -I../include -I. -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/io -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere -I../linuxthreads/sysdeps/alpha/elf -I../sysdeps/alpha/elf -I../linuxthreads/sysdeps/unix/sysv/linux/alpha -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/alpha -I../sysdeps/unix/sysv/linux/alpha/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/alpha/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -nostdinc -isystem /usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/io/xstat.o -MD -MP -MF /var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/io/xstat.o.dt
../sysdeps/unix/sysv/linux/alpha/xstat.c: In function `__xstat':
../sysdeps/unix/sysv/linux/alpha/xstat.c:43: error: `__NR_stat64' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/alpha/xstat.c:43: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/alpha/xstat.c:43: error: for each function it appears in.)
../sysdeps/unix/sysv/linux/alpha/xstat.c:52: error: conflicting types for `ChEcK'
../sysdeps/unix/sysv/linux/alpha/xstat.c:43: error: previous declaration of `ChEcK'
make[2]: *** [/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/buildhere/io/xstat.o] Error 1
make[2]: Leaving directory `/home/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2/io'
make[1]: *** [io/subdir_lib] Error 2
make[1]: Leaving directory `/home/var/tmp/portage/glibc-2.3.3_pre20040420/work/glibc-2.3.2'
make: *** [all] Error 2
 
!!! ERROR: sys-libs/glibc-2.3.3_pre20040420 failed.
!!! Function src_compile, Line 535, Exitcode 2
!!! (no error message)


Reproducible: Always
Steps to Reproduce:
1. emerge -uv glibc
2.
3.

Actual Results:  
emerge fails with the error in the details part.

Expected Results:  
emerge successfully

Portage 2.0.50-r6 (default-alpha-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0, 2.6.5)
=================================================================
System uname: 2.6.5 alpha EV56
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="alpha ~alpha"
AUTOCLEAN="yes"
CFLAGS="-mcpu=ev56 -O3 -pipe"
CHOST="alpha-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-mcpu=ev56 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 acl alpha alsa avi berkdb bonobo cdr clamav crypt cups doc dvb dvd
encode esd ethereal evo fam ffmpeg flac flash foomaticdb gamma gb gd gdbm gif
gnome gpm gstreamer gtk gtk2 gtkhtml guile hbci imagemagick imap imlib info
innodb ipv6 jpeg kerberos lcms ldap libg++ libgda libwww mad maildir mbox mcal
memlimit menu mikmod mldonkeypango motif mozilla mozinterfaceinfo mozirc mozp3p
mozsvg mozxmlterm mpeg music ncurses nls oav odbc oggvorbis opengl pam pdf
pdflib perl pic plotutils png postgres ppds python quicktime readline samba sasl
scanner sdl slang slp snmp spell ssl tcltk tcpd tetex tiff transcode truetype
type1 usb v4l videos vim-with-x wmf xfs xinerama xml xml2 xmms xosd xv xvid zlib"
Comment 1 Joshua Kinard gentoo-dev 2004-05-06 18:12:07 UTC
Alpha people might know better, but it sounds like the __NR_stat64 syscall isn't defined in your kernel headers in /usr/include or the kernel source in /usr/src/linux.  You might poke there and look around for patches/explanations on the libc-alpha Mailing list at http://sources.redhat.com/ml/libc-alpha/
Comment 2 Mathieu MILLET 2004-05-06 22:04:03 UTC
This email maybe the solution :

http://sources.redhat.com/ml/libc-alpha/2004-03/msg00205.html

I will try this evening (in France).
Comment 3 Bryan Østergaard (RETIRED) gentoo-dev 2004-05-08 14:41:25 UTC
I removed the ~alpha keyword from glibc-2.3.3_pre20040420 for now.