[libc-commits] [libc] [libc] move abs_timesout and monotonicity out of linux dir (PR #167719)

via libc-commits libc-commits at lists.llvm.org
Thu Nov 27 07:46:34 PST 2025


github-actions[bot] wrote:

<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results

The build failed before running any tests. Click on a failure below to see the details.

<details>
<summary>libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.dir/vfscanf.cpp.o</summary>

```
FAILED: libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.dir/vfscanf.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_22_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_UNSAFE_WIDE_READ -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -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 -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -DLIBC_COPT_STDIO_USE_SYSTEM_FILE -MD -MT libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.dir/vfscanf.cpp.o -MF libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.dir/vfscanf.cpp.o.d -o libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.dir/vfscanf.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/vfscanf.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/vfscanf.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/File/file.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/mutex.h:44:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/mutex.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/raw_mutex.h:27:10: fatal error: 'src/__support/time/linux/monotonicity.h' file not found
27 | #include "src/__support/time/linux/monotonicity.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.__internal__.dir/fscanf.cpp.o</summary>

```
FAILED: libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.__internal__.dir/fscanf.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_22_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_UNSAFE_WIDE_READ -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -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 -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -UNDEBUG -DLIBC_COPT_STDIO_USE_SYSTEM_FILE -MD -MT libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.__internal__.dir/fscanf.cpp.o -MF libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.__internal__.dir/fscanf.cpp.o.d -o libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.__internal__.dir/fscanf.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/fscanf.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/fscanf.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/File/file.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/mutex.h:44:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/mutex.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/raw_mutex.h:27:10: fatal error: 'src/__support/time/linux/monotonicity.h' file not found
27 | #include "src/__support/time/linux/monotonicity.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.__internal__.dir/vfscanf.cpp.o</summary>

```
FAILED: libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.__internal__.dir/vfscanf.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_22_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_UNSAFE_WIDE_READ -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -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 -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -UNDEBUG -DLIBC_COPT_STDIO_USE_SYSTEM_FILE -MD -MT libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.__internal__.dir/vfscanf.cpp.o -MF libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.__internal__.dir/vfscanf.cpp.o.d -o libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.vfscanf.__internal__.dir/vfscanf.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/vfscanf.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/vfscanf.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/File/file.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/mutex.h:44:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/mutex.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/raw_mutex.h:27:10: fatal error: 'src/__support/time/linux/monotonicity.h' file not found
27 | #include "src/__support/time/linux/monotonicity.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>
<details>
<summary>libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.dir/fscanf.cpp.o</summary>

```
FAILED: libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.dir/fscanf.cpp.o
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/./bin/clang++ --target=x86_64-unknown-linux-gnu -DLIBC_NAMESPACE=__llvm_libc_22_0_0_git -I/home/gha/actions-runner/_work/llvm-project/llvm-project/libc -isystem /home/gha/actions-runner/_work/llvm-project/llvm-project/build/runtimes/runtimes-bins/libc/include -fPIC -fno-semantic-interposition -fvisibility-inlines-hidden -Werror -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 -Wno-pass-failed -Wmisleading-indentation -Wctad-maybe-unsupported -fdiagnostics-color -ffunction-sections -fdata-sections -O3 -DNDEBUG -std=gnu++17 -DLIBC_QSORT_IMPL=LIBC_QSORT_QUICK_SORT -DLIBC_COPT_STRING_UNSAFE_WIDE_READ -DLIBC_ADD_NULL_CHECKS -DLIBC_ERRNO_MODE=LIBC_ERRNO_MODE_DEFAULT -DLIBC_THREAD_MODE=LIBC_THREAD_MODE_PLATFORM -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 -Wdeprecated -Wno-c99-extensions -Wno-gnu-imaginary-constant -Wno-pedantic -Wimplicit-fallthrough -Wwrite-strings -Wextra-semi -Wnewline-eof -Wnonportable-system-include-path -Wstrict-prototypes -Wthread-safety -Wglobal-constructors -DLIBC_COPT_PUBLIC_PACKAGING -UNDEBUG -DLIBC_COPT_STDIO_USE_SYSTEM_FILE -MD -MT libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.dir/fscanf.cpp.o -MF libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.dir/fscanf.cpp.o.d -o libc/src/stdio/generic/CMakeFiles/libc.src.stdio.generic.fscanf.dir/fscanf.cpp.o -c /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/fscanf.cpp
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/stdio/generic/fscanf.cpp:11:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/File/file.h:19:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/mutex.h:44:
In file included from /home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/mutex.h:17:
/home/gha/actions-runner/_work/llvm-project/llvm-project/libc/src/__support/threads/linux/raw_mutex.h:27:10: fatal error: 'src/__support/time/linux/monotonicity.h' file not found
27 | #include "src/__support/time/linux/monotonicity.h"
|          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
```
</details>

If these failures are unrelated to your changes (for example tests are broken or flaky at HEAD), please open an issue at https://github.com/llvm/llvm-project/issues and add the `infrastructure` label.

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


More information about the libc-commits mailing list