Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 55051 - pearpc-0.2.0 fails to compile with gcc-3.4
Summary: pearpc-0.2.0 fails to compile with gcc-3.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GCC Porting (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo Developers for the x86 Architecture
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-24 09:35 UTC by Jon Hood (RETIRED)
Modified: 2004-08-18 06:16 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Hood (RETIRED) gentoo-dev 2004-06-24 09:35:44 UTC
while pearpc (0.2.0) builds and runs great with gcc-3.3.3, I can't get it to compile with gcc-3.4:

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I..    -O3 -march=pentium4 -funroll-loops -pipe -Wundef -Wall -Woverloaded-virtual -fsigned-char -O2 -fomit-frame-pointer -g -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -pipe -c ppc_cpu.cc
ppc_cpu.cc: In function `void ppc_run()':
ppc_cpu.cc:111: error: cannot bind packed field `gCPU.PPC_CPU_State::physical_code_page' to `byte*&'
gmake[3]: *** [ppc_cpu.o] Error 1
gmake[3]: *** Waiting for unfinished jobs....
gmake[3]: Leaving directory `/var/tmp/portage/pearpc-0.2.0/work/pearpc-0.2.0/src/cpu_generic'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory `/var/tmp/portage/pearpc-0.2.0/work/pearpc-0.2.0/src'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/var/tmp/portage/pearpc-0.2.0/work/pearpc-0.2.0'
make: *** [all-recursive-am] Error 2

# emerge --info
Portage 2.0.50-r8 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r5)
=================================================================
System uname: 2.6.7-gentoo-r5 i686 Mobile Intel(R) Pentium(R) 4     CPU 2.30GHz
Gentoo Base System version 1.4.16
distcc 2.14 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium4 -funroll-loops -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://gentoo.mirrors.pair.com/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb bonobo cdr crypt cups curl directfb dvd encode esd festival flash foomaticdb g77 gcj gd gdbm gif gnome gpm gtk gtk2 gtkhtml guile icu imlib input_devices_synaptics java jpeg kde libg++ libwww mad mikmod mmx motif mozilla moznoirc moznomail mpeg ncurses nls offensive oggvorbis opengl oss pam pdf pdflib perl png ppds python qt quicktime readline samba sdl slang spell sse ssl svga tcltk tcpd tetex truetype video_cards_radeon x86 xml xml2 xmms xv zlib"
Comment 1 Ian Leitch (RETIRED) gentoo-dev 2004-06-29 09:34:16 UTC
Upstream reference: http://sourceforge.net/tracker/index.php?func=detail&aid=970255&group_id=108675&atid=651195
Comment 2 Jon Hood (RETIRED) gentoo-dev 2004-07-03 00:43:13 UTC
apparently this was fixed in cvs- I am not a big pearpc user, but if no one else wants to, I could go track down what was changed to get this working, though someone who knows pearpc more than I stands less of a chance of breaking anything...
Comment 3 Panard 2004-07-15 18:01:04 UTC
USE="jit" emerge pearpc works fine for me
Comment 4 Jon Hood (RETIRED) gentoo-dev 2004-08-17 20:38:03 UTC
It seems to be fixed in 0.3.0 :)
Comment 5 Ian Leitch (RETIRED) gentoo-dev 2004-08-18 06:16:32 UTC
Thanks for the report, closing.