Release Pale Moon


_jr_

Advanced Member
Joined
May 5, 2013
Messages
1,170
Also, note that, on the Pandora, I get a "Illegal instruction" error at start when compiled with GCC 7.1 or 7.2 (that's why I haven't updated the pnd yet). I try to build with gcc 5.1, but I have many error, and not all are fixed yet. I can put the diff here if (and when) I succeed in building it with gcc 5.1, as you may encounter those error too (some weird error about optimisation level that differ and make inlining to fail).

I've also been playing around with buiding palemoon. I've come as far as https://bugzilla.mozilla.org/show_bug.cgi?id=1269319 and https://bugzilla.mozilla.org/show_bug.cgi?id=1269317 that address strict aliasing bugs and are missing from palemoon, but haven't had time recently to look further.
 

klapse

Central Scrutinizer
Joined
Aug 30, 2012
Messages
1,932
Location
Germany
I've also been playing around with buiding palemoon. I've come as far as https://bugzilla.mozilla.org/show_bug.cgi?id=1269319 and https://bugzilla.mozilla.org/show_bug.cgi?id=1269317 that address strict aliasing bugs and are missing from palemoon, but haven't had time recently to look further.

Oh man, the PI3 needs a recent palemoon.

I grabbed ptitsebs diff and the latest git tree. The diff is like 48kB. What do i run to apply the patch to the git tree?

it wants directories ./a and ./b

How much RAM is needed to compile? I got gcc 4.9.
 

klapse

Central Scrutinizer
Joined
Aug 30, 2012
Messages
1,932
Location
Germany
Surprisingly, there is a tool named 'patch' which I'll bet you've got installed. It does exactly what it says on the tin.

yes but patch isn't working

i have the git pulled into 'a' and copied it into 'b'
running patch -p0 < thediff.diff

from the directory above a and b complains about not finding the files
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,285
Age
50
Location
France, near Lyon
yes but patch isn't working

i have the git pulled into 'a' and copied it into 'b'
running patch -p0 < thediff.diff

from the directory above a and b complains about not finding the files
It's a git diff, so you need "patch -p1 < thediff.diff"
Also, it's an old patch, expect some of it to don't apply cleanly

(I haven't updated PaleMoon on the Pandora because I have a "Illegal Instuction error" for some time, and I still haven't been able to fix it).
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,285
Age
50
Location
France, near Lyon
At last, a new build of Pale Moon.
Using latest stable 27.7.1 source code. The build seems to works, but I haven't tested much.
I have also updated the diff in 1st post (but know that I cross-compile PaleMoon, and I add weird issue with linking libxul.so, with a few libc function that were undefined: rand, srand and bsearch.. So I copied/pasted an implementation of them in netwerk/base/nsSocketTransportService2.cpp).

Build 31
-----------

  • Update to 27.7.1 sources
 

klapse

Central Scrutinizer
Joined
Aug 30, 2012
Messages
1,932
Location
Germany
I tried two days to build for pi3 in qemu-arm-static chroot. Using sources from git master. With ptitSeb's patches.

I tried ptitSeb's .mozconfig from his old tarball, removing the --x-libraries=/mnt/utmp/codeblocks/usr/lib and -fuse-ld=gold -fuse-linker-plugin. (I don't have ld-gold available).

http://0x0.st/sAVQ.txt

[EDIT]
Ok tweaked mozconfig to include
-fuse-linker-plugin (but not ld-gold)

Building 44 minutes gets me to:
http://0x0.st/sAW-.txt

Ah grepping the output for error gets me
34:43.07 /home/blap/Downloads/Projects/pibuild/b-feb23-42minoptim/dom/media/mediasource/ContainerParser.cpp:9:32: fatal error: WebMBufferedParser.h: No such file or directory

[E20180226:08:46]
Copied
/dom/media/webm/WebMBufferedParser.h dom/media/mediasource
and changed #include <WebMBufferedParser.h> to <./WebMBufferedParser.h> and made the dir read-only.
http://0x0.st/sAW-.txt
[E20180226:11:38]
Still no luck building dom/media/webaudio/MediaBufferDecoder.cpp:

WHY an't they just $@%@#$ give us one meta mozconfig flag for a SIMPLE BROWSER without ANY @#$%@#$%#$% ...

NO @#$%@# media, no @#$%@#$% video, no ^@#$#@%# audio, no @#$%@#$%#
geolocation, no @#$%@#$ telephony, no @#$%@#$ webcam ... no göd-#### JOYSTICK... $@#^#$^@#$^@$%#$%#$%#$^~@$^@
 
Last edited:

Swordfish II

Advanced Member
Joined
May 20, 2015
Messages
1,175
I tried two days to build for pi3 in qemu-arm-static chroot. Using sources from git master. With ptitSeb's patches.

I tried ptitSeb's .mozconfig from his old tarball, removing the --x-libraries=/mnt/utmp/codeblocks/usr/lib and -fuse-ld=gold -fuse-linker-plugin. (I don't have ld-gold available).

http://0x0.st/sAVQ.txt

[EDIT]
Ok tweaked mozconfig to include
-fuse-linker-plugin (but not ld-gold)

Building 44 minutes gets me to:
http://0x0.st/sAW-.txt

Ah grepping the output for error gets me
34:43.07 /home/blap/Downloads/Projects/pibuild/b-feb23-42minoptim/dom/media/mediasource/ContainerParser.cpp:9:32: fatal error: WebMBufferedParser.h: No such file or directory

If you do get it to build, please post it up. I would love to use it
 

Swordfish II

Advanced Member
Joined
May 20, 2015
Messages
1,175
Thanks for the build. Pale Moon is fantastic, especially with the fit-to-width plugin. No sideways scrolling on the Pandora!
 

klapse

Central Scrutinizer
Joined
Aug 30, 2012
Messages
1,932
Location
Germany
Now i really want to get this to compile but no luck so far.

Can you update the diff and upload your mozconfig, please?
 

ptitSeb

Serial Porter
Joined
Aug 15, 2012
Messages
9,285
Age
50
Location
France, near Lyon
Now i really want to get this to compile but no luck so far.

Can you update the diff and upload your mozconfig, please?
Yeah, I'll update the stuff this weekend. I have compiled it on my Odroid N1 also, so I have some 64bits mozconfig file also...
 
Top