* Package: games-emulation/snes9x-1.53 * Repository: gentoo * Maintainer: games@gentoo.org * USE: abi_x86_64 alsa amd64 elibc_glibc gtk kernel_linux multilib nls opengl png pulseaudio userland_GNU xrandr xv * FEATURES: preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking snes9x-1.53-src.tar.bz2 to /var/tmp/portage/games-emulation/snes9x-1.53/work >>> Source unpacked in /var/tmp/portage/games-emulation/snes9x-1.53/work >>> Preparing source in /var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix ... * Applying snes9x-1.53-build.patch ... [ ok ] * Applying snes9x-1.53-cross-compile.patch ... [ ok ] * Running eautoreconf in '/var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix' ... * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running elibtoolize in: snes9x-1.53-src/unix/ * Running eautoreconf in '/var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/gtk' ... * Running glib-gettextize --copy --force ... [ ok ] * Running intltoolize --automake --copy --force ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: snes9x-1.53-src/gtk/ >>> Source prepared. >>> Configuring source in /var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix ... * econf: updating snes9x-1.53-src/unix/config.guess with /usr/share/gnuconfig/config.guess * econf: updating snes9x-1.53-src/unix/config.sub with /usr/share/gnuconfig/config.sub ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --datarootdir=/usr/share --disable-gamepad --disable-debugger --disable-netplay --disable-gzip --disable-zip --enable-screenshot checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking whether g++ accepts -fomit-frame-pointer... yes checking whether g++ accepts -fno-exceptions... yes checking whether g++ accepts -fno-rtti... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -W... yes checking whether g++ accepts -Wno-unused-parameter... yes checking whether the OS is Linux... yes checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking for gzread in -lz... yes checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_init_io in -lpng... yes checking for mkstemp... yes checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking whether right shift int8 is arithmetic... yes checking whether right shift int16 is arithmetic... yes checking whether right shift int32 is arithmetic... yes checking whether right shift int64 is arithmetic... yes checking whether sound is supported on this platform... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes build information: cc...............,,,. x86_64-pc-linux-gnu-gcc c++.................. x86_64-pc-linux-gnu-g++ options.............. -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter defines.............. -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS libs................. -lpng -lSM -lICE -lX11 -lXext -lpthread features: sound support........ yes screenshot support... yes netplay support...... no gamepad support...... no GZIP support......... no ZIP support.......... no JMA support.......... yes debugger............. no configure: creating ./config.status config.status: creating Makefile * econf: updating snes9x-1.53-src/unix/config.sub with /usr/share/gnuconfig/config.sub * econf: updating snes9x-1.53-src/unix/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-dependency-tracking --disable-silent-rules --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --datarootdir=/usr/share --datadir=/usr/share --enable-nls --with-opengl --without-joystick --with-xv --with-xrandr --without-netplay --without-zlib --with-alsa --without-oss --with-pulseaudio --without-portaudio --with-screenshot checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking whether we are using the GNU C++ compiler... yes checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking for a BSD-compatible install... /usr/lib/portage/python3.4/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for style of include used by make... GNU checking whether make supports nested variables... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking dependency style of x86_64-pc-linux-gnu-g++... none checking whether make supports nested variables... (cached) yes checking whether NLS is requested... yes checking for intltool >= 0.37.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/gmsgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.24.0 checking for XML::Parser... ok checking how to run the C++ preprocessor... x86_64-pc-linux-gnu-g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/gmsgfmt checking for xgettext... (cached) /usr/bin/xgettext checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking for GTK... yes checking for GLIB... yes checking for LIBXML... yes checking for glGetString in -lGL... yes checking for XV... yes checking for ALSA... yes checking for PULSEAUDIO... yes checking for XRANDR... yes checking for LIBPNG... yes checking for mkstemp... yes checking for strings.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking for stdint.h... (cached) yes checking if sizeof(void *) == sizeof(int)... no checking if rightshift int8 is arithmetic... yes checking if rightshift int16 is arithmetic... yes checking if rightshift int32 is arithmetic... yes checking if rightshift int64 is arithmetic... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating data/Makefile config.status: creating po/Makefile.in config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands Snes9x will build with support for the following: GTK+ 2.0 ALSA PulseAudio OpenGL XVideo XRandR >>> Source configured. >>> Compiling source in /var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix ... make -j1 x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/apu.cpp -o ../apu/apu.o ../apu/apu.cpp: In function ‘void S9xDeinitAPU()’: ../apu/apu.cpp:525:15: warning: deleting object of abstract class type ‘Resampler’ which has non-virtual destructor will cause undefined behavior [-Wdelete-non-virtual-dtor] delete spc::resampler; ^~~~~~~~~ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/SNES_SPC.cpp -o ../apu/SNES_SPC.o ../apu/SNES_SPC.cpp: In member function ‘void SNES_SPC::cpu_write(int, int, SNES_SPC::rel_time_t)’: ../apu/SNES_SPC.cpp:437:39: warning: left shift of negative value [-Wshift-negative-value] if ( ((~0x2F00 << (bits_in_int - 16)) << reg) < 0 ) // 36% ^ In file included from ../apu/SNES_SPC.cpp:564:0: ../apu/SPC_CPU.h: In member function ‘uint8_t* SNES_SPC::run_until_(SNES_SPC::time_t)’: ../apu/SPC_CPU.h:306:40: warning: left shift of negative value [-Wshift-negative-value] if ( ((~0x2F00 << (bits_in_int - 16)) << i) < 0 ) // 12% ^ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/SNES_SPC_misc.cpp -o ../apu/SNES_SPC_misc.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/SNES_SPC_state.cpp -o ../apu/SNES_SPC_state.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/SPC_DSP.cpp -o ../apu/SPC_DSP.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../apu/SPC_Filter.cpp -o ../apu/SPC_Filter.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../bsx.cpp -o ../bsx.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../c4.cpp -o ../c4.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../c4emu.cpp -o ../c4emu.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../cheats.cpp -o ../cheats.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../cheats2.cpp -o ../cheats2.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../clip.cpp -o ../clip.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../conffile.cpp -o ../conffile.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../controls.cpp -o ../controls.o ../controls.cpp: In function ‘void S9xSetControllerCrosshair(crosscontrols, int8, const char*, const char*)’: ../controls.cpp:3362:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (j = 0; color_names[i][j] && fg[j] == color_names[i][j]; j++) ; ^~~ ../controls.cpp:3363:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if (isalnum(fg[j])) ^~ ../controls.cpp:3389:4: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for (j = 0; color_names[i][j] && bg[j] == color_names[i][j]; j++) ; ^~~ ../controls.cpp:3390:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ if (isalnum(bg[j])) ^~ ../controls.cpp: In function ‘void S9xSetJoypadLatch(bool)’: ../controls.cpp:2870:68: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] for (int j = 0, k = mp5[n].pads[j]; j < 4; k = mp5[n].pads[++j]) ~~~~~~~~~~~~~~~^ ../controls.cpp:2870:44: note: within this loop for (int j = 0, k = mp5[n].pads[j]; j < 4; k = mp5[n].pads[++j]) ~~^~~ ../controls.cpp: In function ‘void S9xControlEOF()’: ../controls.cpp:3161:63: warning: iteration 3 invokes undefined behavior [-Waggressive-loop-optimizations] for (j = 0, i = mp5[n].pads[j]; j < 4; i = mp5[n].pads[++j]) ~~~~~~~~~~~~~~~^ ../controls.cpp:3161:39: note: within this loop for (j = 0, i = mp5[n].pads[j]; j < 4; i = mp5[n].pads[++j]) ~~^~~ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../cpu.cpp -o ../cpu.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../cpuexec.cpp -o ../cpuexec.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../cpuops.cpp -o ../cpuops.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../crosshairs.cpp -o ../crosshairs.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dma.cpp -o ../dma.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dsp.cpp -o ../dsp.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dsp1.cpp -o ../dsp1.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dsp2.cpp -o ../dsp2.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dsp3.cpp -o ../dsp3.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../dsp4.cpp -o ../dsp4.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../fxinst.cpp -o ../fxinst.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../fxemu.cpp -o ../fxemu.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../gfx.cpp -o ../gfx.o ../gfx.cpp: In function ‘void DrawBackgroundOffset(int, uint8, uint8, int)’: ../gfx.cpp:1497:9: warning: variable ‘DrawTile’ set but not used [-Wunused-but-set-variable] void (*DrawTile) (uint32, uint32, uint32, uint32); ^~~~~~~~ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../globals.cpp -o ../globals.o x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../logger.cpp -o ../logger.o ../logger.cpp: In function ‘void S9xVideoLogger(void*, int, int, int, int)’: ../logger.cpp:245:10: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable] size_t ignore; ^~~~~~ ../logger.cpp: In function ‘void S9xAudioLogger(void*, int)’: ../logger.cpp:265:10: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable] size_t ignore; ^~~~~~ x86_64-pc-linux-gnu-g++ -I. -I.. -I../apu/ -I../unzip/ -I../jma/ -I../filter/ -c -Werror=terminate -march=native -O2 -pipe -Wl,-O1 -Wl,--as-needed -Wl,-z,noexecstack -fomit-frame-pointer -fno-exceptions -fno-rtti -Wall -W -Wno-unused-parameter -DJMA_SUPPORT -DHAVE_LIBPNG -DHAVE_MKSTEMP -DHAVE_STRINGS_H -DHAVE_SYS_IOCTL_H -DHAVE_STDINT_H -DRIGHTSHIFT_IS_SAR -DUSE_THREADS -DMITSHM ../memmap.cpp -o ../memmap.o ../memmap.cpp: In member function ‘bool8 CMemory::LoadSRTC()’: ../memmap.cpp:1921:9: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable] size_t ignore; ^~~~~~ ../memmap.cpp: In member function ‘bool8 CMemory::SaveSRTC()’: ../memmap.cpp:1936:9: warning: variable ‘ignore’ set but not used [-Wunused-but-set-variable] size_t ignore; ^~~~~~ ../memmap.cpp: In member function ‘bool8 CMemory::SaveSRAM(const char*)’: ../memmap.cpp:2073:32: error: ‘getuid’ was not declared in this scope ignore = chown(name, getuid(), getgid()); ^ ../memmap.cpp:2073:42: error: ‘getgid’ was not declared in this scope ignore = chown(name, getuid(), getgid()); ^ ../memmap.cpp:2073:43: error: ‘chown’ was not declared in this scope ignore = chown(name, getuid(), getgid()); ^ ../memmap.cpp:2093:36: error: ‘getuid’ was not declared in this scope ignore = chown(sramName, getuid(), getgid()); ^ ../memmap.cpp:2093:46: error: ‘getgid’ was not declared in this scope ignore = chown(sramName, getuid(), getgid()); ^ ../memmap.cpp:2093:47: error: ‘chown’ was not declared in this scope ignore = chown(sramName, getuid(), getgid()); ^ ../memmap.cpp: In member function ‘void CMemory::map_index(uint32, uint32, uint32, uint32, int, int)’: ../memmap.cpp:2759:23: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] Map[p] = (uint8 *) index; ^~~~~ make: *** [Makefile:72: ../memmap.o] Error 1 * ERROR: games-emulation/snes9x-1.53::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=games-emulation/snes9x-1.53::gentoo'`, * the complete build log and the output of `emerge -pqv '=games-emulation/snes9x-1.53::gentoo'`. * The complete build log is located at '/var/log/portage/games-emulation:snes9x-1.53:20161004-060110.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/games-emulation/snes9x-1.53/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/games-emulation/snes9x-1.53/temp/environment'. * Working directory: '/var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix' * S: '/var/tmp/portage/games-emulation/snes9x-1.53/work/snes9x-1.53-src/unix'