texmap/tmapppro.S's dofpcalcs macro includes a spurious '0' past the end which causes the emerge to fail with: i686-pc-linux-gnu-gcc -I ../arch/linux/include -I/usr/include/SDL -D_REENTRANT -pipe -O2 -Wall -march=athlon-xp -O2 -pipe -c `test -f 'tmapppro.S' || echo './'`tmapppro.S /usr/bin/nasm -f elf -d__linux__ -i./ tmap_flt.asm -o tmap_flt.o /usr/bin/nasm -f elf -d__linux__ -i./ tmap_lin.asm -o tmap_lin.o tmapppro.S: Assembler messages: tmapppro.S:125: Error: Bad macro parameter list tmapppro.S:306: Error: no such instruction: `dofpcalcs' tmapppro.S:367: Error: no such instruction: `dofpcalcs' tmapppro.S:464: Error: no such instruction: `dofpcalcs' tmapppro.S:565: Error: no such instruction: `dofpcalcs' make[2]: *** [tmapppro.o] Error 1 I'd guess, since this didn't happen with the 0.2.5 ebuild and there's no patches that change this, that this is due to a stricter interpretation of gas. Seeing how tmappent.S's dofpcalcs macro doesn't have the '0' and it works in both gccs, I've made a patch to cut off the '0' in tmappro.S's dofpcalcs. Reproducible: Always Steps to Reproduce:
Created attachment 63269 [details, diff] Removes spurious '0' to allow assembly to work.
builds fine for me. reopen with the output from emerge --info if it's still a problem.
Gentoo Base System version 1.6.13 Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130, glibc-2.3.5-r0, 2.6.11-gentoo-r9 i686) ================================================================= System uname: 2.6.11-gentoo-r9 i686 AMD Athlon(tm) Processor ccache version 2.2 [enabled] dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.11.92.0.12.3-r2, 2.16.1 sys-devel/libtool: 1.5.18-r1 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://mirror.datapipe.net/gentoo http://gentoo.mirrors.easynews.com/linux/gentoo/ http://mirror.phy.olemiss.edu/mirror/gentoo ftp://ftp.heanet.ie/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/mnt/misc/portage/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowex X Xaw3d a52 aac aalib aim alsa apm arts asm avi berkdb bitmap-fonts bonobo bzlib cdparanoia cdr crypt cscope curl divx4linux doc dv dvd dvdr eds emboss encode esd evo examples exif fam fbcon ffmpeg flac foomaticdb fortran gb gcj gd gdbm ggi gif gmp gnome gnustep gpm gstreamer gtk gtk2 gtkhtml guile icq imagemagick imlib java jpeg junit kde kdeenablefinal kdexdeltas ldap lesstif libg++ libwww live lzo mad mikmod mjpeg mmx mmxext mng motif mozcalendar mozilla mozsvg mp3 mpeg mysql mythtv nas ncurses network nls objc offensive ogg oggvorbis opengl oscar oss pam pdflib perl pic pie png python qt quicktime readline real rtc ruby samba scanner sdl slang softmmu sox spell sse ssl svg svga tcltk tcpd tetex theora threads tiff truetype truetype-fonts type1-fonts unicode usb v4l v4l2 vcd videos vorbis win32codecs wxwindows xine xinerama xml xml2 xmms xv xvid xvmc yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
hmmmm. maybe try it without -march=athlon-xp in CFLAGS. Also, can I see the output from emerge -vp gcc please?
Same problem without -march=athlon-xp. Here's the emerge -pv gcc line: [ebuild R ] sys-devel/gcc-3.3.5.20050130-r1 (-altivec) -bootstrap -boundschecking -build +fortran +gcj +gtk -hardened -ip28 (-multilib) -multislot (-n32) (-n64) +nls -nocxx -nopie -nossp +objc -static -vanilla 0 kB
Fixed in CVS... thanks for the bug report and the patch...
*** Bug 115518 has been marked as a duplicate of this bug. ***