Page 22 of 31
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Mon Oct 17, 2022 7:20 pm
by xeno74
xeno74 wrote: Mon Oct 17, 2022 6:59 pm
Wicknix wrote:
Hey -
I was able to fix PM 31.2 for ppc64. However i no longer have my old ubuntu 12 dev environment to attempt 32bit builds for debian/ubuntu compatible systems.
If you'd like to give it a shot the source is here:
pale-moon-31-ppc-fix.tar.bz2
Wicknix wrote:
PM build instructions here:
https://developer.palemoon.org/build/linux/
Don't worry about the git section. I already have the submodules and everything in place.
However after it builds, you'll need to swap the LE/BE icu.dat files around again after packaging. I included one in the archive.
ubuntu MATE 16.04.7: ERROR: Only GCC 7.1 or newer is supported (found version 5.4.0)
MintPPC: OK, compiling works but linking not.
It linked 40 minutes and after that I got the following error message again and again:
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Fri Oct 21, 2022 6:15 am
by xeno74
I tried it again with GCC9 but linking doesn’t work either. (error: relocation overflow)
Maybe cross compiling is a solution:
.mozconfig
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sat Oct 22, 2022 12:09 pm
by xeno74
Oh dear, I have it. It was really strenuous and time-consuming ....
Pale Moon 31.2.0 works on Linux PPC (32-bit)!
The gold linker was the problem. I had to change to the
bfd version of
ld with deleting the symbolic link
/usr/bin/ld.gold.
Then there was an issue with a header file. I have to edit the file
/home/mintppc/Downloads/pale_moon_src/pale-moon/platform/extensions/spellcheck/src/mozSpellChecker.h
Code: Select all
- #include "RemoteSpellCheckEngineChild.h"
+ #include "/home/mintppc/Downloads/pale_moon_src/pale-moon/obj-powerpc-linux-gnu/dist/include/mozilla/RemoteSpellCheckEngineChild.h"
Additionally I had to use the following LDFLAGS:
Code: Select all
export LDFLAGS="-Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--reduce-memory-overheads"
And not to forget to copy the
icudt58b.dat to
pale-moon/obj-powerpc-linux-gnu/dist/bin before "
mach run" and "
mach package" and then extract the
xz package and copy the
icudt58b.dat again to the palemoon folder.
Download (not tested):
palemoon-31.2.0.linux-powerpc-gtk2.tar.gz
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 12:11 am
by xeno74
It only works on new MintPPC and Debian Sid distributions. It doesn't work on Void PPC and Fienix so I compiled Pale Moon 31.2.0 on Void PPC.
I had to add
-latomic to the LDFLAGS and deactivated
ac_add_options --with-pthreads in the
.mozconfig.
Code: Select all
export LDFLAGS="-Wl,--no-keep-memory -Wl,--no-map-whole-files -Wl,--reduce-memory-overheads -latomic"
.mozconfig:
Code: Select all
export CC="gcc -m32"
export CXX="g++ -m32"
mk_add_options PYTHON=/usr/bin/python2
mk_add_options AUTOCONF=/usr/bin/autoconf-2.13
# Set GTK Version to 2 or 3
_GTK_VERSION=2
# Standard build options for Pale Moon
ac_add_options --enable-application=palemoon
ac_add_options --enable-optimize
ac_add_options --enable-default-toolkit=cairo-gtk$_GTK_VERSION
ac_add_options --disable-jemalloc
ac_add_options --enable-strip
#ac_add_options --enable-devtools
#ac_add_options --enable-av1
ac_add_options --disable-eme
ac_add_options --disable-webrtc
ac_add_options --disable-gamepad
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-necko-wifi
ac_add_options --disable-updater
ac_add_options --disable-gconf
#ac_add_options --with-pthreads
ac_add_options --disable-crashreporter
ac_add_options --disable-safe-browsing
ac_add_options --disable-pulseaudio
ac_add_options --disable-debug
#ac_add_options --with-system-icu
#ac_add_options --with-system-nspr
#ac_add_options --with-system-nss
ac_add_options --enable-system-ffi
ac_add_options --target=powerpc-linux-gnu
ac_add_options --host=powerpc-linux-gnu
# Please see https://www.palemoon.org/redist.shtml for restrictions when using the official branding.
#ac_add_options --enable-official-branding
#export MOZILLA_OFFICIAL=1
# Processor architecture specific build options
if [ -n "$_BUILD_64" ]; then
ac_add_options --x-libraries=/usr/lib64
else
ac_add_options --x-libraries=/usr/lib
fi
export MOZ_PKG_SPECIAL=gtk$_GTK_VERSION
This version was compiled with GCC 10.2.1 on Void PPC.
Download (not tested):
palemoon-31.2.0.linux-powerpc-gtk2.void.tar.gz
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 1:08 am
by xeno74
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 10:29 am
by Roland
I cannot get either of these palemoon-31 versions running... Only a text editor is opened if I double click the "palemoon" or "palemoon.bin" icon!
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 11:34 am
by xeno74
Roland wrote: Sun Oct 23, 2022 10:29 am
I cannot get either of these palemoon-31 versions running... Only a text editor is opened if I double click the "palemoon" or "palemoon.bin" icon!
Please try
./palemoon in a terminal.
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 12:18 pm
by Roland
xeno74 wrote: Sun Oct 23, 2022 11:34 am
[Please try
./palemoon in a terminal.
I got these errors when tried (with MintPPC) the first version:
Code: Select all
$ ./palemoon
./palemoon: /lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./palemoon)
./palemoon: /lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./palemoon)
And this when I tried the 'void' version:
Code: Select all
$ ./palemoon
XPCOMGlueLoad error for file /media/Linux/palemoon/libxul.so:
/lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /media/Linux/palemoon/libxul.so)
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 12:23 pm
by xeno74
Roland wrote: Sun Oct 23, 2022 12:18 pm
xeno74 wrote: Sun Oct 23, 2022 11:34 am
[Please try
./palemoon in a terminal.
I got these errors when tried (with MintPPC) the first version:
Code: Select all
$ ./palemoon
./palemoon: /lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./palemoon)
./palemoon: /lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./palemoon)
And this when I tried the 'void' version:
Code: Select all
$ ./palemoon
XPCOMGlueLoad error for file /media/Linux/palemoon/libxul.so:
/lib/powerpc-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /media/Linux/palemoon/libxul.so)
Your MintPPC distribution is too old. The Void package of PM needs a Linux distribution with glibc 2.32 and higher. Please update your MintPPC. Both packages work on my MintPPC.
Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon
Posted: Sun Oct 23, 2022 12:38 pm
by Roland
xeno74 wrote: Sun Oct 23, 2022 12:23 pm Your MintPPC distribution is too old. The Void package of PM needs a Linux distribution with glibc 2.32 and higher. Please update your MintPPC. Both packages work on my MintPPC.
In what package is the glibc 2.3x included? Does it have effect on VLC? I won't do anymore full updates with MintPPC as they broke the functionality of VLC!