Error linking i386 build on Launchpad

Cesare Falco c.falco at
Mon Feb 1 08:29:23 UTC 2016

2016-01-11 13:40 GMT+01:00 Colin Watson <cjwatson at>:

> 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

> 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?

Thank you!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the ubuntu-devel mailing list