'emerge gmp' fails on alpha platform (EV56) with a compiler error. I downloaded the source code from ftp.gnu.org/gnu/gmp/ and it builds perfectly fine with the manual process of ./configure; make check; make; so it's apparently a problem with the ebuild on this platform? Reproducible: Always Steps to Reproduce: 1.emerge gmp 2. 3. Actual Results: build fails with a compiler error. It's the exact same error every time. Expected Results: built and installed successfully I've performed several emerge --sync; emerge -e system; emerge -e world iterations so I know my system is totally fresh and up to date.
Here is the compiler error that happens during the ebuild: gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mod_34lsub1 -mieee -O2 -mcpu=ev56 -pipe tmp-mod_34lsub1.s -fPIC -DPIC -o .libs/mod_34lsub1.o ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mod_34lsub1 -mieee -O2 -mcpu=ev56 -pipe mod_34lsub1.asm -o mod_34lsub1.o >/dev/null 2>&1 /bin/sh ../libtool --mode=compile --tag=CC ../mpn/m4-ccas --m4="m4" gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_`echo mode1o | sed 's/_$//'` -mieee -O2 -mcpu=ev56 -pipe `test -f 'mode1o.asm' || echo './'`mode1o.asm ../mpn/m4-ccas --m4=m4 gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mode1o -mieee -O2 -mcpu=ev56 -pipe mode1o.asm -fPIC -DPIC -o .libs/mode1o.o m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_mode1o -DPIC mode1o.asm >tmp-mode1o.s gcc -c -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_mode1o -mieee -O2 -mcpu=ev56 -pipe tmp-mode1o.s -fPIC -DPIC -o .libs/mode1o.o tmp-mode1o.s: Assembler messages: tmp-mode1o.s:117: Error: macro requires $at register while noat in effect make[2]: *** [mode1o.lo] Error 1 make[2]: Leaving directory `/var/tmp/portage/dev-libs/gmp-4.2.1/work/gmp-4.2.1/mpn' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/dev-libs/gmp-4.2.1/work/gmp-4.2.1' make: *** [all] Error 2 !!! ERROR: dev-libs/gmp-4.2.1 failed. Call stack: ebuild.sh, line 1614: Called dyn_compile ebuild.sh, line 971: Called qa_call 'src_compile' environment, line 3566: Called src_compile gmp-4.2.1.ebuild, line 55: Called die !!! emake 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/dev-libs/gmp-4.2.1/temp/build.log'.
Here is my emerge --info emerge --info Portage 2.1.2-r9 (default-linux/alpha/2006.1/desktop, gcc-3.4.6, glibc-2.3.6-r4, 2.6.19-gentoo-r6-kramer alpha) ================================================================= System uname: 2.6.19-gentoo-r6-kramer alpha EV56 Gentoo Base System version 1.12.6 Timestamp of tree: Mon, 19 Feb 2007 17:20:01 +0000 ccache version 2.4 [disabled] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.3.5-r2, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.17 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.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="alpha" AUTOCLEAN="yes" CBUILD="alphaev56-unknown-linux-gnu" CFLAGS="-mieee -O2 -mcpu=ev56 -pipe" CHOST="alphaev56-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="autoconfig 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" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.us.gentoo.org/gentoo-portage" USE="X a52 aalib aim alpha alsa alsalib apache2 arts bash-completion berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dga directfb divx4linux dlloader dri dvd dvdr dvdread encode esd faad2 fam fbcon flac fortran freetype gdbm gif gimpprint glut glx gpm gstreamer gtk gtk2 iconv ieee1394 imlib isdnlog jpeg ldap libg++ mad matrox mga midi mikmod motif mp3 mpeg nas ncurses nls nptl nptlonly offensive ogg oggvorbis opengl oss pam pcre perl png posix ppds pppd python qt qt3 qt4 quicktime readline reflection ruby scanner session sox spell spl ssh ssl svg tcpd theora tiff truetype truetype-fonts type1-fonts unicode usb vorbis x x11 xml 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_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Looks like the exact same failure as reported in bug #170146 FWIW, that bug was reported with an EV67 system and mine is an EV56. Failure appears identical.
George, you are right. Same bug when using something different than CHOST="alpha-unknown-linux-gnu". Since bug #170146 seems to be more advanced, let's move the discussion there. Thanks George. *** This bug has been marked as a duplicate of bug 170146 ***