[oi-dev] some notes related package firefox

Carsten Grzemba grzemba at contac-dt.de
Fri Feb 5 10:56:08 UTC 2021


as we discussed on wednesday, here some notes for getting a current FF version on OI

first we need here also:
- mozilla-nss at 3.57
 because NSS libs has no versioning in libname, only in elf data, update should not have side effects for the Illumos ldapclient. At least my oi ldapclient is still working ;)
- libicu at 68.2
 this means also that a respin of loffice, qt4, qt5, keepassx etc packages has to be done, it is a similar problem like whith update openssl
- rusts version > 1.41.1

 this seems to be solvable with less effort
- the small sqlite lib fix, reported on bugs-openindiana

I used gcc for build, not clang.


A debug build produces a 3GB libxul.so where the build toolchain has to pickup the 64bit readelf! 32bit readelf presents errors like:
readelf: Error: Unable to seek to 0xd2aedb60 for section headers
readelf: Error: Unable to read in 3513427240 bytes of symbols
readelf: Error: Unable to determine the number of symbols to load
readelf: Error: Unable to determine the length of the dynamic string table


The Solaris 11.4 ld knows nowadays some extra options like:

 -z gnu-version-script=file
 process GNU version script mapfile
 -z gnu-version-script-compat
 enable GNU --version-script compatibility option


which illumos don't have, and produce linker errors

unfortunatly the FF 68esr or 78esr builds which I get core in JS stuff imediate after startup. It looks like a related problem reported in mozilla-bug 577056 and
https://bugzilla.mozilla.org/show_bug.cgi?id=1540672
which we had already a fix. But the code is reworked and seems now not working anymore on Illumos. 

solaris-userland uses here a patch but this is addressed to SPARC.

For setting here the 47bit address range is a linker map with RESERVE_SEGMENT used, which the Illumos ld also not knows:

# Mozilla JavaScript expects that no address above 47bits address range
# will get ever used. Solaris SPARC is not limiting address space.
# Therefore we need to enforce it artificially.

$mapfile_version 2
RESERVE_SEGMENT spidermonkey_reserve {
 VADDR = 0x800000000000;
 SIZE = 0xffff7fffffff0000;
};

Carsten
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openindiana.org/pipermail/oi-dev/attachments/20210205/9f6c4e04/attachment.html>


More information about the oi-dev mailing list