Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Architectures & Platforms Gentoo on PPC
  • Search

How to get Firefox 52.x working on PPC

Have a PowerPC specific problem? This is the spot.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
schwarzygesetzlos
Apprentice
Apprentice
Posts: 192
Joined: Sat Dec 11, 2004 2:58 pm
Location: Funeralopolis

How to get Firefox 52.x working on PPC

  • Quote

Post by schwarzygesetzlos » Sat Jun 17, 2017 7:28 pm

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: Select all

# 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: Select all

CFLAGS="-pipe -O1 -mcpu=G5 -mtune=G5"
CXXFLAGS="${CFLAGS}"
Which finally resulted in a working build! :)
Talos II. [Gentoo Linux] | PMac G5 11,2. PMac G4 3,6. PBook G4 5,8. [MorphOS 3.19 / Gentoo Linux / Adelie Linux] | A600GS [Amibench / Amiga OS 3.2.3]
Top
Post Reply
1 post • Page 1 of 1

Return to “Gentoo on PPC”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic