On 01.05.19 07:21, Jeffrey Walton wrote: > Public bug reported: > > I'm working on a Tritium ARMv7 dev board > (https://www.amazon.com/gp/product/B07D4L7GXZ). It has a Cortex-A7 > (https://libre.computer/products/boards/all-h3-cc/). > > I'm testing native build of a package using Clang. > > GCC provides the following triplet: > > $ gcc -dumpmachine > arm-linux-gnueabihf > > Clang provides the following triplet: > > $ clang -dumpmachine > armv8l-unknown-linux-gnueabihf > > The Clang triplet is very unusual. I've never seen a compiler claim > armv8l. ARM does not even have a hit for ARMv8l on their site > (https://www.google.com/search?q="armv8l"+site%3Aarm.com). According to > https://github.com/tsandmann/armv8l-toolchain-linux, it is an ARM A-53 > toolchain. It looks like the mis-identification is causing some folks > trouble, including me (https://stackoverflow.com/q/27121199/608639). > > Perhaps it would be a good idea if Clang reported something closer to > the board it is running on.
maybe it would help if clang would accept the -print-multiarch option. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1827175 Title: armv8l-unknown-linux-gnueabihf triplet from clang -dumpmachine on ARMv7l To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clang/+bug/1827175/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
