[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:21:44 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `libc-x86_64-debian-dbg-runtimes-build` running on `libc-x86_64-debian` while building `libc` at step 4 "annotate".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/78/builds/5891
<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)
...
[1188/1227] Running unit test libc.test.src.math.smoke.lrintf128_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcRoundToIntegerTest.InfinityAndNaN
[ OK ] LlvmLibcRoundToIntegerTest.InfinityAndNaN (13 us)
[ RUN ] LlvmLibcRoundToIntegerTest.RoundNumbers
[ OK ] LlvmLibcRoundToIntegerTest.RoundNumbers (12 us)
[ RUN ] LlvmLibcRoundToIntegerTest.SubnormalRange
[ OK ] LlvmLibcRoundToIntegerTest.SubnormalRange (2289 ms)
Ran 3 tests. PASS: 3 FAIL: 0
[1189/1227] Building CXX object libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
FAILED: libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/build/runtimes/runtimes-bins/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 -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 -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffixed-point -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=gnu++17 -MD -MT libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -MF libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o.d -o 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-dbg-runtimes-build/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp:60:24: error: expected unqualified-id
60 | constexpr ElfW(Half) VER_FLG_BASE = 0x1;
| ^
/usr/include/elf.h:1056:22: note: expanded from macro 'VER_FLG_BASE'
1056 | #define VER_FLG_BASE 0x1 /* Version definition of file itself */
| ^
1 error generated.
[1190/1227] Running unit test libc.test.src.inttypes.strtoumax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoumaxTest.InvalidBase
[ OK ] LlvmLibcStrtoumaxTest.InvalidBase (6 us)
[ RUN ] LlvmLibcStrtoumaxTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtoumaxTest.CleanBaseTenDecode (15 us)
[ RUN ] LlvmLibcStrtoumaxTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtoumaxTest.MessyBaseTenDecode (12 us)
[ RUN ] LlvmLibcStrtoumaxTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtoumaxTest.DecodeInOtherBases (411 ms)
[ RUN ] LlvmLibcStrtoumaxTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtoumaxTest.CleanBaseSixteenDecode (17 us)
[ RUN ] LlvmLibcStrtoumaxTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtoumaxTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtoumaxTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtoumaxTest.AutomaticBaseSelection (4 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1191/1227] Running unit test libc.test.src.math.smoke.llrintf128_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcRoundToIntegerTest.InfinityAndNaN
[ OK ] LlvmLibcRoundToIntegerTest.InfinityAndNaN (25 us)
[ RUN ] LlvmLibcRoundToIntegerTest.RoundNumbers
[ OK ] LlvmLibcRoundToIntegerTest.RoundNumbers (20 us)
[ RUN ] LlvmLibcRoundToIntegerTest.SubnormalRange
[ OK ] LlvmLibcRoundToIntegerTest.SubnormalRange (2409 ms)
Ran 3 tests. PASS: 3 FAIL: 0
[1192/1227] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
Step 7 (check-libc) failure: check-libc (failure)
...
[1188/1227] Running unit test libc.test.src.math.smoke.lrintf128_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcRoundToIntegerTest.InfinityAndNaN
[ OK ] LlvmLibcRoundToIntegerTest.InfinityAndNaN (13 us)
[ RUN ] LlvmLibcRoundToIntegerTest.RoundNumbers
[ OK ] LlvmLibcRoundToIntegerTest.RoundNumbers (12 us)
[ RUN ] LlvmLibcRoundToIntegerTest.SubnormalRange
[ OK ] LlvmLibcRoundToIntegerTest.SubnormalRange (2289 ms)
Ran 3 tests. PASS: 3 FAIL: 0
[1189/1227] Building CXX object libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
FAILED: libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_19_0_0_git -D_DEBUG -I/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/llvm-project/libc -isystem /home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/build/runtimes/runtimes-bins/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 -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 -g -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_ADD_NULL_CHECKS -fpie -ffixed-point -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=gnu++17 -MD -MT libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o -MF libc/src/__support/OSUtil/linux/CMakeFiles/libc.src.__support.OSUtil.linux.vdso.dir/vdso.cpp.o.d -o 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-dbg-runtimes-build/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp
/home/llvm-libc-buildbot/buildbot-worker/libc-x86_64-debian/libc-x86_64-debian-dbg-runtimes-build/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp:60:24: error: expected unqualified-id
60 | constexpr ElfW(Half) VER_FLG_BASE = 0x1;
| ^
/usr/include/elf.h:1056:22: note: expanded from macro 'VER_FLG_BASE'
1056 | #define VER_FLG_BASE 0x1 /* Version definition of file itself */
| ^
1 error generated.
[1190/1227] Running unit test libc.test.src.inttypes.strtoumax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoumaxTest.InvalidBase
[ OK ] LlvmLibcStrtoumaxTest.InvalidBase (6 us)
[ RUN ] LlvmLibcStrtoumaxTest.CleanBaseTenDecode
[ OK ] LlvmLibcStrtoumaxTest.CleanBaseTenDecode (15 us)
[ RUN ] LlvmLibcStrtoumaxTest.MessyBaseTenDecode
[ OK ] LlvmLibcStrtoumaxTest.MessyBaseTenDecode (12 us)
[ RUN ] LlvmLibcStrtoumaxTest.DecodeInOtherBases
[ OK ] LlvmLibcStrtoumaxTest.DecodeInOtherBases (411 ms)
[ RUN ] LlvmLibcStrtoumaxTest.CleanBaseSixteenDecode
[ OK ] LlvmLibcStrtoumaxTest.CleanBaseSixteenDecode (17 us)
[ RUN ] LlvmLibcStrtoumaxTest.MessyBaseSixteenDecode
[ OK ] LlvmLibcStrtoumaxTest.MessyBaseSixteenDecode (3 us)
[ RUN ] LlvmLibcStrtoumaxTest.AutomaticBaseSelection
[ OK ] LlvmLibcStrtoumaxTest.AutomaticBaseSelection (4 us)
Ran 7 tests. PASS: 7 FAIL: 0
[1191/1227] Running unit test libc.test.src.math.smoke.llrintf128_test.__unit__
[==========] Running 3 tests from 1 test suite.
[ RUN ] LlvmLibcRoundToIntegerTest.InfinityAndNaN
[ OK ] LlvmLibcRoundToIntegerTest.InfinityAndNaN (25 us)
[ RUN ] LlvmLibcRoundToIntegerTest.RoundNumbers
[ OK ] LlvmLibcRoundToIntegerTest.RoundNumbers (20 us)
[ RUN ] LlvmLibcRoundToIntegerTest.SubnormalRange
[ OK ] LlvmLibcRoundToIntegerTest.SubnormalRange (2409 ms)
Ran 3 tests. PASS: 3 FAIL: 0
[1192/1227] Running unit test libc.test.src.inttypes.strtoimax_test.__unit__
[==========] Running 7 tests from 1 test suite.
[ RUN ] LlvmLibcStrtoimaxTest.InvalidBase
[ OK ] LlvmLibcStrtoimaxTest.InvalidBase (6 us)
```
</details>
https://github.com/llvm/llvm-project/pull/108591
More information about the libc-commits
mailing list