after emerging scummvm (gcc 3.3.1-r1) and launching it i got $ scummvm illegal instruction $ Reproducible: Always Steps to Reproduce: 1. emerge rsync 2. emerge -DuU scummvm 3. scummvm Actual Results: scummvm lanched got sigill ( i saw it with strace) Expected Results: working as before Portage 2.0.49-r4 (default-x86-1.4, gcc-3.3.1, glibc-2.3.2-r1, 2.4.20-gaming-r1) ================================================================= System uname: 2.4.20-gaming-r1 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 1.90GHz distcc 2.7 i686-pc-linux-gnu (protocol 1) (default port 3632) [disabled] ccache version 2.2 [enabled] ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="gcc3" CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share /config /var/bind /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/te xmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs sandbox ccache" GENTOO_MIRRORS="http://194.83.57.3/sites/www.ibiblio.org/gentoo/ ftp://gentoo.li nux.no/pub/gentoo/ rsync://mirrors.sec.informatik.tu-darmstadt.de/gentoo http:// 212.219.56.146/sites/www.ibiblio.org/gentoo/ http://194.83.57.11/sites/www.ibibl io.org/gentoo/ ftp://ftp.uninett.no/pub/linux/Gentoo ftp://ftp.uni-erlangen.de/p ub/mirrors/gentoo http://ftp.uni-erlangen.de/pub/mirrors/gentoo ftp://ftp.tu-cla usthal.de/pub/linux/gentoo/ ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/ge ntoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline arts tetex aalib nas bonobo svga tcltk java guile mysql X sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis g nome gtk qt kde motif opengl mozilla gphoto2 ldap snmp cdr scanner -apache2 acpi acpi4linux curl dga doc dvd emacs ethereal evo fbcon flash freetds gb gd gnomed b gtk2 imap innodb ipv6 ladcca lcms leim libgda lirc maildir mozaccess mozcalend ar mozinterfaceinfo mozp3p mozsvg mozxmlterm mpi mule nptl oci8 odbc pcmcia pda pic pnp radeon ruby samba slp socks5 sse tiff usb vim-with-x wavelan wmf xface x inerama xml xosd -3dnow"
I noticed the same problem. Here is the backtrace I grabbed with gdb: (gdb) bt #0 0x40033a97 in BlitRGBtoRGBPixelAlphaMMX3DNOW () from /usr/lib/libSDL-1.2.so.0 #1 0x4002cad9 in SDL_SoftBlit () from /usr/lib/libSDL-1.2.so.0 #2 0x40043bb5 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0 #3 0x4005164d in X11_SetIcon () from /usr/lib/libSDL-1.2.so.0 #4 0x40046f52 in SDL_WM_SetIcon () from /usr/lib/libSDL-1.2.so.0 #5 0x0804d1ce in strcpy ()
what version of sdl? I assume 1.2.6 but can you confirm? This could be a gcc 3 3 problem. I don't have any issues with gcc-3.2.3 Also, could you try it with both libsdl and scummvm compiled with CFLAGS and CXXFLAGS set to "-pipe" only just to see if it works please?
i have the same problem. Scummvm was working perfectly before i upgraded to gcc 3.2.3-r2 (from 3.2.3-r1) and libsdl 1.2.6-r1 (from 1.2.5-r2). After the 'illegal instruction' i re-emerged both libsdl and scummvm with: env CFLAGS="-pipe" CXXFLAGS="-pipe" but it still gives the 'illegal instruction'. Hope this helps.
please emerge sync && emerge binutils gcc libsdl scummvm and tell me if works better.
i just run: emerge sync && emerge binutils gcc libsdl scummvm but, alas, running scummvm still gives an 'illegal instruction'.
It's an SDL issue, I don't know with what specifically. To fix, downgrade to libsdl-1.2.5.
*** This bug has been marked as a duplicate of 31345 ***
Closing to clean up after bugzilla upgrade. reopen if closed in error. Thanks.
clean up bug list after bugzilla update