On Mon, Jan 7, 2019 at 11:30 PM Mike Hommey <m...@glandium.org> wrote:

> > it would be extremely useful to confirm that 32-bit builds can in fact
> > be completed, simply by adding "-Wl no-keep-memory" to any 32-bit
> > builds that are failing at the linker phase due to lack of memory.
>
> Note that Firefox is built with --no-keep-memory
> --reduce-memory-overheads, and that was still not enough for 32-bts
> builds. GNU gold instead of BFD ld was also given a shot. That didn't
> work either. Presently, to make things link at all on 32-bits platforms,
> debug info is entirely disabled. I still need to figure out what minimal
> debug info can be enabled without incurring too much memory usage
> during linking.

 hi mike, hi steve, i did not receive a response on the queries about
the additional recommended options [1], so rather than lose track i
raised a bugreport and cross-referenced this discussion:

 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=919882

 personally, after using the ld-evil-linker.py tool i do not expect
the recommended options to work on 32-bit, as i suspect that, despite
the options saying that they do not use mmap, the investigation that i
did provides some empirical evidence to the contrary, whereas ld-bfd
does *not*.

 so, ironically, on ld-bfd you run into one bug, and on ld-gold you
run into another :)

l.

[1] https://sourceware.org/bugzilla/show_bug.cgi?id=22831#c25

Reply via email to