Error linking i386 build on Launchpad

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


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

> 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:
https://launchpad.net/~c.falco/+archive/ubuntu/alpha/+build/8920070/+files/buildlog_ubuntu-wily-i386.mame_0.170-0ubuntu1~ppa1~wily1_BUILDING.txt.gz


> 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!
Cesare
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20160201/e0037788/attachment.html>


More information about the ubuntu-devel mailing list