Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 79938 - glibc-2.3.4.20040808-r1 won't compile on AMD64
Summary: glibc-2.3.4.20040808-r1 won't compile on AMD64
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-29 03:58 UTC by Thomas Pohl
Modified: 2005-01-30 09:42 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 Thomas Pohl 2005-01-29 03:58:11 UTC
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/s-proto-bp.T /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/s-proto-bp.d
mv -f /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/s-proto.T /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/s-proto.d
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/signal'
make[2]: Entering directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/signal'
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal
mkdir /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal
.././scripts/mkinstalldirs /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal
x86_64-pc-linux-gnu-gcc ../sysdeps/unix/sysv/linux/sigpending.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=athlon64 -pipe -mpreferred-stack-boundary=2     -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -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/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -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 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal/sigpending.o -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal/sigpending.o.dt -MT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal/sigpending.o
(echo '#include <sysdep.h>'; \
 echo 'PSEUDO (__kill, kill, 2)'; \
 echo ' ret'; \
 echo 'PSEUDO_END(__kill)'; \
 echo 'libc_hidden_def (__kill)'; \
 echo 'weak_alias (__kill, kill)'; \
 echo 'libc_hidden_weak (kill)'; \
) | x86_64-pc-linux-gnu-gcc -c -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal -I.. -I../libio -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -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/i386/i686 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -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 -nostdinc -isystem /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/include -isystem //usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -DGAS_SYNTAX -Wa,--noexecstack -x assembler-with-cpp -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal/kill.o -
../sysdeps/unix/sysv/linux/sigpending.c: In function `sigpending':
../sysdeps/unix/sysv/linux/sigpending.c:61: error: `__NR_sigpending' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/sigpending.c:61: error: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/sigpending.c:61: error: for each function it appears in.)
make[2]: *** [/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/signal/sigpending.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.4.20040808-r1/work/glibc-2.3.3'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.4.20040808-r1 failed.
!!! Function src_compile, Line 690, Exitcode 2
!!! (no error message)
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1. Switch to profile 2005.0
2. Drink a coffee (maybe you can skip this step but I did)
3. emerge glibc

Actual Results:  
Compiling aborted with error shown above. :o(

Expected Results:  
It should compile completeley, eh? :o)

Portage 2.0.51-r15 (default-linux/amd64/2005.0, gcc-3.4.3, unavailable,
2.6.9-gentoo-r14 x86_64)
=================================================================
System uname: 2.6.9-gentoo-r14 x86_64 AMD Athlon(tm) 64 Processor 3500+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 23 2004, 01:11:15)]
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.59-r5
sys-devel/automake:  1.8.5-r1
sys-devel/binutils:  2.15.90.0.1.1-r3
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon64 -pipe -funit-at-a-time -fpeel-loops -ftracer
-funroll-loops -funswitch-loops"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon64 -pipe -funit-at-a-time -fpeel-loops -ftracer
-funroll-loops -funswitch-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox"
GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/
ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo
http://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://mirror.pudas.net/gentoo"
LANG="de_DE@euro"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage-de /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X acpi aim alsa apache2 apm arts audiofile avi berkdb bitmap-fonts
cdr crypt cups divx4linux doc dvb dvd dvdr emacs encode esd f77 fam flac fortran
gdbm gif gnome gpm gstreamer gtk gtk2 icq imagemagick imlib ipv6 java jp2 jpeg
kde ldap libwww lzw lzw-tiff mad mikmod motif mozilla mp3 multislot ncurses nls
oggvorbis opengl oss pam perl png python qt quicktime readline samba sdl slang
ssl tcltk tcpd tiff truetype truetype-fonts type1-fonts usb userlocales xml2
xmms xpm xrandr xv zlib linguas_de"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Thomas Pohl 2005-01-29 04:00:16 UTC
Also tried glibc-2.3.4.20041102, abortd with another error. 

I tried with CFLAGS="-O1 -pipe", too, no go.
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-29 19:16:02 UTC
1. Switch to profile 2005.0

How did youu do this step?  Did you follow the upgrade process?
Comment 3 Thomas Pohl 2005-01-30 02:25:08 UTC
I was using the script you can find here http://www.gentoo.org/proj/en/base/amd64/2005.0-upgrade-amd64.xml (not completeley  because of glibc...)

Maybe I should revert back to 2004.3 :o(
Comment 4 Thomas Pohl 2005-01-30 03:26:19 UTC
After performing the following steps:

rm /etc/make.profile
ln -s /usr/portage/profiles/default-linux/amd64/2004.3 /etc/make.profile
env-update 

I was able to emerge glibc completely. I will now try to switch by hand instead of using the script.
Comment 5 Thomas Pohl 2005-01-30 05:50:40 UTC
Ok, now I upgraded by hand instead of using the script and glibc compiled fine. 

Maybe there is something buggy in the script?
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-01-30 09:42:42 UTC
That's what I wish we could've found out, but now we can't really check.  I haven't seen any problems like this one before.  It doesn't look like anything that would be directly related to the upgrade process.  I'm really confused by that error message and even more so that it only failed using the Makefile...

I'm going to close this, but if you can reproduce the problem, pleasse reopen.