Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Firefox-21.0 Powermac G5
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC
View previous topic :: View next topic  
Author Message
Odiseus
n00b
n00b


Joined: 21 Dec 2012
Posts: 15

PostPosted: Wed Jun 05, 2013 9:22 am    Post subject: Firefox-21.0 Powermac G5 Reply with quote

Hi,

there seem to be at least 2 problems with firefox 21 on the G5 (late 2005) ppc64:

1.
Quote:
'../../gfx/qcms/transform.o:(.toc1+0xd8): undefined reference to `qcms_transform_data_rgb_out_lut_altivec'
../../gfx/qcms/transform.o:(.toc1+0xe0): undefined reference to `qcms_transform_data_rgba_out_lut_altivec'
collect2: error: ld returned 1 exit status'


I applied the following fix:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fe010206e5ad
which is referred from here:
https://bugzilla.mozilla.org/show_bug.cgi?id=851850

2. Incorrect page size in js/public/HeapAPI.h

(Last working Firefox here is 17.06. I didn't install 18 and 19.0.2 had this bug already)

Quote:

SpiderMonkey compiled with incorrect page size; please update js/public/HeapAPI.h.
Traceback (most recent call last):
File "/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/toolkit/mozapps/installer/packager.py", line 366, in <module>
main()
File "/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/toolkit/mozapps/installer/packager.py", line 358, in main
args.source, gre_path, base)
File "/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/toolkit/mozapps/installer/packager.py", line 140, in precompile_cache
errors.fatal('Error while running startup cache precompilation')
File "/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/python/mozbuild/mozpack/errors.py", line 101, in fatal
self._handle(self.FATAL, msg)
File "/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/python/mozbuild/mozpack/errors.py", line 96, in _handle
raise ErrorMessage(msg)
mozpack.errors.ErrorMessage: Error: Error while running startup cache precompilation
make[1]: *** [stage-package] Error 1
make[1]: Leaving directory `/var/tmp/portage/www-client/firefox-21.0/work/mozilla-release/obj-powerpc64-unknown-linux-gnu/browser/installer'
make: *** [install] Error 2
emake failed


If that is the problem, what is the correct PageShift and ArenaShift?
If not, how could I check that powerpc64 is defined?
js/public/HeapAPI.h:

Quote:
...
#elif defined(__powerpc64__)
const size_t PageShift = 16;
const size_t ArenaShift = 12;
#else
const size_t PageShift = 12;
const size_t ArenaShift = PageShift;
...


emerge -pqv '=www-client/firefox-21.0'
Quote:

[ebuild U ] www-client/firefox-21.0 [17.0.6] USE="alsa dbus jit libnotify pulseaudio%* startup-notification -bindist -custom-cflags -custom-optimization -debuiro% -system-jpeg% -system-sqlite -wifi" LINGUAS="-af -ak -ar -as -ast -be -bg -bn_BD -bn_IN -br -bs -ca -cs -csb -cy -da -de -el -en_GB -en_ZA -eo -es_AR -es_CL d -gl -gu_IN -he -hi_IN -hr -hu -hy_AM -id -is -it -ja -kk -km -kn -ko -ku -lg -lt -lv -mai -mk -ml -mr -nb_NO -nl -nn_NO -nso -or -pa_IN -pl -pt_BR -pt_PT -rm -rte -th -tr -uk -vi -zh_CN -zh_TW -zu"


emerge --info '=www-client/firefox-21.0'
Quote:

emerge --info '=www-client/firefox-21.0'
Portage 2.1.12.2 (default/linux/powerpc/ppc64/13.0/64bit-userland, gcc-4.7.3, glibc-2.17, 3.9.4-gentoo ppc64)
=================================================================
System Settings
=================================================================
System uname: Linux-3.9.4-gentoo-ppc64-PPC970MP,_altivec_supported-with-gentoo-2.2
KiB Mem: 4008004 total, 2762748 free
KiB Swap: 4194300 total, 4194300 free
Timestamp of tree: Fri, 31 May 2013 17:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
app-shells/bash: 4.2_p45
dev-java/java-config: 2.1.12-r1
dev-lang/python: 2.7.5, 3.2.5, 3.3.2
dev-util/cmake: 2.8.10.2-r2
dev-util/pkgconfig: 0.28
sys-apps/baselayout: 2.2
sys-apps/openrc: 0.11.8
sys-apps/sandbox: 2.6-r1
sys-devel/autoconf: 2.13, 2.69
sys-devel/automake: 1.11.6, 1.12.6, 1.13.2
sys-devel/binutils: 2.23.1
sys-devel/gcc: 4.7.3
sys-devel/gcc-config: 1.8
sys-devel/libtool: 2.4.2
sys-devel/make: 3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc: 2.17
Repositories: gentoo my_local_overlay
ACCEPT_KEYWORDS="ppc64 ~ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.netcologne.de/gentoo/ http://ftp.halifax.rwth-aachen.de/gentoo/ ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo rsync://ftp-stud.hs-esslingen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl alsa altivec berkdb bzip2 cdr cli consolekit cracklib crypt cups cxx dbus djvu dri encode fbcon fortran gd gdbm gimp giv glib gnome gpm gtk ibm iconv icu imagemagick imlib ipv6 jpeg lame libcaca libnotify modules mp3 mudflap ncurses nls nptl nsplugin odbc ogg opengl openmp openvg pam pcre png ppc64 pulseaudio readline session sox sqlite ssl startup-notification svg symlink syslog tcpd theora threads tiff tk truetype udev unicode usb vorbisi wxwidgets xanim xml zlib" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 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" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"
USE_PYTHON="2.7 3.2 3.3"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Thanks for any suggestions.

Greetings
Michael
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on PPC All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum