[libc-commits] [libc] [libc] fix dependency path for vDSO (PR #108591)
LLVM Continuous Integration via libc-commits
libc-commits at lists.llvm.org
Fri Sep 13 09:15:42 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian` running on `libc-x86_64-debian` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/43/builds/6286
<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/libc-linux.py ...' (failure)
...
[ OK ] LlvmLibcExpfTest.SpecialNumbers (5 us)
[ RUN ] LlvmLibcExpfTest.Overflow
[ OK ] LlvmLibcExpfTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[249/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (12 us)
Ran 1 tests. PASS: 1 FAIL: 0
[250/1028] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
FAILED: projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/__support/OSUtil/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -std=c++17 -MD -MT projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -MF projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o.d -o projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp:60:24: error: expected unqualified-id
constexpr ElfW(Half) VER_FLG_BASE = 0x1;
^
/usr/include/elf.h:1056:22: note: expanded from macro 'VER_FLG_BASE'
#define VER_FLG_BASE 0x1 /* Version definition of file itself */
^
1 error generated.
[251/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_ROUND_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (13 us)
Ran 1 tests. PASS: 1 FAIL: 0
[252/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_FMA_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (21 us)
Ran 1 tests. PASS: 1 FAIL: 0
[253/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (21 us)
Ran 1 tests. PASS: 1 FAIL: 0
[254/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcExp2fTest.SpecialNumbers
[ OK ] LlvmLibcExp2fTest.SpecialNumbers (7 us)
[ RUN ] LlvmLibcExp2fTest.Overflow
[ OK ] LlvmLibcExp2fTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[255/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__.__NO_ROUND_OPT
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcExp2fTest.SpecialNumbers
[ OK ] LlvmLibcExp2fTest.SpecialNumbers (6 us)
[ RUN ] LlvmLibcExp2fTest.Overflow
[ OK ] LlvmLibcExp2fTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[256/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__.__NO_FMA_OPT
Step 7 (libc-unit-tests) failure: libc-unit-tests (failure)
...
[ OK ] LlvmLibcExpfTest.SpecialNumbers (5 us)
[ RUN ] LlvmLibcExpfTest.Overflow
[ OK ] LlvmLibcExpfTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[249/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (12 us)
Ran 1 tests. PASS: 1 FAIL: 0
[250/1028] Building CXX object projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
FAILED: projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
/usr/bin/clang++ -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/src/__support/OSUtil/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/build/projects/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror=date-time -Werror=unguarded-availability-new -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wmissing-field-initializers -pedantic -Wno-long-long -Wc++98-compat-extra-semi -Wimplicit-fallthrough -Wcovered-switch-default -Wno-noexcept-type -Wnon-virtual-dtor -Wdelete-non-virtual-dtor -Wsuggest-override -Wstring-conversion -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -fno-builtin -fno-exceptions -fno-lax-vector-conversions -fno-unwind-tables -fno-asynchronous-unwind-tables -fno-rtti -ftrivial-auto-var-init=pattern -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wextra -Werror -Wconversion -Wno-sign-conversion -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -std=c++17 -MD -MT projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -MF projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o.d -o projects/libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -c /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp:60:24: error: expected unqualified-id
constexpr ElfW(Half) VER_FLG_BASE = 0x1;
^
/usr/include/elf.h:1056:22: note: expanded from macro 'VER_FLG_BASE'
#define VER_FLG_BASE 0x1 /* Version definition of file itself */
^
1 error generated.
[251/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_ROUND_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (13 us)
Ran 1 tests. PASS: 1 FAIL: 0
[252/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_FMA_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (21 us)
Ran 1 tests. PASS: 1 FAIL: 0
[253/1028] Running unit test libc.test.src.math.smoke.exp2_test.__unit__.__NO_FMA_OPT.__NO_ROUND_OPT
[==========] Running 1 test from 1 test suite.
[ RUN ] LlvmLibcExp2Test.SpecialNumbers
[ OK ] LlvmLibcExp2Test.SpecialNumbers (21 us)
Ran 1 tests. PASS: 1 FAIL: 0
[254/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcExp2fTest.SpecialNumbers
[ OK ] LlvmLibcExp2fTest.SpecialNumbers (7 us)
[ RUN ] LlvmLibcExp2fTest.Overflow
[ OK ] LlvmLibcExp2fTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[255/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__.__NO_ROUND_OPT
[==========] Running 2 tests from 1 test suite.
[ RUN ] LlvmLibcExp2fTest.SpecialNumbers
[ OK ] LlvmLibcExp2fTest.SpecialNumbers (6 us)
[ RUN ] LlvmLibcExp2fTest.Overflow
[ OK ] LlvmLibcExp2fTest.Overflow (2 us)
Ran 2 tests. PASS: 2 FAIL: 0
[256/1028] Running unit test libc.test.src.math.smoke.exp2f_test.__unit__.__NO_FMA_OPT
```
</details>
https://github.com/llvm/llvm-project/pull/108591
More information about the libc-commits
mailing list