<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/87903>87903</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
error: unknown target CPU 'armv8-a+nofp'
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
zhangxin6483
</td>
</tr>
</table>
<pre>
While buildingJailhouse with enabling clang am receiving the below error,
error: unknown target CPU 'armv8-a+nofp'
note: valid target CPU values are: nocona, core2, penryn, bonnell, atom, silvermont, slm, goldmont, goldmont-plus, tremont, nehalem, corei7, westmere, sandybridge, corei7-avx, ivybridge, core-avx-i, haswell, core-avx2, broadwell, skylake, skylake-avx512, skx, cascadelake, cooperlake, cannonlake, icelake-client, icelake-server, tigerlake, sapphirerapids, alderlake, knl, knm, k8, athlon64, athlon-fx, opteron, k8-sse3, athlon64-sse3, opteron-sse3, amdfam10, barcelona, btver1, btver2, bdver1, bdver2, bdver3, bdver4, znver1, znver2, znver3, x86-64, x86-64-v2, x86-64-v3, x86-64-v4
kroot@tracy-pc:/home/jailhouse/src/jailhouse# clang -print-supported-cpus
Android (7284624, based on r416183b) clang version 12.0.5 (https://android.googlesource.com/toolchain/llvm-project c935d99d7cf2016289302412d708641d52d2f7ee)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/zhangshizong/itx3588j-aosp12/prebuilts/clang/host/linux-x86/clang-r416183b/bin
Available CPUs for this target:
alderlake
amdfam10
athlon
athlon-4
athlon-fx
athlon-mp
athlon-tbird
athlon-xp
athlon64
athlon64-sse3
atom
barcelona
bdver1
bdver2
bdver3
bdver4
bonnell
broadwell
btver1
btver2
c3
c3-2
cannonlake
cascadelake
cooperlake
core-avx-i
core-avx2
core2
corei7
corei7-avx
generic
geode
goldmont
goldmont-plus
haswell
i386
i486
i586
i686
icelake-client
icelake-server
ivybridge
k6
k6-2
k6-3
k8
k8-sse3
knl
knm
lakemont
nehalem
nocona
opteron
opteron-sse3
penryn
pentium
pentium-m
pentium-mmx
pentium2
pentium3
pentium3m
pentium4
pentium4m
pentiumpro
prescott
sandybridge
sapphirerapids
silvermont
skx
skylake
skylake-avx512
slm
tigerlake
tremont
westmere
winchip-c6
winchip2
x86-64
x86-64-v2
x86-64-v3
x86-64-v4
yonah
znver1
znver2
znver3
Use -mcpu or -mtune to specify the target's processor.
For example, clang --target=aarch64-unknown-linux-gui -mcpu=cortex-a35
Can I get more information on how to make it work for armv8-a+nofp?
tks.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyUV0uP6yoS_jXOBjly8HuRRd9uRbqzmsUczXKEoWJzgsECnMf59SOMHT_ize1FB776KHCZqvpMjOG1BDgH6V9B-nMgvW2UPv9piKyfXGZJER8qxV7n_zZcAKp6LhiX9b8IF43qDaAHtw0CSSrBZY2oILJGpEUaKPC7g2wDqAKhHgi0VjrA30H0E0Rf_r_H4i_Uy5tUD4ks0TVY9P3vXyjAOdHtvQhJgP-S6toFOPerpLLgFt2J4Gy55E5EDwYRPZilokqSAH8jqjRgN-hA6pd0o0pJCUK4IbGqdb-GizvoVkk7zMQA1kqwCZrGYSd64wCrYbJJaIiAdtqN5270AGNb0DD4I5K9Ks1ZDTMpJPenm_H7xuQMIXezhpjHeNDJMDxKpRVhk8XcXoLcYDF0vPSEPTLsQYmhhMHEo0p1oN8zIqWS04zTgRZSwcE_3oQY0HfQw7Pzel5uSNc1XIMmHWdDaIhgs_kmhf8Z4nMrfNQboWSWzOPwOpxTdRa0kp4ZGgPxkv4GRtpMaNmVtKdoiA3RFMT48it7B316j3zw2BtjKyx-j4aD_ZETbxjh92jgPYss9A_gR-EdLyfxcpIsr_1NK2WDJLKa0FfY0SD-CvClUS0E-PJ7Sq4AX4ymayQecyzsNJc2NH3XKW2BhbTrjXf-JZlWnKEAFzkukgwnPiQGGFIS6eSUnYq4CnA5-rqDNlxJdMLH6Ji6dY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