Le 05/06/2019 à 04:14, Mike Hommey a écrit :
Package: clang-8
Version: 1:8-3
Severity: wishlist

Dear Maintainer,

The target that one gives to clang needs, to some extent, to match what
the toolchain prefix is for binutils. For armhf, that is
arm-linux-gnueabihf. When using clang --target=arm-linux-gnueabihf,
clang still targets armv6, when the baseline for the armhf Debian
architecture is armv7. It should arguably target armv7.

agreed

this is because clang/llvm thinks that the arch version is v6kz-unknown-linux-gnueabihf

This should be easy to fix, I will have a look to fix that.

Adding -v shows

[...]
"/usr/lib/llvm-7/bin/clang" -cc1 -triple armv6kz--linux-gnueabihf ..

S

Reply via email to