Author Topic: Firefox Status  (Read 9155 times)

decryphe

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Firefox Status
« on: January 01, 2020, 03:44:01 pm »
Hello Everyone!

Finally I got a hold of the Blackbird I ordered and have gotten around to build a nice desktop around it. I'm using Ubuntu 19.10 with KDE on it, works pretty nicely out of the box, except Firefox.

There's two issues I'm having trouble with right now: It can't store browsing history (seems to be an issue with sqlite) and many pages (including addons.mozilla.org) crash the tab while loading without error message.
I've tried building from source to get the newest version, which did work, but that version crashes during start after creating the UI. See console output after "./mach run".

I did check the https://wiki.raptorcs.com/wiki/Porting/Firefox wiki entry, but it's mostly for big-endian OSes, whereas Ubuntu is running in little-endian mode.

My main question would be, what's the current status on getting Firefox running nicely on POWER? What's currently missing?

Regards

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Firefox Status
« Reply #1 on: January 01, 2020, 10:21:53 pm »
No, Firefox should work and build fine. I haven't done a build against central in a couple weeks, but I'm typing this in Firefox 71 on Fedora 31 on a Talos II, so I know at minimum that mozilla-release works. What does your mozconfig look like? The ones I use are here:

https://www.talospace.com/2019/12/firefox-71-on-power.html

(which uses the same ones as ...)

https://www.talospace.com/2019/05/firefox-67-on-power.html

decryphe

  • Newbie
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Firefox Status
« Reply #2 on: January 02, 2020, 04:17:17 pm »
With those hints I managed to get it working, two main points:
- Clang doesn't compile it right yet, I had to force using gcc/g++
- Not sure about the selection of a different linker, it did not make any apparent difference.

I opted to fetch apt-get source firefox and build it with an updated mozconfig.in that sets:
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

Also had to limit threads to 24, I ran out of RAM on 32 threads.

Successfully running mainline firefox installed through a selfmade deb-package.

xilinder

  • Jr. Member
  • **
  • Posts: 82
  • Karma: +9/-0
    • View Profile
Re: Firefox Status
« Reply #3 on: January 04, 2020, 09:15:31 am »
Yeah, I ran into the same problem and reported it. Meanwhile I exported my bookmarks to a USB stick from another computer, moved that 'Boormarks.html' file to my Ubuntu 19.10 home folder and set firefox home to open that page. Not ideal, but it works.
Talos II 2x8, 32GB RAM, onboard Microsemi RAID,  AMD WX7100, J.Micron SATA/PATA PCIe adapter. Debian with Mate.

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Firefox Status
« Reply #4 on: January 04, 2020, 06:22:25 pm »
With those hints I managed to get it working, two main points:
- Clang doesn't compile it right yet, I had to force using gcc/g++
- Not sure about the selection of a different linker, it did not make any apparent difference.

Yes, clang doesn't work properly. It's possible that gold has been fixed, but I'd still stick to GNU ld (bfd).

Quote
I opted to fetch apt-get source firefox and build it with an updated mozconfig.in that sets:
export CC=/usr/bin/gcc
export CXX=/usr/bin/g++

Also had to limit threads to 24, I ran out of RAM on 32 threads.

Successfully running mainline firefox installed through a selfmade deb-package.

I just do -j24 for makes myself, but largely because I want a few threads so I can play Descent. :) How much RAM is in your system? This machine has 32GB.

MauryG5

  • Hero Member
  • *****
  • Posts: 761
  • Karma: +22/-1
    • View Profile
Re: Firefox Status
« Reply #5 on: April 08, 2020, 12:14:30 pm »
Guys Firefox 75 seems to bring a lot of interesting news on Linux with this latest version. Try it then as soon as our Power version comes out ...

tle

  • Sr. Member
  • ****
  • Posts: 464
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Re: Firefox Status
« Reply #6 on: May 11, 2020, 02:34:01 am »
Firefox 76 is already out.

@ClassicHasClass: Is your JIT patch re-based yet?
Faithful Linux enthusiast

My Raptor Blackbird

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Firefox Status
« Reply #7 on: May 11, 2020, 11:11:00 am »
I have had little time to work on it because of the schedule with my day job, unfortunately.

amock

  • Newbie
  • *
  • Posts: 21
  • Karma: +1/-0
    • View Profile
Re: Firefox Status
« Reply #8 on: May 21, 2020, 10:59:51 pm »
In case you haven't seen it there is a bug about this https://bugzilla.mozilla.org/show_bug.cgi?id=1591164.  I haven't verified if it's actually fixed in the latest Ubuntu version, but that's something you could try.  I haven't run into this issue with Firefox on Fedora, so that's another option.

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 467
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Firefox Status
« Reply #9 on: June 05, 2021, 07:08:41 pm »

MauryG5

  • Hero Member
  • *****
  • Posts: 761
  • Karma: +22/-1
    • View Profile
Re: Firefox Status
« Reply #10 on: June 06, 2021, 09:24:53 am »
Unfortunately, the Ubuntu Firefox bookmark problem still persists today. I read that they had reported it but unfortunately there have been no corrections to date ... I am currently using 20.04 with KDE-PLASMA, I have not installed Firefox and on this graphical environment there is no default but in any case if I put Gnome as a graphical environment, Firefox has the same problem, even if you use 20.10. Now I don't know 21.04 but I don't think anything has changed even in that ...