emerge -v uqm: <snip> CC obj/release/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.o {standard input}: Assembler messages: {standard input}:1037: Error: bad expression {standard input}:1037: Error: missing ')' {standard input}:1037: Error: junk `edi)' after expression {standard input}:1039: Error: bad expression {standard input}:1039: Error: missing ')' {standard input}:1039: Error: junk `edi)' after expression {standard input}:1095: Error: bad expression {standard input}:1095: Error: missing ')' {standard input}:1095: Error: junk `ecx)' after expression {standard input}:1097: Error: bad expression {standard input}:1097: Error: missing ')' {standard input}:1097: Error: junk `ecx)' after expression {standard input}:1162: Error: bad expression {standard input}:1162: Error: missing ')' {standard input}:1162: Error: junk `ecx)' after expression {standard input}:1164: Error: bad expression {standard input}:1164: Error: missing ')' {standard input}:1164: Error: junk `ecx)' after expression {standard input}:1206: Error: bad expression {standard input}:1206: Error: missing ')' {standard input}:1206: Error: junk `esi)' after expression {standard input}:1208: Error: bad expression {standard input}:1208: Error: missing ')' {standard input}:1208: Error: junk `esi)' after expression {standard input}:1306: Error: bad expression {standard input}:1306: Error: missing ')' {standard input}:1306: Error: junk `ecx)' after expression {standard input}:1308: Error: bad expression {standard input}:1308: Error: missing ')' {standard input}:1308: Error: junk `ecx)' after expression {standard input}:1349: Error: bad expression {standard input}:1349: Error: missing ')' {standard input}:1349: Error: junk `ecx)' after expression {standard input}:1351: Error: bad expression {standard input}:1351: Error: missing ')' {standard input}:1351: Error: junk `ecx)' after expression {standard input}:1390: Error: bad expression {standard input}:1390: Error: missing ')' {standard input}:1390: Error: junk `esi)' after expression {standard input}:1392: Error: bad expression {standard input}:1392: Error: missing ')' {standard input}:1392: Error: junk `esi)' after expression {standard input}:1476: Error: bad expression {standard input}:1476: Error: missing ')' {standard input}:1476: Error: junk `ecx)' after expression {standard input}:1478: Error: bad expression {standard input}:1478: Error: missing ')' {standard input}:1478: Error: junk `ecx)' after expression {standard input}:1526: Error: bad expression {standard input}:1526: Error: missing ')' {standard input}:1526: Error: junk `ecx)' after expression {standard input}:1528: Error: bad expression {standard input}:1528: Error: missing ')' {standard input}:1528: Error: junk `ecx)' after expression {standard input}:1618: Error: bad expression {standard input}:1618: Error: missing ')' {standard input}:1618: Error: junk `ecx)' after expression {standard input}:1620: Error: bad expression {standard input}:1620: Error: missing ')' {standard input}:1620: Error: junk `ecx)' after expression {standard input}:1688: Error: bad expression {standard input}:1688: Error: missing ')' {standard input}:1688: Error: junk `ecx)' after expression {standard input}:1690: Error: bad expression {standard input}:1690: Error: missing ')' {standard input}:1690: Error: junk `ecx)' after expression {standard input}:3127: Error: bad expression {standard input}:3127: Error: missing ')' {standard input}:3127: Error: junk `edi)' after expression {standard input}:3129: Error: bad expression {standard input}:3129: Error: missing ')' {standard input}:3129: Error: junk `edi)' after expression {standard input}:3168: Error: bad expression {standard input}:3168: Error: missing ')' {standard input}:3168: Error: junk `edi)' after expression {standard input}:3170: Error: bad expression {standard input}:3170: Error: missing ')' {standard input}:3170: Error: junk `edi)' after expression {standard input}:3207: Error: bad expression {standard input}:3207: Error: missing ')' {standard input}:3207: Error: junk `edi)' after expression {standard input}:3209: Error: bad expression {standard input}:3209: Error: missing ')' {standard input}:3209: Error: junk `edi)' after expression {standard input}:3260: Error: bad expression {standard input}:3260: Error: missing ')' {standard input}:3260: Error: junk `esi)' after expression {standard input}:3262: Error: bad expression {standard input}:3262: Error: missing ')' {standard input}:3262: Error: junk `esi)' after expression {standard input}:3313: Error: bad expression {standard input}:3313: Error: missing ')' {standard input}:3313: Error: junk `ecx)' after expression {standard input}:3315: Error: bad expression {standard input}:3315: Error: missing ')' {standard input}:3315: Error: junk `ecx)' after expression {standard input}:3366: Error: bad expression {standard input}:3366: Error: missing ')' {standard input}:3366: Error: junk `ecx)' after expression {standard input}:3368: Error: bad expression {standard input}:3368: Error: missing ')' {standard input}:3368: Error: junk `ecx)' after expression make: *** [obj/release/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.o] Error 1 emerge --info: Portage 2.0.54 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 AMD Athlon(tm) XP 2200+ Gentoo Base System version 1.6.14 dev-lang/python: 2.3.5-r2, 2.4.2 sys-apps/sandbox: 1.2.12 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.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 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 /opt/jetty/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/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/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sfperms strict userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.hilconet.org/gentoo-portage" USE="x86 3dfx 3dnow 3dnowex X Xaw3d alsa apache2 arts avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia chroot crypt cups curl dga directfb djbfft doc dvd ecc fbcon firefox foomaticdb gif glibc-omitfp gstreamer gtk2 hardened imlib java javamail jce jikes jpeg jpeg2k junit kde linuxthreads-tls matrox mmx mmx2 mng mozdevelop mozilla mozsvg mozxmlterm mp3 mpeg music ncurses nntp nodrm nomotif nptl nsplugin nvidia offensive ofx ogg oggvorbis opengl pam pam_chroot pam_console pam_timestamp perl png ppds pwdb python qt quicktime quotes readline real remix rtc sdl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode userlocales vim-with-x voice vorbis win32codecs wmf xine xml xml2 xmms xprint xscreensaver xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Builds fine for me with latest stable gcc. Try it with that version and see if that helps.
~ # gcc-config -c i686-pc-linux-gnu-3.4.5 ~ # emerge uqm <snip> CC obj/release/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.o {standard input}: Assembler messages: {standard input}:1048: Error: bad expression {standard input}:1048: Error: missing ')' {standard input}:1048: Error: junk `esi)' after expression <snip> make: *** [obj/release/src/sc2code/libs/graphics/sdl/2xscalers_mmx.c.o] Error 1 I get the exact same error as before (I was using i686-pc-linux-gnu-3.3.6 then).
Can I see the output from "emerge -evuDp uqm" please?
I'm going to run a "revdep-rebuild --soname libstdc++.so.5" tonight (to finish the move to gcc-3.4.5) and see if that makes any difference. ~ # emerge -evuDp uqm These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] sys-devel/patch-2.5.9 -build -static 197 kB [ebuild N ] sys-libs/zlib-1.2.3 -build 415 kB [ebuild N ] media-libs/libpng-1.2.8 +doc 500 kB [ebuild N ] sys-libs/ncurses-5.4-r6 -bootstrap -build -debug +doc -gpm -minimal -nocxx +unicode 2,103 kB [ebuild N ] sys-apps/texinfo-4.8-r2 -build -nls -static 1,486 kB [ebuild N ] sys-apps/groff-1.19.1-r2 +X 2,567 kB [ebuild N ] sys-apps/man-1.6-r1 -nls 228 kB [ebuild N ] sys-devel/binutils-config-1.8-r6 0 kB [ebuild N ] sys-devel/gnuconfig-20051223 0 kB [ebuild N ] sys-devel/binutils-2.16.1 -multislot -multitarget -nls -test 12,392 kB [ebuild N ] sys-devel/m4-1.4.3 -nls 298 kB [ebuild N ] sys-devel/bison-1.875d -nls -static 862 kB [ebuild N ] sys-apps/sed-4.1.4-r1 -bootstrap -build -nls -static 0 kB [ebuild N ] sys-devel/gcc-config-1.3.12-r6 0 kB [ebuild N ] sys-devel/gcc-3.4.5 (-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk -ip28 (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie -nossp -objc -vanilla 0 kB [ebuild N ] sys-devel/gcc-3.3.6 (-altivec) -bootstrap -boundschecking -build -fortran -gcj -gtk -ip28 (-multilib) -multislot (-n32) (-n64) -nls -nocxx -nopie -nossp -objc -vanilla 0 kB [ebuild N ] sys-kernel/linux-headers-2.6.11-r2 36,470 kB [ebuild N ] sys-libs/glibc-2.3.5-r2 -build -erandom -glibc-compat20 +glibc-omitfp +hardened +linuxthreads-tls (-multilib) -nls +nptl -nptlonly -pic -profile (-selinux) +userlocales 0 kB [ebuild N ] sys-apps/findutils-4.1.20-r2 -build -nls (-selinux) -static 0 kB [ebuild N ] dev-python/python-docs-2.4.2 2,293 kB [ebuild N ] app-shells/bash-3.0-r12 -bashlogger -build -nls 2,404 kB [ebuild N ] sys-libs/readline-5.0-r2 1,777 kB [ebuild N ] sys-apps/diffutils-2.8.7-r1 -nls -static 1,037 kB [ebuild N ] dev-libs/openssl-0.9.7i -bindist -emacs -test +zlib 0 kB [ebuild N ] app-misc/ca-certificates-20050804 0 kB [ebuild N ] dev-libs/expat-1.95.8 -test 310 kB [ebuild N ] dev-lang/python-2.4.2 +X +berkdb -bootstrap -build +doc -gdbm -ipv6 +ncurses -nocxx +readline +ssl -tcltk -ucs2 7,676 kB [ebuild N ] dev-java/java-config-1.2.11-r1 15 kB [ebuild N ] dev-java/blackdown-jre-1.4.2.03 -browserplugin +mozilla +nsplugin 0 kB [ebuild N ] dev-python/python-fchksum-1.7.1 26 kB [ebuild N ] app-arch/unzip-5.52 1,113 kB [ebuild N F ] dev-java/java-sdk-docs-1.4.2 33,591 kB [ebuild N ] media-sound/alsa-headers-1.0.10 0 kB [ebuild N ] media-libs/freetype-2.1.9-r1 -bindist +doc +zlib 1,183 kB [ebuild N ] media-libs/gd-2.0.33 -fontconfig +jpeg +png +truetype -xpm 0 kB [ebuild N ] sys-devel/gettext-0.14.4 +doc -emacs -nls 6,869 kB [ebuild N ] media-libs/fontconfig-2.2.3 732 kB [ebuild N ] dev-util/pkgconfig-0.20 +hardened 0 kB [ebuild N ] media-gfx/graphviz-1.16-r1 -tcltk 4,284 kB [ebuild N ] sys-devel/autoconf-2.13 433 kB [ebuild N ] sys-devel/autoconf-wrapper-3-r1 0 kB [ebuild N ] sys-devel/autoconf-2.59-r6 -emacs 903 kB [ebuild N ] sys-libs/cracklib-2.8.5-r1 -nls +python 0 kB [ebuild N ] sys-devel/flex-2.5.33-r1 -nls -static 0 kB [ebuild N ] sys-libs/pwdb-0.62 (-selinux) 130 kB [ebuild N ] sys-libs/pam-0.78-r3 +berkdb -nis +pam_chroot +pam_console +pam_timestamp +pwdb (-selinux) 8,647 kB [ebuild N ] sys-apps/sandbox-1.2.12 217 kB [ebuild N ] app-portage/portage-manpages-1.2 0 kB [ebuild N ] dev-lang/swig-1.3.21 +X +doc -guile +java +perl -php +python -ruby -tcltk 1,975 kB [ebuild N ] sys-libs/libcap-1.10-r5 -nocxx +python -static 38 kB [ebuild N ] app-misc/pax-utils-0.1.9 +caps 0 kB [ebuild N ] sys-apps/debianutils-2.14.1-r1 -build -static 123 kB [ebuild N ] sys-apps/portage-2.0.54 -build +doc (-selinux) 0 kB *** Please update portage to the above version before proceeding. Failure to do so may result in failed or improper merges. A simple 'emerge -u portage' is sufficient. [ebuild N ] sys-apps/shadow-4.0.7-r4 -nls -nousuid +pam (-selinux) -skey 995 kB [ebuild N ] sys-apps/pam-login-3.17 -livecd -nls (-selinux) 154 kB [ebuild N ] sys-libs/com_err-1.38 -nls 3,536 kB [ebuild N ] sys-libs/ss-1.38 -nls 0 kB [ebuild N ] sys-fs/e2fsprogs-1.38 -nls -static 0 kB [ebuild N ] app-crypt/hashalot-0.3-r2 0 kB [ebuild N ] sys-apps/util-linux-2.12r-r2 +crypt -nls -old-crypt +pam +perl (-selinux) -static 0 kB [ebuild N ] dev-libs/libxml2-2.6.23 -debug +doc -ipv6 +python +readline 0 kB [ebuild N ] app-text/build-docbook-catalog-1.2 3 kB [ebuild N ] app-text/docbook-xsl-stylesheets-1.68.1-r1 944 kB [ebuild N ] app-text/docbook-xml-dtd-4.2-r1 76 kB [ebuild N ] dev-libs/libgpg-error-1.0-r1 -nls 316 kB [ebuild N ] dev-libs/libgcrypt-1.2.2-r1 -nls 2 kB [ebuild N ] dev-libs/libxslt-1.1.15 +crypt -debug +python -static 1,780 kB [ebuild N ] app-text/xmlto-0.0.18 89 kB [ebuild N ] sys-devel/make-3.80-r3 -build -nls -static 0 kB [ebuild N ] app-text/sgml-common-0.6.3-r4 74 kB [ebuild N ] app-text/opensp-1.5.1 -nls 1,385 kB [ebuild N ] app-text/openjade-1.3.2-r1 873 kB [ebuild N ] app-text/docbook-sgml-dtd-4.1-r3 55 kB [ebuild N ] app-text/docbook-sgml-dtd-4.0-r3 54 kB [ebuild N ] sys-apps/which-2.16 122 kB [ebuild N ] dev-perl/SGMLSpm-1.03-r5 91 kB [ebuild N ] app-text/docbook-dsssl-stylesheets-1.79 271 kB [ebuild N ] app-text/docbook-sgml-dtd-3.0-r3 42 kB [ebuild N ] app-text/docbook-sgml-dtd-3.1-r3 54 kB [ebuild N ] www-client/lynx-2.8.5-r2 -ipv6 -nls +ssl 2,131 kB [ebuild N ] app-text/docbook-xml-simple-dtd-4.1.2.4-r2 34 kB [ebuild N ] app-text/docbook-xml-simple-dtd-1.0-r1 30 kB [ebuild N ] app-text/docbook-sgml-utils-0.6.14 -tetex 122 kB [ebuild N ] sys-apps/sysvinit-2.86-r3 -bootstrap -build -ibm (-selinux) -static 0 kB [ebuild N ] sys-apps/help2man-1.33.1 -nls 73 kB [ebuild N ] sys-devel/automake-1.5 514 kB [ebuild N ] sys-devel/automake-1.6.3 465 kB [ebuild N ] sys-devel/automake-1.7.9-r1 564 kB [ebuild N ] sys-devel/automake-1.4_p6 366 kB [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB [ebuild N ] sys-devel/automake-1.8.5-r3 647 kB [ebuild N ] sys-apps/coreutils-5.2.1-r7 -acl -build -nls (-selinux) -static 0 kB [ebuild N ] sys-apps/baselayout-1.11.14-r6 -bootstrap -build -static +unicode 0 kB [ebuild N ] sys-apps/hotplug-base-20040401 40 kB [ebuild N ] sys-fs/udev-079-r1 (-selinux) 0 kB [ebuild N ] sys-kernel/gentoo-sources-2.6.15-r1 -build +doc -symlink (-ultra1) 0 kB [ebuild N ] app-arch/bzip2-1.0.3-r5 -build -static 653 kB [ebuild N ] x11-base/opengl-update-2.2.4 0 kB [ebuild N ] x11-apps/ttmkfdir-3.0.9-r3 19 kB [ebuild N ] x11-base/xorg-x11-6.8.2-r6 +3dfx +3dnow +bitmap-fonts -cjk -debug -dlloader -dmx +doc -font-server -insecure-drivers -ipv6 -minimal +mmx -nls -nocxx +opengl +pam -sdk +sse -static +truetype-fonts +type1-fonts (-uclibc) +xprint +xv 44,705 kB [ebuild N ] x11-libs/Xaw3d-1.5-r1 277 kB [ebuild N ] sys-apps/file-4.13 -build +python 410 kB [ebuild N ] app-arch/cpio-2.6-r5 -nls 437 kB [ebuild N ] app-arch/rpm2targz-9.0-r3 2 kB [ebuild N ] sys-apps/utempter-0.5.5.6 20 kB [ebuild N ] x11-terms/xterm-207 +Xaw3d +doc -toolbar +truetype +unicode 0 kB [ebuild N ] media-libs/glide-v3-3.10-r4 -voodoo3 3,573 kB [ebuild N ] media-fonts/gnu-gs-fonts-std-8.11 3,664 kB [ebuild N ] app-text/poppler-0.5.0-r4 -cairo +jpeg +zlib 0 kB [ebuild N ] media-libs/tiff-3.7.3 1,242 kB [ebuild N ] net-print/cups-1.1.23-r7 -gnutls -nls +pam -samba -slp +ssl 0 kB [ebuild N ] app-text/ghostscript-esp-7.07.1-r8 +X -cjk +cups -emacs -gtk 5,276 kB [ebuild N ] media-libs/lcms-1.14-r1 +jpeg +python +tiff +zlib 0 kB [ebuild N ] media-libs/libmng-1.0.8-r1 497 kB [ebuild N ] x11-libs/qt-3.3.4-r8 +cups -debug +doc -examples -firebird +gif -immqt -immqt-bc -ipv6 -mysql -nas -odbc +opengl -postgres -sqlite -xinerama 14,101 kB [ebuild N ] app-doc/doxygen-1.4.4 +doc +qt -tetex +unicode 2,801 kB [ebuild N ] media-libs/alsa-lib-1.0.10 +doc -jack 0 kB [ebuild N ] dev-java/blackdown-jdk-1.4.2.03 +X +alsa -browserplugin +doc +mozilla +nsplugin 0 kB [ebuild N ] sys-libs/db-4.2.52_p2-r1 -bootstrap +doc +java -nocxx -tcltk 3,980 kB [ebuild N ] sys-devel/libperl-5.8.7 +berkdb -debug -gdbm -ithreads 0 kB [ebuild N ] dev-lang/perl-5.8.7-r3 +berkdb -build -debug +doc -gdbm -ithreads -minimal -perlsuid 0 kB [ebuild N ] sys-devel/automake-1.9.6-r1 747 kB [ebuild N ] sys-devel/libtool-1.5.22 0 kB [ebuild N ] media-libs/jpeg-6b-r5 598 kB [ebuild N ] app-admin/perl-cleaner-1.01 3 kB [ebuild N ] media-libs/libogg-1.1.2 410 kB [ebuild N ] media-libs/libvorbis-1.1.0 -aotuv 1,281 kB [ebuild N ] media-libs/libmad-0.15.1b -debug 490 kB [ebuild N ] media-libs/audiofile-0.2.6-r1 365 kB [ebuild N ] app-text/docbook-xml-dtd-4.1.2-r5 73 kB [ebuild N ] dev-util/gtk-doc-1.4-r1 -emacs 145 kB [ebuild N ] dev-libs/glib-2.8.5 -debug +doc +hardened 0 kB [ebuild N ] kde-base/kde-env-3-r4 0 kB [ebuild N ] kde-base/arts-3.4.3 +alsa +arts -artswrappersuid -debug -esd +hardened -jack -kdeenablefinal +mp3 -nas +vorbis -xinerama 0 kB [ebuild N ] media-libs/giflib-4.1.4 +X -rle 591 kB [ebuild N ] sci-libs/djbfft-0.76 -static 78 kB [ebuild N ] media-libs/a52dec-0.7.4-r5 +djbfft -oss 0 kB [ebuild N ] dev-lang/nasm-0.98.39-r1 -build +doc 531 kB [ebuild N ] media-libs/libmpeg3-1.5.2 615 kB [ebuild N ] dev-libs/DirectFB-0.9.22 -debug +fbcon -fusion +gif +jpeg +mmx +mpeg +png +sdl +sse -static -sysfs +truetype +zlib 1,912 kB [ebuild N ] media-libs/libsdl-1.2.8-r1 +X -aalib +alsa +arts +dga +directfb -esd +fbcon -ggi -libcaca -nas -noaudio -noflagstrip -nojoystick -novideo +opengl -oss -pic -svga -xinerama +xv 0 kB [ebuild N ] media-libs/sdl-image-1.2.3-r1 +gif +jpeg +png +tiff 621 kB [ebuild N ] games-strategy/uqm-0.5.0 +music +opengl +remix +voice 0 kB Total size of downloads: 239,361 kB
yeah, do the revdep-rebuild thing. I bet if you run "emerge -evuD uqm" that the problem goes away.
Ok, I ran "revdep-rebuild --soname libstdc++.so.5"; everything now links to libstdc++.so.6 and the compiler is GCC 3.4.5. Running "emerge -vDuN uqm" still gives the same error. You didn't really mean I should run "emerge -evuD uqm" did you? That's 149 packages!
yep. start it off before you go to bed.
reopen after that finishes if it's still a problem.
Reinstalled Gentoo from scratch. Main difference with previous installation: no hardened; uqm now compiles properly.
Yeah, that'd do it.