Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118729 - glibc-2.3.6-r2 and 2.3.5-r3 fail to build with assembler errors
Summary: glibc-2.3.6-r2 and 2.3.5-r3 fail to build with assembler errors
Status: RESOLVED DUPLICATE of bug 116613
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-11 19:17 UTC by Jose daLuz
Modified: 2006-01-12 00:03 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 Jose daLuz 2006-01-11 19:17:56 UTC
I tried updating glibc-2.3.5-r3 to 2.3.6-r2 and ran into the following error:
gcc ../sysdeps/unix/sysv/linux/i386/sysdep.S -c  -I../include -I. -I/var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads -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../libidn/sysdeps/unix -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.5/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h       -DHAVE_INITFINI -DASSEMBLER  -I/var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu/. -DGAS_SYNTAX  -Wa,--noexecstack -Wa,--noexecstack  -o /var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu/sysdep.o -MD -MP -MF /var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu/sysdep.o.dt -MT /var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu/sysdep.o
../sysdeps/unix/i386/sysdep.S: Assembler messages:
../sysdeps/unix/i386/sysdep.S:59: Error: suffix or operands invalid for `push'
../sysdeps/unix/i386/sysdep.S:63: Error: suffix or operands invalid for `pop'
make[2]: *** [/var/tmp/portage/glibc-2.3.6-r2/work/build-x86-x86_64-pc-linux-gnu-linuxthreads/csu/sysdep.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.6-r2/work/glibc-2.3.6'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.6-r2 failed.

I tried this with binutils-2.16.91.0.5 and 2.16.1-r1 with the same results.  I then tried rebuilding glibc-2.3.5-r3 and ran into the same error, yet I had no problems building it a couple of weeks ago.

emerge --info
Portage 2.1_pre3-r1 (default-linux/amd64/2005.1, gcc-3.4.5, glibc-2.3.5-r3, 2.6.15-ck1-r1 x86_64)
=================================================================
System uname: 2.6.15-ck1-r1 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.12.0_pre13
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.91.0.5
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib64/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon64 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/gentopia /usr/local/bmg-main /usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="amd64 X aac aalib alsa audiofile avi bash-completion berkdb bitmap-fonts bzip2 cdr crypt cups curl dbus eds emboss encode esd exif expat fam ffmpeg flac foomaticdb fortran gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 guile hal howl idn imagemagick imlib ipv6 jack java jpeg junit kde lcms ldap libwww lua lzw lzw-tiff mad mikmod mng mono motif mozilla mp3 mpeg ncurses nls nptl ogg openal opengl pam pcre pdflib perl pic png python qt quicktime readline recode ruby samba sdl speex spell sqlite ssl svg tcltk tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev usb userlocales vorbis wmf xine xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU"
Unset:  ASFLAGS, CTARGET, LANG, LDFLAGS, LINGUAS, MAKEOPTS
Comment 1 Chris White (RETIRED) gentoo-dev 2006-01-11 19:27:40 UTC
Long shot, check if linux-headers was updated recently.  There seems to be 2 revisions since the version you have.  Only thing I can think of pulling strange asm warnings like that.
Comment 2 Jose daLuz 2006-01-11 19:40:25 UTC
The only stable update was for sparc/alpha systems, 2.6.11-r4.  I see that 2.6.15_rc6 is hardmasked but available and the changelog for 30 Dec says "Fix glibc compile; start running headers___fix on all the headers by default." so perhaps this is a known 2.6.15/AMD64 issue.

I'll give it a try (and hope it doesn't blow anything else up ;-). Thanks for the tip.
Comment 3 Jose daLuz 2006-01-11 20:15:56 UTC
No, it wasn't the headers. I get the same error with the 2.6.15_rc6 headers.

So I downgraded the headers back to 2.6.11-r3 and rebooted with a 2.6.14 kernel to try to get closer to where I was when this last worked...and I get the same error.

Comment 4 Jakub Moc (RETIRED) gentoo-dev 2006-01-12 00:03:23 UTC

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