Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 70236 - dev-libs/gmp-4.1.4: build fails on AMD64
Summary: dev-libs/gmp-4.1.4: build fails on AMD64
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-11-06 02:37 UTC by Gian-Carlo Pascutto
Modified: 2015-04-08 06:58 UTC (History)
0 users

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 Gian-Carlo Pascutto 2004-11-06 02:37:32 UTC
Possibly related to this bug:

http://bugs.gentoo.org/show_bug.cgi?id=66780

/bin/sh ../libtool --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I..    -O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions -c -o neg.lo `test -f 'neg.c' || echo './'`neg.c
n_pow_ui.c: In function `__gmpz_n_pow_ui':
n_pow_ui.c:521: error: extended registers have no high halves
{standard input}: Assembler messages:
{standard input}:221: Error: bad register name `%'
make[2]: *** [n_pow_ui.lo] Error 1
make[2]: *** Waiting for unfinished jobs....
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions -c neg.c  -fPIC -DPIC -o .libs/neg.o
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -D__GMP_WITHIN_GMP -I.. -O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions -c neg.c -o neg.o >/dev/null 2>&1
make[2]: Leaving directory `/var/tmp/portage/gmp-4.1.4/work/gmp-4.1.4/mpz'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/gmp-4.1.4/work/gmp-4.1.4'
make: *** [all] Error 2

!!! ERROR: dev-libs/gmp-4.1.4 failed.
!!! Function src_compile, Line 52, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.2,
glibc-2.3.4.20041102-r0, 2.6.9-rc3 x86_64)
=================================================================
System uname: 2.6.9-rc3 x86_64 AMD Athlon(tm) 64 Processor 3400+
Gentoo Base System version 1.6.5
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.92.0.2-r1
Headers:  sys-kernel/linux26-headers-2.6.8.1-r1
Libtools: sys-devel/libtool-1.5.2-r6
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
CHOST="x86_64-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.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/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="-O3 -pipe -fomit-frame-pointer -march=k8 -fno-inline-functions"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks fixpackages sandbox"
GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/
http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 arts audiofile avantgo berkdb bitmap-fonts
bluetooth bonobo bzlib c++ ccache cdparanoia cdr chroot cjk clamav
clanJavaScript clanVoice codecs crypt cscope cups curl dcc dga directfb doc dts
dvd dvdr dvdread emacs emoticon erandom esd exif f77 faac faad fam fftw firefox
flac foreign-package freetts freetype ftp gcj gdbm gif gimp gnokii gnomedb
gnuplot gphoto2 gpm gprof gs gstreamer gtk gtkhtml hal iconv icq idea
imagemagick imlib ipv6 irmc j2ee java javacomm javadoc jce jikes jit jp2 jpeg
junit kde koffice-plugin ldap libwww lua lzo lzw lzw-tiff mad maildir matroska
md5sum mikmod monkey mono motif mozcalendar mozilla mp3 mpeg4 msn multilib mysql
ncurses nls oggvorbis ooo-kde opengl oscar oss pam pcre pda pdf perl png python
pyzor qdbm qt radeon razor readline recode ruby samba sdl slang sox spamassassin
speex sqlite ssl tcltk tcpd tetex theora thunderbird tiff timidity transcode
truetype usb userlocales vim vim-with-x vnc wxwin wxwindows xinerama xml xml2
xmms xpm xrandr xv xvid xvmc zlib"
Comment 1 Andreas Korinek 2004-11-20 11:13:26 UTC
same problem here, gcc-3.4.3
Comment 2 Mike Doty (RETIRED) gentoo-dev 2004-11-20 21:44:37 UTC
I replaced -O3 with -O2 in /etc/make.conf, and the problem went away.  perhaps we need a replace-flag for amd64.
Comment 3 Gian-Carlo Pascutto 2004-11-30 03:18:44 UTC
Seems to be fixed.