[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:25 PDT 2024


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `libc-aarch64-ubuntu-dbg` running on `libc-aarch64-ubuntu` while building `libc` at step 4 "annotate".

Full details are available at: https://lab.llvm.org/buildbot/#/builders/104/builds/6415

<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)
...
[ RUN      ] LlvmLibcFloorTest.SpecialNumbers
[       OK ] LlvmLibcFloorTest.SpecialNumbers (2 us)
[ RUN      ] LlvmLibcFloorTest.RoundedNubmers
[       OK ] LlvmLibcFloorTest.RoundedNubmers (1 us)
[ RUN      ] LlvmLibcFloorTest.Fractions
[       OK ] LlvmLibcFloorTest.Fractions (3 us)
[ RUN      ] LlvmLibcFloorTest.Range
[       OK ] LlvmLibcFloorTest.Range (33 ms)
Ran 4 tests.  PASS: 4  FAIL: 0
[22/994] 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_18_0_0_git -D_DEBUG -Iprojects/libc/src/__support/OSUtil/linux -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/OSUtil/linux -I/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc -isystem projects/libc/include -fPIC -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 -g -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 -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/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/llvm-project/libc/src/__support/OSUtil/linux/vdso.cpp
/home/libc-buildbot/libc-aarch64-ubuntu/libc-aarch64-ubuntu/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:1043:22: note: expanded from macro 'VER_FLG_BASE'
#define VER_FLG_BASE    0x1             /* Version definition of file itself */
                        ^
1 error generated.
[23/994] Running unit test libc.test.src.math.modff_test.__unit__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcModfTest.SpecialNumbers
[       OK ] LlvmLibcModfTest.SpecialNumbers (3 us)
[ RUN      ] LlvmLibcModfTest.RoundedNubmers
[       OK ] LlvmLibcModfTest.RoundedNubmers (2 us)
[ RUN      ] LlvmLibcModfTest.Fractions
[       OK ] LlvmLibcModfTest.Fractions (3 us)
[ RUN      ] LlvmLibcModfTest.Range
[       OK ] LlvmLibcModfTest.Range (41 ms)
Ran 4 tests.  PASS: 4  FAIL: 0
[24/994] Running unit test libc.test.src.math.logbl_test.__unit__
[==========] Running 4 tests from 1 test suite.
[ RUN      ] LlvmLibcLogbTest.SpecialNumbers
[       OK ] LlvmLibcLogbTest.SpecialNumbers (3 us)
[ RUN      ] LlvmLibcLogbTest.PowersOfTwo
[       OK ] LlvmLibcLogbTest.PowersOfTwo (3 us)
[ RUN      ] LlvmLibcLogbTest.SomeIntegers
[       OK ] LlvmLibcLogbTest.SomeIntegers (2 us)
[ RUN      ] LlvmLibcLogbTest.InRange
[       OK ] LlvmLibcLogbTest.InRange (49 ms)
Ran 4 tests.  PASS: 4  FAIL: 0
[25/994] Building CXX object projects/libc/src/stdio/CMakeFiles/libc.src.stdio.fscanf.__internal__.dir/fscanf.cpp.o
[26/994] Running unit test libc.test.src.math.expm1f_test.__unit__
[==========] Running 5 tests from 1 test suite.
[ RUN      ] LlvmLibcExpm1fTest.SpecialNumbers
[       OK ] LlvmLibcExpm1fTest.SpecialNumbers (4 us)
[ RUN      ] LlvmLibcExpm1fTest.Overflow
[       OK ] LlvmLibcExpm1fTest.Overflow (2 us)
[ RUN      ] LlvmLibcExpm1fTest.Underflow

```

</details>

https://github.com/llvm/llvm-project/pull/108591


More information about the libc-commits mailing list