Your message dated Wed, 12 Feb 2025 23:33:00 +0100
with message-id <62fcc9073888f207eaa3bb10ab28a2fe9f3ebb98.ca...@debian.org>
and subject line Built using standard ld
has caused the Debian Bug report #1093861,
regarding mame: FTBFS on armel: ld.gold: out of memory
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1093861: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1093861
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mame
Version: 0.273+dfsg.1-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)
User: debian-...@lists.debian.org
Usertags: armel
X-Debbugs-CC: debian-...@lists.debian.org
Control: block 1092719 by -1
As noted in #1092719, mame failed to build on the armel buildds:
> g++ -o ../../../../../mame obj/Release/src/mame/mame.o
> obj/Release/generated/mame/mame/drivlist.o obj/Release/generated/version.o
> -fuse-ld=gold -Wl,--no-keep-memory -Wl,-z,relro -Wl,-z,now -Wl,--long-plt
> -L"../../../../../../../../usr/X11/lib"
> -L"../../../../../../../../usr/X11R6/lib"
> -L"../../../../../../../../usr/openwin/lib" -L"."
> -L"../../../../../scripts/mame_mame" -L"../../../../../scripts/src/mame"
> -L"../../../../../scripts/src" -L"../../../../../scripts/src/osd/mame_mame"
> -L"../../../../../scripts/src/osd" -L/usr/lib/arm-linux-gnueabi
> -Wl,--start-group ../../../../../scripts/mame_mame/libzvt.a [... more static
> libraries ...] ../../../../../scripts/src/osd/mame_mame/libocore_sdl.a
> -lpugixml -ldl -lrt -lSDL2 -lm -lpthread -lutil -lexpat -ljpeg -lz -lFLAC
> -lutf8proc -lsqlite3 -lportaudio -lportmidi -lGL -lasound -lQt5Core -lQt5Gui
> -lQt5Widgets -lpulse -lX11 -lXinerama -lXext -lXi -lSDL2_ttf -lfontconfig
> -lfreetype -Wl,--end-group
> /usr/bin/ld.gold: out of memory
> collect2: error: ld returned 1 exit status
This seems to be erratic: its memory consumption must be somewhere around
the limit, such that linkers that are slightly more or slightly less
memory-efficient can push it above or below what's available.
If the mame maintainers are not particularly interested in keeping it
working on armel, I think the way to resolve this would be to ask for it
to be removed from armel, as Jeremy suggested in #1092719.
If this is done, then the mame maintainers will also need to make sure
subsequent versions don't flap between buildable and unbuildable over time.
It might be best to add "Build-Depends: an-unsatisfiable-dependency [armel]"
so that it will not be attempted.
Or, if an armel porter can provide tested linker options to make the
linker use less memory (perhaps by reducing debug symbols?), it might be
possible to keep mame compiling. However, mame is already using various
tricks to try to minimize its link-time memory consumption and they are
not enough, and it's now in danger of being autoremoved from testing;
so if armel porters want this, the time to suggest it would be *now*.
Thanks,
smcv
--- End Message ---
--- Begin Message ---
Source: mame
Source-Version: 0.274+dfsg.1-2
Done: Jordi Mallach <jo...@debian.org>
Hi!
It turns out that the fix for #1093862, ie moving away from the gold
linker, also fixed armel builds, at least for the last upload.
I'm closing this bug so that MAME can transition.
Jordi
--
Jordi Mallach <jo...@debian.org>
Debian Project
--- End Message ---