On Fri, Jan 09, 2026 at 09:32:09PM -0500, Jeremy Bícha wrote:
> mame fails to build on arm64 if it doesn't use binutils-gold. See
> https://bugs.debian.org/1098756

Builds for me now, not sure whether it's commit 5ad7fd27ba37840
or some other change in binutils that fixed it.

> https://debusine.debian.net/debian/developers/artifact/2989287/

...
... -fuse-ld=gold -Wl,--no-keep-memory -Wl,-z,relro -Wl,-z,now 
-mbranch-protection=standard -L"." -s -rdynamic  -ldl -lm
collect2: fatal error: cannot find ‘ld’
compilation terminated.
...

That cannot work.

Removing the "LINK_WITH_GOLD = 1" is the important part,
the build dependency itself does not change the linker used.

> Thank you,
> Jeremy Bícha

cu
Adrian

Reply via email to