Arctic Fox

AmigaOne X5000 platform specific issues related to Linux only.
Post Reply
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by xeno74 »

Hi All,

I was able to build Arctic Fox 27.9.14 PowerPC64 on Fedora 27 PPC64 today.

The first compiling wasn't successfull. I had to downgrade the GCC from version 7.3.1 to 6.4.1 with the command 'sudo dnf downgrade gcc gcc-c++ --releasever=25'. Additionally I integrated some parts of the AMD64 .mozconfig to my Non-AltiVec .mozconfig. After that I was able to compile it without any problems. Unfortunately I wasn't able to start it. I got the following error: '<jemalloc>: (malloc) Error in munmap();'. I added 'ac_add_options --disable-jemalloc' to the .mozconfig. After a new compiling it works without any problems.

.mozconfig

Code: Select all

# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.

export CC="gcc -flax-vector-conversions -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export CXX="g++ -flax-vector-conversions -fpermissive -O3 -falign-loops=16 -falign-functions=16 -falign-labels=16 -falign-jumps=16"
export LDFLAGS="-latomic"

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-ff-dbg

ac_add_options --disable-crashreporter
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --disable-updater
ac_add_options --enable-mozril-geoloc
ac_add_options --disable-webrtc
ac_add_options --disable-safe-browsing
ac_add_options --disable-parental-controls
ac_add_options --enable-release
ac_add_options --disable-necko-wifi
ac_add_options --disable-eme
ac_add_options --disable-gamepad
ac_add_options --enable-dbus
ac_add_options --disable-gio
ac_add_options --disable-pulseaudio
ac_add_options --enable-strip
ac_add_options --enable-install-strip
ac_add_options --enable-application=browser
ac_add_options --with-branding=browser/branding/arcticfox
ac_add_options --enable-optimize="-O2 -fno-schedule-insns2 -fno-lifetime-dse -fno-delete-null-pointer-checks"
ac_add_options --disable-jemalloc
I used these commands to build, test, and package:

Code: Select all

./mach build
(starts the configuration and build process)

Code: Select all

./mach run
(tests completed build with scratch profile)

Code: Select all

./mach package
(creates the self contained archive which you'll find in <Arctic Fox src directory>/obj-ff-dbg/dist)

Download: arcticfox-27.9.14.linux-powerpc64.tar.bz2

It is important to compile a 64-bit PowerPC version of Arctic Fox because Firefox doesn't work reliable on Fedora PPC64. Midori also isn't a good option because it crashes very often on Fedora PPC64. The same problems on openSUSE Tumbleweed PPC64 so Arctic Fox is the solution. :-) Arctic Fox is the best browser we have on Linux PPC currently. Many thanks to Riccardo Mottola for his help with the compiling of a PPC64 version.

Screenshots of Arctic Fox 27.9.14 on Fedora 27 Server PPC64 (A-EON AmigaOne X5000):

Image

Image

Screenshot of Arctic Fox 27.9.14 on openSUSE Tumbleweed PPC64 (A-EON AmigaOne X1000):

Image

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by Roland »

xeno74 wrote: I was able to build Arctic Fox 27.9.14 PowerPC64 on Fedora 27 PPC64 today.

Download: arcticfox-27.9.14.linux-powerpc64.tar.bz2

It is important to compile a 64-bit PowerPC version of Arctic Fox because Firefox doesn't work reliable on Fedora PPC64. Midori also isn't a good option because it crashes very often on Fedora PPC64. The same problems on openSUSE Tumbleweed PPC64 so Arctic Fox is the solution. :-) Arctic Fox is the best browser we have on Linux PPC currently. Many thanks to Riccardo Mottola for his help with the compiling of a PPC64 version.
I tried to test that PPC64 version on Fedora 27, but it did not open at all (nor did the 32-bit version). Should it start by double clicking the program icon, like it does with Ubuntu and Fienix...? BTW, tested it also with Debian, and AF did not run there, either.
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by xeno74 »

Roland wrote: I tried to test that PPC64 version on Fedora 27, but it did not open at all (nor did the 32-bit version). Should it start by double clicking the program icon, like it does with Ubuntu and Fienix...? BTW, tested it also with Debian, and AF did not run there, either.
Please start Arctic Fox via the terminal on Fedora 27. Have you seen any error messages?

— Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by Roland »

xeno74 wrote:
Roland wrote: I tried to test that PPC64 version on Fedora 27, but it did not open at all (nor did the 32-bit version). Should it start by double clicking the program icon, like it does with Ubuntu and Fienix...? BTW, tested it also with Debian, and AF did not run there, either.
Please start Arctic Fox via the terminal on Fedora 27. Have you seen any error messages?
Not when trying to open it via the icon, but in terminal I got this:

Code: Select all

[roland@localhost ~]$ cd /home/roland/Public/arcticfox/
[roland@localhost arcticfox]$ ls
application.ini     dictionaries       libnssutil3.so  platform.ini
arcticfox           libfreeblpriv3.so  libplc4.so      plugin-container
arcticfox-bin       libmozalloc.so     libplds4.so     precomplete
browser             libmozsqlite3.so   libsmime3.so    removed-files
chrome.manifest     libnspr4.so        libsoftokn3.so  run-mozilla.sh
components          libnss3.so         libssl3.so
defaults            libnssckbi.so      libxul.so
dependentlibs.list  libnssdbm3.so      omni.ja
[roland@localhost arcticfox]$ arcticfox
bash: arcticfox: command not found
Very strange, just like the program were not there even if 'ls' shows it is!
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by xeno74 »

Roland,

Could you please start it with ./arcticfox on Fedora 27? I need some error messages.

Have you already reported the issues with the bookmarks to the developers yet?

Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by Roland »

xeno74 wrote:Could you please start it with ./arcticfox on Fedora 27? I need some error messages.

Code: Select all

[roland@localhost arcticfox]$ ./arcticfox
./arcticfox: error while loading shared libraries: libatomic.so.1: cannot open shared object file: No such file or directory
I already had a look in Yum Extender but there was no library with that name.
Have you already reported the issues with the bookmarks to the developers yet?
No, not yet... But I noticed the bookmarks in 'Bookmarks Toolbar' can be accessed via the side panel. Not as handy as the Toolbar itself, though...
- Roland -
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by xeno74 »

Hi Roland,

Please install the package libatomic with the following command:

Code: Select all

sudo dnf install libatomic
Thanks,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Roland
Posts: 825
Joined: Tue May 02, 2017 7:23 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by Roland »

xeno74 wrote:Please install the package libatomic with the following command:

Code: Select all

sudo dnf install libatomic
Thanks, got it installed! Now I can run Arctic Fox 64, from both terminal and icon. And for unknown reason, the Bookmarks Toolbox works too! Maybe there is some difference in the 32 and 64 bit versions?

Bur what is peculiar, I cannot run any other copy of Arcticfox, 32 or 64 bit, which are located on a NTFS partition. Only the copy which I had already in /home/public/ when I installed the missing library works. And if I now copy one of those Arcticfox dirs from NTFS partiition to /home/public/, Arcticfox does not run from them...
- Roland -
User avatar
caseycullen
Posts: 519
Joined: Sat Dec 17, 2016 7:12 am
Location: Madison, WI USA
Contact:

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by caseycullen »

Christian,
Have you tried to build a 32-bit version of Arctic Fox without libjemalloc? I almost have the G5 version of Fienix ready but when trying to start Arctic Fox:

Code: Select all

<jemalloc>Compile-time page size does not divide the runtime one.
/usr/bin/arcticfox: line 3: 7182 Segmentation fault    ./arcticfox
I get a similar error when trying to run Firefox 47, which is the only version I have built; and the versions in Debian repositories currently have dependency issues.
I don't have time to try to build it myself so I thought I'd check with you.
Thanks :)
-Casey
User avatar
xeno74
Posts: 9348
Joined: Fri Mar 23, 2012 7:58 am

Re: Arctic Fox 27.9.12 (Firefox 63.0) a fork of Pale Moon

Post by xeno74 »

Hi Casey,
caseycullen wrote:Christian,
Have you tried to build a 32-bit version of Arctic Fox without libjemalloc?
Unfortunately I can't compile a 32-bit version anymore because it doesn't compile reliable on a 32-bit userland with a 64-bit kernel. Wicknix successfully compiled the 32-bit version on his Mac Mini G4 (32-bit userland with a 32-bit kernel) two weeks ago.
caseycullen wrote: I almost have the G5 version of Fienix ready but when trying to start Arctic Fox:

Code: Select all

<jemalloc>Compile-time page size does not divide the runtime one.
/usr/bin/arcticfox: line 3: 7182 Segmentation fault    ./arcticfox
Did you compile it with the option 'ac_add_options --disable-jemalloc'?

Cheers,
Christian
http://www.amigalinux.org
http://www.supertuxkart-amiga.de

Running Linux on AmigaONEs can require some tinkering.
Post Reply