Tiny Core Extensions > TCE Q&A Forum

[Solved] Firefox-ESR won't start after packing - Couldn't load XPCOM.

<< < (2/2)

polikuo:
Hi juanito.
I know that, but it looks like the patch no longer works with the newer version of firefox.
I can see some patches in the firefox source for png but they are different from the LFS one.

--- Code: ---tc@pi4:/mnt/mmcblk0p3/firefox-lto$ ls ./media/libpng/*.patch
./media/libpng/apng.patch  ./media/libpng/arm.patch
--- End code ---

Change-log: attaching patch files.

Rich:
Hi polikuo

--- Quote from: polikuo on March 11, 2022, 02:50:22 AM --- ... How should I name this build ? ...
--- End quote ---

Well, since you said this:

--- Quote --- ... Personally, I believe the performance has been improved.
I don't feel any lag on pi4. ...
--- End quote ---

Maybe something like  firefox-91.7.0esr-faster.tcz  or  firefox-91.7.0esr-perf.tcz.
Then include a comment in the  .info  file that the extension trades off size for speed (or performance).

polikuo:
Hi

It took me a while, but I've found the cause and solution.
I'm using LLVM linker "ld.lld" for this build.
That linker doesn't search /usr/local/lib by default.
(BTW, neither does the gold linker, is there any way to adjust that so they behave like the bfd one ?)

So we don't need to adjust libpng.
All you have to do is to specify it from the command.

--- Code: ---CC='clang -march=armv8-a+crc -mtune=cortex-a72 -L/usr/local/lib'
--- End code ---

Sadly, with system-png only saves 46 KB of space.
It's insignificant compare to the entire directory (185.7M)

Do you think I should submit this build ?

Navigation

[0] Message Index

[*] Previous page

Go to full version