[compiler-rt] [llvm] Add missing extendhfxf2 in compiler rt (PR #109090)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 07:01:50 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `sanitizer-windows` running on `sanitizer-windows` while building `compiler-rt,llvm` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/107/builds/3506
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 4 (annotate) failure: 'python ../llvm-zorg/zorg/buildbot/builders/annotated/sanitizer-windows.py ...' (failure)
...
[102/126] Linking CXX executable bin\llvm-size.exe
[103/126] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o
[104/126] Generating X86_64WindowsConfig/Asan-x86_64-inline-Test.exe
[105/126] Linking CXX executable bin\llvm-symbolizer.exe
[105/126] Running the Builtins tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 221 tests, 16 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: Builtins-x86_64-windows :: extendhfxf2_test.c (221 of 221)
******************** TEST 'Builtins-x86_64-windows :: extendhfxf2_test.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -gline-tables-only -gcodeview -gcolumn-info -fno-builtin -I C:/b/slave/sanitizer-windows/llvm-project/compiler-rt\lib\builtins -nodefaultlibs C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c C:/b/slave/sanitizer-windows/build/stage1/./lib/../lib/clang/20/lib/windows\clang_rt.builtins-x86_64.lib -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp && C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -gline-tables-only -gcodeview -gcolumn-info -fno-builtin -I 'C:/b/slave/sanitizer-windows/llvm-project/compiler-rt\lib\builtins' -nodefaultlibs 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c' 'C:/b/slave/sanitizer-windows/build/stage1/./lib/../lib/clang/20/lib/windows\clang_rt.builtins-x86_64.lib' -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp'
# .---command stderr------------
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:12:3: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
# | 12 | __uint16_t *b = (void *)&a;
# | | ^~~~~~~~~~
# | | __uint128_t
# | note: '__uint128_t' declared here
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:47:49: error: use of unknown builtin '__builtin_huge_valf64x' [-Wimplicit-function-declaration]
# | 47 | if (test_extendhfxf2(__builtin_huge_valf16(), __builtin_huge_valf64x()))
# | | ^
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:57:37: error: use of unknown builtin '__builtin_nanf64x' [-Wimplicit-function-declaration]
# | 57 | (long double)__builtin_nanf64x("")))
# | | ^
# | 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (1):
Builtins-x86_64-windows :: extendhfxf2_test.c
Testing Time: 7.02s
Total Discovered Tests: 221
Unsupported : 144 (65.16%)
Passed : 75 (33.94%)
Step 8 (stage 1 check) failure: stage 1 check (failure)
...
[102/126] Linking CXX executable bin\llvm-size.exe
[103/126] Generating ASAN_INST_TEST_OBJECTS.gtest-all.cc.x86_64-inline.o
[104/126] Generating X86_64WindowsConfig/Asan-x86_64-inline-Test.exe
[105/126] Linking CXX executable bin\llvm-symbolizer.exe
[105/126] Running the Builtins tests
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\llvm\utils\lit\lit\llvm\config.py:57: note: using lit tools: C:\gnuwin32\bin
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
llvm-lit.py: C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\lit.common.cfg.py:60: warning: Path reported by clang does not exist: "C:\b\slave\sanitizer-windows\build\stage1\lib\clang\20\lib\x86_64-pc-windows-msvc". This path was found by running ['C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe', '--target=x86_64-pc-windows-msvc', '-print-runtime-dir'].
-- Testing: 221 tests, 16 workers --
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
FAIL: Builtins-x86_64-windows :: extendhfxf2_test.c (221 of 221)
******************** TEST 'Builtins-x86_64-windows :: extendhfxf2_test.c' FAILED ********************
Exit Code: 1
Command Output (stdout):
--
# RUN: at line 1
C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -gline-tables-only -gcodeview -gcolumn-info -fno-builtin -I C:/b/slave/sanitizer-windows/llvm-project/compiler-rt\lib\builtins -nodefaultlibs C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c C:/b/slave/sanitizer-windows/build/stage1/./lib/../lib/clang/20/lib/windows\clang_rt.builtins-x86_64.lib -o C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp && C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp
# executed command: C:/b/slave/sanitizer-windows/build/stage1/./bin/clang.exe -gline-tables-only -gcodeview -gcolumn-info -fno-builtin -I 'C:/b/slave/sanitizer-windows/llvm-project/compiler-rt\lib\builtins' -nodefaultlibs 'C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c' 'C:/b/slave/sanitizer-windows/build/stage1/./lib/../lib/clang/20/lib/windows\clang_rt.builtins-x86_64.lib' -o 'C:\b\slave\sanitizer-windows\build\stage1\projects\compiler-rt\test\builtins\Unit\X86_64WindowsConfig\Output\extendhfxf2_test.c.tmp'
# .---command stderr------------
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:12:3: error: unknown type name '__uint16_t'; did you mean '__uint128_t'?
# | 12 | __uint16_t *b = (void *)&a;
# | | ^~~~~~~~~~
# | | __uint128_t
# | note: '__uint128_t' declared here
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:47:49: error: use of unknown builtin '__builtin_huge_valf64x' [-Wimplicit-function-declaration]
# | 47 | if (test_extendhfxf2(__builtin_huge_valf16(), __builtin_huge_valf64x()))
# | | ^
# | C:\b\slave\sanitizer-windows\llvm-project\compiler-rt\test\builtins\Unit\extendhfxf2_test.c:57:37: error: use of unknown builtin '__builtin_nanf64x' [-Wimplicit-function-declaration]
# | 57 | (long double)__builtin_nanf64x("")))
# | | ^
# | 3 errors generated.
# `-----------------------------
# error: command failed with exit status: 1
--
********************
Testing: 0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
********************
Failed Tests (1):
Builtins-x86_64-windows :: extendhfxf2_test.c
Testing Time: 7.02s
Total Discovered Tests: 221
Unsupported : 144 (65.16%)
Passed : 75 (33.94%)
```
</details>
https://github.com/llvm/llvm-project/pull/109090
More information about the llvm-commits
mailing list