2016-01-11 13:40 GMT+01:00 Colin Watson <[email protected]>:
On Mon, Jan 11, 2016 at 11:46:24AM +0100, Cesare Falco wrote:
> I'm not able to build the current release of Mame on Launchpad due to
> memory issues:
> /usr/bin/ld: failed to set dynamic section sizes: Memory exhausted
> Did anyone find any workaround? Is there any way to tell Launchpad I need a
> VM with more memory? Or perhaps I can force the build on a specific machine
> which has more memory?
There are various linker options which can help reduce memory taken
while linking, e.g. -Wl,--no-keep-memory, -Wl,--reduce-memory-overheads,
or -Wl,--hash-size=NUMBER. I can't quite tell what you're doing right
I've tried many combinations and ended up setting them all, with NUMBER being as little as 2, but with no luck. :(
In the meantime, a new upstream version popped out; the latest build log is here:
now because your build hides the exact command lines in use (please
reconsider that), but have you looked into those?
I enabled the verbose build which no longer hides the command lines.
This produces a *big* file i.e. several megabytes: should I keep it anyway once the issue is solved? I thought it advisable to limit the building output, isn't it?