View previous topic :: View next topic |
Author |
Message |
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sun Aug 26, 2007 1:10 am Post subject: glibc 2.5 fails to build on alpha |
|
|
Here's the build error. Please let me know if you've run across this before. If no one has, I'll file a bug report. TIA!!!
Code: | alpha-unknown-linux-gnu-gcc ../sysdeps/unix/sysv/linux/alpha/sigsuspend.S -c -I../include -I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl/signal -I/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl -I../nptl/sysdeps/alpha/elf -I../sysdeps/alpha/elf -I../sysdeps/unix/sysv/linux/alpha/alpha -I../nptl/sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux/wordsize-64 -I../sysdeps/ieee754/ldbl-64-128 -I../sysdeps/ieee754/ldbl-opt -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 -I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../ports/sysdeps/unix -I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../nptl/sysdeps/alpha -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/ldbl-128 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/alpha/soft-fp -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../ports -I../nptl -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/alpha-unknown-linux-gnu/4.1.2/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DASSEMBLER -Wa,--noexecstack -Wa,--noexecstack -o /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Assembler messages:
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:41: Error: previous CFI entry not closed (missing .cfi_endproc)
../sysdeps/unix/sysv/linux/alpha/sigsuspend.S:43: Error: .cfi_endproc without corresponding .cfi_startproc
make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.5-r4/work/build-default-alpha-unknown-linux-gnu-nptl/signal/sigsuspend.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5/signal'
make[1]: *** [signal/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.5-r4/work/glibc-2.5'
make: *** [all] Error 2
!!! ERROR: sys-libs/glibc-2.5-r4 failed.
Call stack:
ebuild.sh, line 1638: Called dyn_compile
ebuild.sh, line 985: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
glibc-2.5-r4.ebuild, line 1171: Called toolchain-glibc_src_compile
glibc-2.5-r4.ebuild, line 272: Called die
!!! make for default failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-libs/glibc-2.5-r4/temp/build.log'. |
And here's my emerge --info output:
Code: | # emerge --info
Portage 2.1.2.12 (default-linux/alpha/2007.0, gcc-4.1.2, glibc-2.3.6-r4, 2.6.22-gentoo-r5-kramer alpha)
=================================================================
System uname: 2.6.22-gentoo-r5-kramer alpha EV56
Gentoo Base System release 1.12.9
Timestamp of tree: Sat, 25 Aug 2007 22:20:01 +0000
ccache version 2.4 [disabled]
app-shells/bash: 3.2_p17
dev-java/java-config: 1.2.11-r1
dev-lang/python: 2.3.5-r3, 2.4.4-r4
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache: 2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.61
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.17
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.22-r2
ACCEPT_KEYWORDS="alpha"
CBUILD="alpha-unknown-linux-gnu"
CFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
CHOST="alpha-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-mieee -O2 -mcpu=ev56 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer parallel-fetch sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.iawnet.sandia.gov/pub/gentoo/"
MAKEOPTS="-j1"
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 --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="a52 aalib acl aim alpha alsa alsalib apache2 bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups dbus dga directfb divx4linux dlloader dri dvd dvdread encode faad2 fbcon flac fortran freetype gdbm gif gimpprint glut glx gpm gtk gtk2 iconv ieee1394 imlib isdnlog jpeg matrox mga midi motif mp3 mpeg mudflap nas ncurses nls nptl nptlonly offensive ogg oggvorbis opengl openmp oss pam pcre perl png posix pppd python qt readline reflection ruby scanner session sox spell spl ssh ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb x x11 xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 bt87x ca0106 cmipci emu10k1 ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 maestro3 trident usb-audio via82xx ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="matrox"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY |
_________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
didymos Advocate
Joined: 10 Oct 2005 Posts: 4798 Location: California
|
Posted: Sun Aug 26, 2007 1:36 am Post subject: |
|
|
You're gonna love this: the solution is...upgrade binutils. There's a bug here:
sys-libs/glibc-2.5+ compile fails on alpha due to CFI mismatch
So, it looks like what you do is update to a binutils >= 2.17.50.0.7 but < 2.17.50.0.16, then emerge glibc, then finally update to the latest binutils if you still want to. The irony is that this is exactly why 2.17.50.0.16 was marked stable on alpha in the first place. _________________ Thomas S. Howard |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Sun Aug 26, 2007 4:41 am Post subject: |
|
|
Big Thanks Thomas for this solution! I won't have a chance to try it for a couple days, but I'll let you know how it turns out. Thanks!!! _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
Lupin_the_3rd Apprentice
Joined: 03 Apr 2005 Posts: 168
|
Posted: Mon Aug 27, 2007 1:24 am Post subject: |
|
|
Hmmm any other suggestions?
I've tried emerging binutils 2.17.50.0.9 and 2.17.50.0.12 and they both fail in the exact same manner as 2.17.50.0.16 does (here: https://forums.gentoo.org/viewtopic-t-577343.html )
So it seems I need a newer glibc to build binutils, but I also need a newer binutils to build glibc.
I also tried emerging glibc 2.4 and that fails with the same error that 2.5 does.
I'm at a loss!!!! I'm about to pitch this alpha out the window. _________________ Compaq XP1000 Alpha EV67 667Mhz w/ 2GB ECC
32bit PCI: ATI Radeon 9100 (DRI works!)
32bit PCI: Generic Firewire 400 card
64bit PCI: BCM5703 Gig-E (Compaq NC7771)
64bit PCI: Sil3124 SATA w/ mdadm RAID1 (pair of WD VelociRaptors) |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|