<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/114910>114910</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
x86_64-linux-android30 does not have xf_float. any solutions?
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
trcrsired
</td>
</tr>
</table>
<pre>
[10/21] Building C object CMakeFiles/clang_rt.builtins-x86_64.dir/powixf2.c.o
FAILED: CMakeFiles/clang_rt.builtins-x86_64.dir/powixf2.c.o
/home/csrg/toolchains/llvm/x86_64-generic-linux-gnu/llvm/bin/clang --target=x86_64-linux-android30 --sysroot=/home/csrg/toolchains/llvm/x86_64-linux-android30/x86_64-linux-android30 -DVISIBILITY_HIDDEN -fuse-ld=lld -flto=thin -Wno-unused-command-line-argument -O3 -DNDEBUG -fno-lto -std=c11 -fPIC -fno-builtin -fvisibility=hidden -fomit-frame-pointer -DCOMPILER_RT_HAS_FLOAT16 -MD -MT CMakeFiles/clang_rt.builtins-x86_64.dir/powixf2.c.o -MF CMakeFiles/clang_rt.builtins-x86_64.dir/powixf2.c.o.d -o CMakeFiles/clang_rt.builtins-x86_64.dir/powixf2.c.o -c /home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/powixf2.c
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/powixf2.c:19:17: error: unknown type name 'xf_float'; did you mean 'tf_float'?
19 | COMPILER_RT_ABI xf_float __powixf2(xf_float a, int b) {
| ^~~~~~~~
| tf_float
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/int_types.h:202:21: note: 'tf_float' declared here
202 | typedef long double tf_float;
| ^
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/powixf2.c:19:36: error: unknown type name 'xf_float'; did you mean 'tf_float'?
19 | COMPILER_RT_ABI xf_float __powixf2(xf_float a, int b) {
| ^~~~~~~~
| tf_float
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/int_types.h:202:21: note: 'tf_float' declared here
202 | typedef long double tf_float;
| ^
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/powixf2.c:21:3: error: unknown type name 'xf_float'; did you mean 'tf_float'?
21 | xf_float r = 1;
| ^~~~~~~~
| tf_float
/home/csrg/toolchains_build/llvm-project/compiler-rt/lib/builtins/int_types.h:202:21: note: 'tf_float' declared here
202 | typedef long double tf_float;
| ^
3 errors generated.
ninja: build stopped: subcommand failed.
./aarch64-linux-android30.sh: line 133: cd: /home/csrg/toolchains/llvm/x86_64-linux-android30/builtins/lib: No such file or directory
mv: cannot stat 'linux': No such file or directory
./aarch64-linux-android30.sh: line 135: cd: x86_64-unknown-linux-android30: No such file or directory
mv: cannot stat '*-x86_64*': No such file or directory
cp: cannot stat '/home/csrg/toolchains/llvm/x86_64-linux-android30/builtins/*': No such file or directory
CMake Deprecation Warning at /home/csrg/toolchains_build/llvm-project/cmake/Modules/CMakePolicy.cmake:6 (cmake_policy):
The OLD behavior for policy CMP0116 will be removed from a future version
of CMake.
The cmake-policies(7) manual explains that the OLD behaviors of all
policies are deprecated and that a policy should be set to OLD only under
specific short-term circumstances. Projects should be ported to the NEW
behavior and not rely on setting a policy to OLD.
Call Stack (most recent call first):
CMakeLists.txt:6 (include)
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJzsV0tz2zYQ_jXQZQccEtTzoIMsWo1m_JrEbaYnDUgsRcQgwAFA2br0t3dASrLiJE3iNL00OtAmF_vt9-1juOTOya1GnJPRBRllA976yti5t4V10qIY5EbsgzGJCVuxhIwyuGilElJvYQkm_4CFh-U1f8CVVOgIWxWK6-3G-ihvpfJSO_o0HW_Gw0hIS9iqMY_yqWRRERkSZyRerBbrq8uMpIvXwkCPQ9iqMjUGV2e3hK28MaqouNQBTqldTdiqx6Bb1GhlQZXU7RPd6vb5RC71MTpQ6rndoidpdnDsHbgW1k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