compiling games-emulation/visualboyadvance-1.7.2-r1 fails with this error message: if i686-pc-linux-gnu-g++ -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"VisualBoyAdvance\" -DVERSION=\"1.7.2\" -DYYTEXT_POINTER=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBPTHREAD=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_MALLOC_H=1 -DHAVE_STRINGS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_ARPA_INET_H=1 -DHAVE_NETINET_IN_H=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBINTL_H=1 -I. -I. -I../../src -DSDL -DSYSCONFDIR=\"/etc/games\" -fno-exceptions -I/usr/include/SDL -D_REENTRANT -O2 -march=pentium4 -pipe -msse3 -DC_CORE -DPROFILING -DMMX -DDEV_VERSION -MT interframe.o -MD -MP -MF ".deps/interframe.Tpo" \ -c -o interframe.o `test -f '../interframe.cpp' || echo './'`../interframe.cpp; \ then mv -f ".deps/interframe.Tpo" ".deps/interframe.Po"; \ else rm -f ".deps/interframe.Tpo"; exit 1; \ fi ../interframe.cpp: In function `void SmartIB(u8*, u32, int, int)': ../interframe.cpp:115: error: can't find a register in class `GENERAL_REGS' while reloading `asm' make[2]: *** [interframe.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/mnt/raid2-p1/var_tmp/portage/visualboyadvance-1.7.2-r1/work/VisualBoyAdvance-1.7.2/src/sdl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/raid2-p1/var_tmp/portage/visualboyadvance-1.7.2-r1/work/VisualBoyAdvance-1.7.2/src' make: *** [all-recursive] Error 1 !!! ERROR: games-emulation/visualboyadvance-1.7.2-r1 failed. !!! Function src_compile, Line 45, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. # # emerge info Portage 2203-svn (hardened/x86/2.6, gcc-3.4.5-hardened, glibc-2.3.6-r3, 2.6.14 i686) ================================================================= System uname: 2.6.14 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz Gentoo Base System version 1.6.14 ccache version 2.3 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2 dev-python/pycrypto: 2.0-r1 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18 sys-devel/autoconf: 2.13, 2.59-r7 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.15.92.0.2-r10, 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="-O2 -march=pentium4 -pipe -msse3" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /opt/mpd/conf /opt/opera/share/opera/config /opt/opera7/share/opera/config /usr/kde/2/share/config /usr/kde/3.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/local/apache/conf /usr/share/config /usr/share/cups/model /usr/share/ogle/oglerc /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/bind /var/mail /var/qmail/control" CONFIG_PROTECT_MASK="/etc/conf.d /etc/env.d /etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=pentium4 -pipe -msse3" DISTDIR="/usr/src/portage-distfiles" FEATURES="autoconfig distlocks fixpackages sandbox sfperms strict userpriv" GENTOO_MIRRORS="http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.solnet.ch http://mirror.switch.ch/ftp/mirror/gentoo/ http://trumpetti.atm.tut.fi/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/local/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib acl acpi alsa arts audiofile avi bash-completion berkdb bzip2 canna cdr cjk crypt cups curl directfb dlloader dts eds encode erandom esd exif expat fam ffmpeg flac freetds gd gdbm geoip ggi gif glut gmp gpm gstreamer gtk gtkhtml guile hardened idn imagemagick imlib ipv6 jack java jpeg junit lcms ldap lesstiff libcaca libwww lirc mad matroska mhash mikmod ming mmx mng motif mozilla mysql nas ncurses nls odbc ogg opengl pam pcre pdflib perl pic png postgres python qt quicktime readline samba sdl slang snmp speex sqlite sse ssl svga tcltk tcpd tetex theora tiff truetype udev unicode userlocales vorbis wmf wxwindows x86 xine xml xml2 xmms xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS #
Created attachment 120957 [details] visualboyadvance-1.7.2-asm-fixes.patch I needed to fix some asm-files before getting it to work on my x86 hardened box. Thanks to Danny (Kugelfang) for providing the fixed asm stuff. After that, visualboyadvance and kvisualboyadvance are working perfectly fine.
games-emulation/visualboyadvance-1.7.2-r4 compiles here fine is the bug still present, or can we close this ticket?
Removed from tree. commit e806269ddce77f1a66136695d9a52e12a74434cb Author: David Seifert <soap@gentoo.org> Date: Mon Jan 30 09:26:51 2017 +0100 games-emulation/visualboyadvance: Remove from tree