Source: binutils
Version: 2.40-2
Severity: normal

binutils-x86-64-linux-gnu can be compiled as a native binutils to be run on
amd64 and emit amd64 binaries, or as a cross-binutils to be run on some
other architecture like for example ppc64el (and still emit amd64 binaries).

The native binutils-x86-64-linux-gnu:amd64 contains symlinks
/usr/bin/x86_64-linux-gnu-gold -> x86_64-linux-gnu-ld.gold for the gold
linker, and
/usr/bin/x86_64-linux-gnu-ld -> x86_64-linux-gnu-ld.bfd for the traditional
BFD linker, together with their man pages.

The cross packages like binutils-x86-64-linux-gnu:ppc64el contain
/usr/bin/x86_64-linux-gnu-ld -> x86_64-linux-gnu-ld.bfd, but do not have
/usr/bin/x86_64-linux-gnu-gold -> x86_64-linux-gnu-ld.gold.

This seems inconsistent: I would have expected that binutils-TUPLE would
either always provide TUPLE-gold, or never provide TUPLE-gold.

Similarly, binutils-x86-64-linux-gnu:amd64 provides TUPLE-gp-archive (and
other gp- tools) and TUPLE-gprofng, but binutils-x86-64-linux-gnu:ppc64el
doesn't provide those.

(All of this seems to be equally true for architectures other than
x86_64-linux-gnu, that's just an example.)

    smcv

Reply via email to