This bug is closely related to #118836. gcc-3.4.6-hardened fails to build advancemenu-2.4.13. The error message is identical to bug #118836, when building advancemame. I believe the fix should be very similar. obj/menu/linux/blend/blit/blit.o advance/blit/icopy.h: In function `internal_copy8_step_mmx': advance/blit/icopy.h:195: error: can't find a register in class `BREG' while reloading `asm' make: *** [obj/menu/linux/blend/blit/blit.o] Error 1 Portage 2.1.1_pre3-r5 (hardened/x86/2.6, gcc-3.4.6/hardened, glibc-2.3.6-r4, 2.6.17.1-ck1 i686) ================================================================= System uname: 2.6.17.1-ck1 i686 Intel(R) Pentium(R) M processor 1.70GHz Gentoo Base System version 1.12.1 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.3 [enabled] app-admin/eselect-compiler: 2.0.0_rc2-r1 dev-lang/python: 2.3.5, 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.17 sys-devel/gcc-config: 2.0.0_rc1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks fixpackages metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.ccccom.com/ http://gentoo.oregonstate.edu/ http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LINGUAS="en" PKGDIR="/usr/portage//packages/x86/" 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/" PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-overlay/perl-catalyst /usr/local/portage-overlay/nwn-cep" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aac acpi adns aio akode alsa amr ansi apache2 arts atlas avi bash-completion berkdb bitmap-fonts bluetooth bzip2 cpanplus crypt cups curl dbus dga divx4linux dlloader doc dri dvd dvdread effects encode esd ethereal exscalibar fbcon fbdev ffmpeg fftw firefox flac flash foomaticdb gimp glut gnome gphoto2 gpm gstreamer gtk gtk2 gvim hardened hbci ifp infopipe ipod ipv6 ithreads jack java jpeg jpeg2k kerberos libgda live lzo mad matroska mikmod mjpeg mmx mng modperl mozdevelop mozilla moznoirc mozsvg mp3 mp4 mpeg mplayer mpm-worker musicbrainz ncurses netjack network nfsv4 nptl nptlonly nsplugin ofx ogg oggvorbis opengl pam pcmcia pdf perl pic plugin png pnp ppds python quicktime readline real rsync rtsp ruby scanner scim sdl speex spell sse sse2 ssl subtitles svg tcltk tcpd test theora threads tiff truetype uim unicode usb userlocales vdr vorbis vorbis-psy win32codecs x264 x86 xine xinerama xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en userland_GNU video_cards_ati video_cards_radeon" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 92941 [details] build log
Created attachment 92943 [details, diff] patch the ebuild, use the same diff advancemame used This patch includes advancemenu-2.4.13-pic.patch (which is just a copy of advancemame-0.106.0-pic.patch), and patches the ebuild to apply it. With this patch, advancemenu-2.4.13 builds cleanly for me with gcc-3.4.6-hardened. Mark
ok. added to advancemenu as well. Thanks for the bug report.