Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 382103 - games-emulation/nestopia-1.40: fails in compile phase (NstPpu.cpp process)
Summary: games-emulation/nestopia-1.40: fails in compile phase (NstPpu.cpp process)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-07 02:31 UTC by (RETIRED)
Modified: 2011-09-07 20:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
nestopia-1.40.log (nestopia-1.40.log,29.80 KB, text/plain)
2011-09-07 02:33 UTC, (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description (RETIRED) 2011-09-07 02:31:37 UTC
Nestopia compilation fails after NstPpu.cpp compilation process:
source/core/NstPpu.cpp: In member function ‘void Nes::Core::Ppu::Run()’

Reproducible: Always




emerge --info
Portage 2.1.10.11 (default/linux/amd64/10.0/desktop, gcc-4.5.3, glibc-2.13-r4, 3.0.0-libre x86_64)
=================================================================
System uname: Linux-3.0.0-libre-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_4400+-with-gentoo-2.0.3
Timestamp of tree: Tue, 06 Sep 2011 21:45:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r2, 3.2-r2
dev-util/cmake:           2.8.4-r1
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.8.3-r1
sys-apps/sandbox:         2.4
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.4.5, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo x-portage
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA @GPL-COMPATIBLE @OSI-APPROVED @EULA atheros-hal BitstreamVera"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -msse3 -msahf -mcx16 -m3dnow -O2 -pipe -fPIC"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=athlon64-sse3 -mtune=athlon64-sse3 -msse3 -msahf -mcx16 -m3dnow -O2 -pipe -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.c3sl.ufpr.br/ ftp://gentoo.c3sl.ufpr.br/gentoo/ rsync://gentoo.c3sl.ufpr.br/gentoo/"
LANG="pt_BR.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="pt pt_BR es es_ES es_LA es_UY gl en en_US en_GB"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.br.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 3dnowprefetch X X509 a52 aac aalib acl acpi additions alsa amd64 ao apic apm apng audiofile bash-completion berkdb branding btrfs bzip2 cairo caps cdda cdr clflush cli clvm cman cmov cmp_legacy common-lisp consolekit cr8_legacy cracklib crypt cups curl cx16 cx8 cxx dbus de deblob declarative dedicated dga dirac disk-partition dmraid dri dts dv dvd dvdr dynamic embedded emboss emovix encode exif extapic extd_apicid extensions fam fat fbcon ffmpeg firefox flac fontconfig fortran fpu fuse fxsr fxsr_opt galago gallium gcj gd gdbm gdu gif gimp gnome gpm graphite gtk hardened hfs ht iconv id3tag imagemagick iplayer ipv6 jadetex java jfs joystick jpeg jpeg2k kde kdrive kerbero ladspa lahf_lm lame lastfm lbrv lcms libass libcaca libnotify lm lvm1 lzo mad maps matroska mca mce mdadm mdev mjpeg mmx mmxext mng modules mozilla mp3 mp3tunes mp4 mpeg msn msr mtrr mudflap multilib multislot musepack musicbrainz mysql nautilus ncurses network network-cron nls nptl nptlonly nsplugin nspluginwrapper ntfs ntp nuv nx objc objc++ objc-gc ogg openal openexr opengl openmp pae pam pango pat pcre pdf perl pge pic png pni policykit portaudio postproc ppds pppd profile pse pse36 python python3 qt3support qt4 quicktime rar raw rdtscp readline reiser4 reiserfs rep_good samba sasl sdl semantic-desktop sep session sip skey skins skype smp sndfile snesfilter sox spell spoof-source sql sqlite sse sse2 sse3 ssl startup-notification suid svg svm swat syscall sysfs taglib tcpd theora threads tiff truetype tsc udev unicode usb v4l2 vaapi vcd vdpau vlc vme vorbis wav wavpack webkit windeco wma wmf wxwidgets x264 xattr xcb xfs xine xml xorg xulrunner xv xvid yv12 zlib zsh-completion" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="directory template" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev joystick keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pt pt_BR es es_ES es_LA es_UY gl en en_US en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" SANE_BACKENDS="snapscan" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 (RETIRED) 2011-09-07 02:33:56 UTC
Created attachment 285753 [details]
nestopia-1.40.log
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2011-09-07 04:32:07 UTC
try it with gcc-4.4
Comment 3 (RETIRED) 2011-09-07 04:44:51 UTC
ok, i will try to compile with gcc 4.4.5, and i will try to compile nestopia again, and then I will tell you how it was, thanks
Comment 4 (RETIRED) 2011-09-07 07:01:22 UTC
don't works with gcc 4.4.5, the error persists. 
i downgraded to this version following the gcc guide on gentoo documentation, but nestopia still have problems to compile
Comment 5 Rafał Mużyło 2011-09-07 10:29:12 UTC
A generic remark: '-fPIC' in global C{,XX}FLAGS is plain broken.
Comment 6 (RETIRED) 2011-09-07 20:00:09 UTC
yes you are right, i deleted -FPIC parameter on CFLAGS and now it compiles perfectly, thanks so much :)