On 06/21/20 12:44 AM, Lars Erdmann wrote:
> Hi Dave,
>
> are you talking about building the browser or running the browser ?
Right now it is linking the browser. To quote dmik,
...
The link command included 3426 object files and 545 static libraries
(which in total include around 10 000 object files). It took around 6
hours before emxomfld did its work and passed execution to wl.exe which
just hung (causing a cold reboot).
...
Given that there are 1487454 weak aliases, there must be many million of
symbols that are put in the hash table.
...
He did optimize emxomfld to bring it down to 5 minutes :) but wlink is
still crashing.
Even linking Mozilla's xul.dll was taking the full address space here
for a while, without VIRTUALADDRESSLIMIT=3072, wlink would fail with an
out of memory error. Also with only 1.5 GBs of ram, I discovered our
swap file has a 2GB limit, giving a swap file full error.
Mozilla eventually started concatting cpp files together and
disassembling static libraries, so feeding the linker about 10,000
object files IIRC.
Dave