armv8l-unknown-linux-gnueabihf triplet from clang -dumpmachine on ARMv7l
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
clang (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm working on a Tritium ARMv7 dev board (https:/
I'm testing native build of a package using Clang.
GCC provides the following triplet:
$ gcc -dumpmachine
arm-
Clang provides the following triplet:
$ clang -dumpmachine
armv8l-
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:/
Perhaps it would be a good idea if Clang reported something closer to the board it is running on.
*******
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic
$ apt-cache policy clang
clang:
Installed: 1:6.0-41~
Candidate: 1:6.0-41~
Version table:
*** 1:6.0-41~
500 http://
100 /var/lib/
1:6.0-41~exp4 500
500 http://
This may be helpful.
$ uname -a
Linux tritium 4.19.25-sunxi #5.78 SMP Mon Apr 8 07:46:22 CEST 2019 armv7l armv7l armv7l GNU/Linux
$ cat /proc/cpuinfo
processor : 0
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 1
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 2
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
processor : 3
model name : ARMv7 Processor rev 5 (v7l)
BogoMIPS : 48.00
Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm
CPU implementer : 0x41
CPU architecture: 7
CPU variant : 0x0
CPU part : 0xc07
CPU revision : 5
Hardware : Allwinner sun8i Family tritium: ~/cryptopp$
Revision : 0000
Serial : 02c000421f791ea4
jwalton@