hello, firefox-2.0-r2 failes to compile on my powerbook ppc: ... powerpc-unknown-linux-gnu-g++ -o xptcinvoke_ppc_linux.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPTC_API -I../../../../../../dist/include/xpcom -I../../../../../../dist/include -I/usr/include/nspr -I../../../../../../dist/sdk/include -I./../.. -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pipe -mcpu=G4 -mabi=altivec -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h -Wp,-MD,.deps/xptcinvoke_ppc_linux.pp xptcinvoke_ppc_linux.cpp distcc[14410] ERROR: compile /var/tmp/ccache/xptcinvoke.tmp.powerbook.14406.ii on localhost failed xptcinvoke_ppc_linux.cpp:139: error: expected constructor, destructor, or type conversion before
hello, firefox-2.0-r2 failes to compile on my powerbook ppc: ... powerpc-unknown-linux-gnu-g++ -o xptcinvoke_ppc_linux.o -c -fvisibility=hidden -DOSTYPE=\"Linux2.6\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPTC_API -I../../../../../../dist/include/xpcom -I../../../../../../dist/include -I/usr/include/nspr -I../../../../../../dist/sdk/include -I./../.. -fPIC -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pipe -mcpu=G4 -mabi=altivec -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -ffunction-sections -O2 -DGENTOO_NSPLUGINS_DIR=\"/usr/lib/nsplugins\" -DGENTOO_NSBROWSER_PLUGINS_DIR=\"/usr/lib/nsbrowser/plugins\" -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h -Wp,-MD,.deps/xptcinvoke_ppc_linux.pp xptcinvoke_ppc_linux.cpp distcc[14410] ERROR: compile /var/tmp/ccache/xptcinvoke.tmp.powerbook.14406.ii on localhost failed xptcinvoke_ppc_linux.cpp:139: error: expected constructor, destructor, or type conversion before NS_InvokeByIndex gmake[7]: *** [xptcinvoke_ppc_linux.o] Error 1 gmake[7]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom/reflect/xptcall/src/md/unix' gmake[6]: *** [libs] Error 2 gmake[6]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom/reflect/xptcall/src/md' gmake[5]: *** [libs] Error 2 gmake[5]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom/reflect/xptcall/src' gmake[4]: *** [libs] Error 2 gmake[4]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom/reflect/xptcall' gmake[3]: *** [libs] Error 2 gmake[3]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom/reflect' gmake[2]: *** [libs] Error 2 gmake[2]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla/xpcom' gmake[1]: *** [tier_2] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/www-client/mozilla-firefox-2.0-r2/work/mozilla' make: *** [default] Error 2 !!! ERROR: www-client/mozilla-firefox-2.0-r2 failed. Call stack: ebuild.sh, line 1568: Called dyn_compile ebuild.sh, line 937: Called src_compile mozilla-firefox-2.0-r2.ebuild, line 190: Called die !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. ------------------- powerbook ~ # emerge --info Portage 2.1.2_rc2-r3 (default-linux/ppc/2005.1/ppc/G4, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r1 ppc) ================================================================= System uname: 2.6.19-gentoo-r1 ppc 7447A, altivec supported Gentoo Base System version 1.12.6 Last Sync: Sat, 02 Dec 2006 14:30:01 +0000 distcc 2.18.3 powerpc-unknown-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.30 dev-lang/python: 2.3.6, 2.4.4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r6 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="ppc ~ppc" AUTOCLEAN="yes" CBUILD="powerpc-unknown-linux-gnu" CFLAGS="-O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations" CHOST="powerpc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /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" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -mcpu=G4 -mabi=altivec -malign-natural -ftracer -fsched-spec -fstrength-reduce -frerun-loop-opt -falign-loops -fpeel-loops -fno-delayed-branch -fschedule-insns -fcse-follow-jumps -fexpensive-optimizations" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distcc distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict" GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.club-internet.fr/pub/mirrors/gentoo http://pandemonium.tiscali.de/pub/gentoo/ ftp://pandemonium.tiscali.de/pub/gentoo/" LANG="en_US.UTF-8" LC_ALL="en_US.UTF-8" MAKEOPTS="-j5" 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/layman/xeffects /usr/local/mesa-cvs" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X a52 aac aiglx alsa altivec asf audiofile bash-completion berkdb bitmap-fonts browserplugin bzip2 cairo cdda cddb cdparanoia cdr cli cpudetection cracklib crypt css cups dbus dga divx4linux dlloader dri dts dvb dvd dvdr dvdread eds elibc_glibc emboss encode fbcon fbdev ffmpeg firefox flac fortran gdbm gif glitz gphoto2 gpm gstreamer gtk gtk2 iconv icq imlib input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog ithreads java javacomm jpeg kde kdexdeltas kernel_linux libwww live mad matroska motif mozbranding mp3 mpeg musepack musicbrainz nas ncurses network nls nptl nptlonly nsplugin nsplugins nxclient offensive ogg oggvorbis opengl openntpd oss pam parse-clocks pci pcre perl pertty png pppd python qt3 qt4 quicktime readline reflection rtc samba session sheep softmmu spell spl ssl stream symlink tcpd truetype truetype-fonts type1-fonts udev unicode userland_GNU userlocales v4l v4l2 vcd video_cards_ati video_cards_radeon vorbis wxwindows xanim xml2 xorg xv xvid zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
I already know about the problem and will be addressing it hopefully later tonight
I have update a patch today it was commited and should be on mirrors already. If you all would sync and test it would be appreciated. patchset is 0.4, we did not do a revision bump so -r2 is same ebuild with the simple modification for patchset.
yep, now it works. tnx
Confirmed, it works here too. Thank you.
Could it also work on 64-bit userland? I emerged on my ppc64 with 64-bit userland but it crashed when ran: No running windows found Assertion failure: 0 == rv, at ../../../../mozilla/nsprpub/pr/src/pthreads/ptsynch.c:207 /usr/libexec/mozilla-launcher: line 117: 8013 Aborted "$mozbin" "$@" firefox-bin exited with non-zero status (134)