1
Applications and Porting / Re: [DEV] JIT support for Firefox
« Last post by tle on Today at 08:12:59 pm »I can not boot tle-hero ppc-firefox build on trisquel ecne.
Can you bump it firefox newer and recompile on glibc 2.39 <=
please, please tle
~/Downloads/firefox$ ./firefox
XPCOMGlueLoad error for file /Downloads/firefox/libxul.so:
/lib/powerpc64le-linux-gnu/libm.so.6: version `GLIBC_2.43' not found (required by /Downloads/firefox/libxul.so)
Couldn't load XPCOM.
~/Downloads/firefox$ ldd --version
ldd (trisquel GLIBC 2.39-0trisquel8.7trisquel1) 2.39
Copyright (C) 2024 Free Software Foundation, Inc.
Esto es software libre; vea el código fuente para las condiciones de copia.
No hay NINGUNA garantía; ni siquiera de COMERCIABILIDAD o IDONEIDAD PARA UN
FIN DETERMINADO.
Escrito por Roland McGrath y Ulrich Drepper.
I mean you have to compile it on Trisquel because that distribution does not have the same glibc version. The build instructions is kinda like this:
git clone --tags https://github.com/mozilla-firefox/firefox.git
cd firefox
git checkout FIREFOX_152_RELEASE
# download 3 patches from https://github.com/runlevel5/firefox/releases/tag/FIREFOX_152_0_RELEASE_PPC64
git am 000*.patch
mkdir -p obj-ff-ppc64
export CC=gcc
export CXX=g++
ac_add_options --enable-application=browser
ac_add_options --enable-optimize
ac_add_options --disable-debug
ac_add_options --enable-release
ac_add_options --disable-tests
ac_add_options --enable-jit
ac_add_options --with-ccache
ac_add_options --with-libclang-path=/usr/lib64
ac_add_options --without-wasm-sandboxed-libraries
ac_add_options --enable-linker=lld
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-ppc64
./mach build
./mach package
Then let me know how you go, I highly encourage you ask the Trisque packagers to adopt my downstream patches so you do not have to build it yourself
Recent Posts
