Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get Firefox 52.x working on PPC
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
schwarzygesetzlos
Tux's lil' helper
Tux's lil' helper


Joined: 11 Dec 2004
Posts: 100
Location: Funeralopolis

PostPosted: Sat Jun 17, 2017 7:28 pm    Post subject: How to get Firefox 52.x working on PPC Reply with quote

Firefox has been giving me a hard time to get it working for some versions... I did much builds and fiddling around with USE-flags until I found a known good solution (for the time being). Since Firefox 52.x is an ESR and will be around for some time I decided to share my experiences.

Following flags got FF going:
Code:
# emerge -pqv firefox
[ebuild   R   ] www-client/firefox-52.2.0  USE="custom-optimization dbus gmp-autoupdate jemalloc pulseaudio startup-notification system-icu -bindist -custom-cflags -debug -gtk2 -hardened -hwaccel -jack (-neon) (-pgo) (-rust) (-selinux) (-system-cairo) -system-harfbuzz -system-jpeg -system-libevent -system-libvpx -system-sqlite {-test} -wifi" L10N="de -ach -af -an -ar -as -ast -az -bg -bn-BD -bn-IN -br -bs -ca -cak -cs -cy -da -dsb -el -en-GB -en-ZA -eo -es-AR -es-CL -es-ES -es-MX -et -eu -fa -ff -fi -fr -fy -ga -gd -gl -gn -gu -he -hi -hr -hsb -hu -hy -id -is -it -ja -ka -kab -kk -km -kn -ko -lij -lt -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt-BR -pt-PT -rm -ro -ru -si -sk -sl -son -sq -sr -sv -ta -te -th -tr -uk -uz -vi -xh -zh-CN -zh-TW"

Where in my case I needed USE="+custom-optimization +jemalloc +system-icu" additionally, the rest was default.

Yes, custom-optimization!

FF got built with the default CFLAGS, but at least on my machine this leads to a binary which just crashes at startup (or hogs the CPU for 100% if you already got a .mozilla/ config directory). So I used the following CFLAGS for Firefox:
Code:
CFLAGS="-pipe -O1 -mcpu=G5 -mtune=G5"
CXXFLAGS="${CFLAGS}"

Which finally resulted in a working build! :)
_________________
PMac G5 11,2. PMac G5 7,3. PBook G4 5,8. PBook G4 5,6. [MorphOS 3.9 / Gentoo Linux / Ubuntu MATE 16.10]
2 x A1200. ACA-1233/55, ACA1232/40, Indivision AGA Mk2, 4 GiB CF. [Amiga OS 3.9]
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