Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 150522

Summary: games-emulation/pcsx2-0.6 fails w/ gcc-4.x
Product: Gentoo Linux Reporter: Gerolf Ziegenhain <derverstand>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Gerolf Ziegenhain 2006-10-08 16:11:59 UTC
fheader.c:703: warning: pointer targets in assignment differ in signedness
gcc -Wall -O2 -march=pentium4 -pipe -funroll-loops -I. -I.. -I../RPC -I../ix86-32/GoldRec -I../ix86-32/GoldRec/ix86 -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../Hw.o ../Hw.c -MD -MF ../Hw.d
gcc -Wall -O2 -march=pentium4 -pipe -funroll-loops -I. -I.. -I../RPC -I../ix86-32/GoldRec -I../ix86-32/GoldRec/ix86 -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../Memory.o ../Memory.c -MD -MF ../Memory.d
../Memory.c: In function 'memInit':
../Memory.c:130: warning: pointer targets in assignment differ in signedness
../Memory.c:131: warning: pointer targets in assignment differ in signedness
../Memory.c:132: warning: pointer targets in assignment differ in signedness
../Memory.c:133: warning: pointer targets in assignment differ in signedness
../Memory.c:134: warning: pointer targets in assignment differ in signedness
../Memory.c:136: warning: pointer targets in assignment differ in signedness
../Memory.c:137: warning: pointer targets in assignment differ in signedness
../Memory.c:138: warning: pointer targets in assignment differ in signedness
../Memory.c:139: warning: pointer targets in assignment differ in signedness
gcc -Wall -O2 -march=pentium4 -pipe -funroll-loops -I. -I.. -I../RPC -I../ix86-32/GoldRec -I../ix86-32/GoldRec/ix86 -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../Misc.o ../Misc.c -MD -MF ../Misc.d
../Misc.c: In function 'CheckCdrom':
../Misc.c:140: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness
../Misc.c: In function 'SaveState':
../Misc.c:350: warning: unused variable 'id'
../Misc.c: In function 'LoadState':
../Misc.c:407: warning: unused variable 'id'
../Misc.c: In function 'injectIRX':
../Misc.c:554: warning: pointer targets in assignment differ in signedness
../Misc.c:554: warning: comparison of distinct pointer types lacks a cast
../Misc.c:568: warning: pointer targets in assignment differ in signedness
../Misc.c:570: warning: pointer targets in assignment differ in signedness
../Misc.c:574: warning: pointer targets in assignment differ in signedness
../Misc.c:579: warning: pointer targets in assignment differ in signedness
../Misc.c:592: warning: pointer targets in assignment differ in signedness
gcc -Wall -O2 -march=pentium4 -pipe -funroll-loops -I. -I.. -I../RPC -I../ix86-32/GoldRec -I../ix86-32/GoldRec/ix86 -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../GS.o ../GS.c -MD -MF ../GS.d
../GS.c: In function 'gsWrite64':
../GS.c:77: warning: dereferencing type-punned pointer will break strict-aliasing rules
gcc -Wall -O2 -march=pentium4 -pipe -funroll-loops -I. -I.. -I../RPC -I../ix86-32/GoldRec -I../ix86-32/GoldRec/ix86 -D__LINUX__ -DENABLE_NLS -DPACKAGE=\"pcsx2\" -D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -c -o ../FiFo.o ../FiFo.c -MD -MF ../FiFo.d
../FiFo.c: In function 'fifo_get':
../FiFo.c:70: error: invalid lvalue in assignment
make: *** [../FiFo.o] Error 1

!!! ERROR: games-emulation/pcsx2-0.6 failed.
Call stack:
  ebuild.sh, line 1546:   Called dyn_compile
  ebuild.sh, line 937:   Called src_compile
  pcsx2-0.6.ebuild, line 40:   Called die

!!! linux building failed
!!! If you need support, post the topmost build error, and the call stack if relevant.




Portage 2.1.1 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r13 i686)
=================================================================
System uname: 2.6.16-gentoo-r13 i686 Intel(R) Pentium(R) M processor 1500MHz
Gentoo Base System version 1.12.5
Last Sync: Sun, 08 Oct 2006 16:00:01 +0000
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: [Not Present]
dev-java/java-config: 1.3.7
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
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-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -pipe -funroll-loops"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /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/"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=pentium4 -pipe -funroll-loops"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/"
LANG="en_US"
LC_ALL="en_US"
LINGUAS="de en"
PKGDIR="/usr/portage/packages"
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/overlays/erazor-zone.de"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X a52 alsa apm arts avi berkdb bitmap-fonts bluetooth cli crypt cups divx4linux dlloader dri dv dvb dvd dvdread eds elibc_glibc emboss encode esd fame foomaticdb fortran gdbm gif gpm gstreamer gtk gtk2 imap imlib input_devices_keyboard input_devices_mouse ipv6 isdnlog jack jpeg kernel_linux libg++ libwww linguas_de linguas_en mad mikmod mmx mmxext motif mp3 mpeg ncurses nls nptl nptlonly ogg opengl oss pam pcre perl png pppd python qt3 qt4 quicktime readline reflection sdl session spell spl sse sse2 ssl tcpd truetype truetype-fonts type1-fonts udev unicode usb userland_GNU userlocales video_cards_radeon video_cards_vesa vorbis wifi win32codecs xml xmms xorg xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-10-08 23:33:15 UTC
Try with 0.8.1, please.