Author Topic: [DEV] JIT support for Firefox  (Read 71153 times)

tle

  • Hero Member
  • *****
  • Posts: 605
  • Karma: +57/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] JIT support for Firefox
« Reply #30 on: August 03, 2026, 07:07:45 pm »
So tle firefox port already support big endian?
This Firefox-v153 patches work on ESR140.12?

thanks of adavance.

Yes BE is now fully supported.

The ESR 153 patches will NOT work on ESR 140.
Faithful Linux enthusiast

My Raptor Blackbird

carlosgonz

  • Newbie
  • *
  • Posts: 26
  • Karma: +2/-0
    • View Profile
Re: [DEV] JIT support for Firefox
« Reply #31 on: August 03, 2026, 07:46:31 pm »
Thanks tle. FF BE it is huge milestone.

So next milestone will be GLES-3.0 BE  mesa driver support, otherwise firefox webrender hard accel do not work. Atm only gles2.0 extensions is supported on BE.
Blackbird  Rv1.02, Gnu Trisquel

tle

  • Hero Member
  • *****
  • Posts: 605
  • Karma: +57/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] JIT support for Firefox
« Reply #32 on: August 03, 2026, 11:48:28 pm »
Thanks tle. FF BE it is huge milestone.

So next milestone will be GLES-3.0 BE  mesa driver support, otherwise firefox webrender hard accel do not work. Atm only gles2.0 extensions is supported on BE.

That's way out of scope. Even if I want to do it, I have zero clue about mesa codebases. My initial goal was to get SpiderMonkey up and running on BE. Fortunately the full Firefox can be built and ran successfully (despite of lacking optimisations in many components). I guess that is enough as foundation for the community to improve upon.
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Hero Member
  • *****
  • Posts: 605
  • Karma: +57/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] JIT support for Firefox
« Reply #33 on: August 11, 2026, 10:14:29 pm »
https://github.com/runlevel5/firefox-ppc64/releases/tag/FIREFOX_153_0_4_RELEASE_PPC64 has also added support for PowerPC970 (G4/G5). I have tested it on Debian Linux running on my POWER9 box and had 2 folks in the ArchPOWER side to help with the verification with their G5 however I am not 100% certain that it would perfectly on native hardware (PowerMac G4)
Faithful Linux enthusiast

My Raptor Blackbird

Hasturtium

  • Full Member
  • ***
  • Posts: 182
  • Karma: +10/-0
    • View Profile
Re: [DEV] JIT support for Firefox
« Reply #34 on: August 14, 2026, 12:38:56 pm »
Has the JIT made it into trunk for ppc64le yet? I am starting to run into dumb issues with anti-bot verification, and would love to use Fedora's provided Firefox for simplicity.

tle

  • Hero Member
  • *****
  • Posts: 605
  • Karma: +57/-0
    • View Profile
    • Trung's Personal Website
Re: [DEV] JIT support for Firefox
« Reply #35 on: August 17, 2026, 12:23:42 am »
Has the JIT made it into trunk for ppc64le yet? I am starting to run into dumb issues with anti-bot verification, and would love to use Fedora's provided Firefox for simplicity.

No, it will take some time for the Firefox team to review the submission. For the time-being downstream distributions can adopt the patches as they like. From what I heard from Dan Horak (the maintainer of Fedora Firefox package) is that he will introduce JIT support when version 153 is out. It has not happened yet so I believe he might be occupied with other higher priority works.

Btw, what site did you run into anti-bot verification?
Faithful Linux enthusiast

My Raptor Blackbird

tle

  • Hero Member
  • *****
  • Posts: 605
  • Karma: +57/-0
    • View Profile
    • Trung's Personal Website
Faithful Linux enthusiast

My Raptor Blackbird

carlosgonz

  • Newbie
  • *
  • Posts: 26
  • Karma: +2/-0
    • View Profile
Re: [DEV] JIT support for Firefox
« Reply #37 on: August 21, 2026, 06:48:19 pm »
So i started compile firefox-be on debian sid on powermac g5 before patch and compile gnu icecat, so i get some errors.

 0:29.13 checking whether the C linker supports -Wl,-z,now... no
 0:29.29 checking whether the C linker supports -Wl,-z,nocopyreloc... no
 0:29.39 checking whether the C assembler supports -fPIC... yes
 0:29.49 checking whether the C compiler supports -fPIC... yes
 0:29.62 checking whether the C++ compiler supports -fPIC... yes
 0:30.01 checking what kind of list files are supported by the linker...
 0:30.01 DEBUG: Creating `/tmp/conftestkvp2dly1.c` with content:
 0:30.01 DEBUG: | int main() {}
 0:30.02 DEBUG: Executing: `/usr/bin/ccache /usr/bin/gcc -std=gnu17 /tmp/conftestkvp2dly1.c -c -o /tmp/conftestk9ytmc7_.o`
 0:30.03 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out -Wl,@/tmp/conftest3ocvb5pe.list`
 0:30.03 DEBUG: The command returned non-zero exit status 1.
 0:30.03 DEBUG: Its error output was:
 0:30.04 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
 0:30.04 DEBUG: | collect2: error: ld returned 1 exit status
 0:30.05 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out -Wl,@/tmp/conftest3ocvb5pe.list`
 0:30.05 DEBUG: The command returned non-zero exit status 1.
 0:30.06 DEBUG: Its error output was:
 0:30.06 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
 0:30.06 DEBUG: | collect2: error: ld returned 1 exit status
 0:30.07 DEBUG: Executing: `/usr/bin/gcc -std=gnu17 -fuse-ld=lld -o /tmp/conftest91jf37ot.out @/tmp/conftest3ocvb5pe.list`
 0:30.07 DEBUG: The command returned non-zero exit status 1.
 0:30.08 DEBUG: Its error output was:
 0:30.08 DEBUG: | ld.lld: error: /usr/lib/gcc/powerpc64-linux-gnu/16/../../../powerpc64-linux-gnu/Scrt1.o: ABI version 1 is not supported
 0:30.09 DEBUG: | collect2: error: ld returned 1 exit status
 0:30.10 E ERROR: Couldn't find one that works
 0:30.76 E *** Fix above errors and then restart with "./mach build"
------------------------------------------------------------------------------------------------------

Package: lld
Version: 1:21.1.6-71+b1
Priority: optional
Section: devel
Source: llvm-defaults (0.71)
Maintainer: LLVM Packaging Team <pkg-llvm-team@lists.alioth.debian.org>
Installed-Size: 20.5 kB
Depends: lld-21 (>= 1:21.1.6-1)
Download-Size: 3,884 B
APT-Manual-Installed: yes
APT-Sources: http://deb.debian.org/debian-ports sid/main ppc64 Packages
Description: LLVM-based linker
 LLD is a new, high-performance linker. It is built as a set of reusable
 components which highly leverage existing libraries in the larger LLVM
 Project.

So i changed lld for bfd, like: ac_add_options --enable-linker=bfd which seems to work atm for compile.
« Last Edit: August 21, 2026, 06:59:45 pm by carlosgonz »
Blackbird  Rv1.02, Gnu Trisquel