Bug#892184: nvidia-settings: FTBFS on mips64el, ia64, m68k - /usr/bin/ld: failed to merge target specific data

James Cowgill jcowgill at debian.org
Tue Mar 6 14:22:28 UTC 2018


Source: nvidia-settings
Version: 387.34-1
Severity: serious
Tags: sid buster

Hi,

nvidia-settings FTBFS on the above architectures with this error (taken
from mips64el here):
> /usr/bin/ld: _out/debian/antialias.png.o: warning: linking abicalls files with non-abicalls files
> /usr/bin/ld: _out/debian/antialias.png.o: linking 32-bit code with 64-bit code
> /usr/bin/ld: failed to merge target specific data of file _out/debian/antialias.png.o
> /usr/bin/ld: _out/debian/background.png.o: warning: linking abicalls files with non-abicalls files
> /usr/bin/ld: _out/debian/background.png.o: linking 32-bit code with 64-bit code
> /usr/bin/ld: failed to merge target specific data of file _out/debian/background.png.o
[...]
> collect2: error: ld returned 1 exit status

This is caused by trying to generate objects using "ld --format=binary"
which is not portable. In the case of mips64el, that command generates
objects without certain flags set which causes the link errors. These
flags are usually set by gcc.

If you want to do this portably, you have to go through the C compiler.
Using xxd -i is a common method.

Thanks,
James

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-nvidia-devel/attachments/20180306/11b9f8ce/attachment.sig>


More information about the pkg-nvidia-devel mailing list