Thursday 15 March 2018

Re: Launchpad i386 build: Memory exhausted

On Wed, Mar 14, 2018 at 09:56:46AM +0100, Cesare Falco wrote:
> I'm asking everyone for advice: assuming that no i386 build seems possible
> any more, should I:
> - stop maintaing Mame
> - remove i386 from the supported archs
> - ... (any suggestion is welcome here!)

As Colin said, you should try to reduce memory usage by the linker.

Try:

- replacing -g with -g1 or maybe no debug symbols at all;
- disabling caching of symbols tables (-Wl,--no-keep-memory);
- adding -Wl,--reduce-memory-overheads.
- switching to another linker (bfd vs. gold) if none of the above helps.

Usually just using -g1 saves lots of memory.

--
Dmitry Shachnev