[libc-commits] [libc] [libc][cmake] Respect the configured optimization level for the Linux thread and TLS objects (PR #234382)

LLVM Continuous Integration via libc-commits libc-commits at lists.llvm.org
Thu Oct 22 08:51:27 PDT 2026


llvm-ci wrote:

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

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

<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)
...
[7913/7920] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
[7914/7920] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
[7915/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_ROUND_OPT.__build__
[7916/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_MISC_MATH_BASIC_OPS_OPT.__build__
[7917/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__
[7918/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__
[7919/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__
[7919/7920] Running libc tests via lit
-- Testing: 1760 tests, 32 workers --
Testing:  0.. 10
FAIL: libc :: src/dirent/libc.test.src.dirent.scandir_test.__build__ (270 of 1760)
******************** TEST 'libc :: src/dirent/libc.test.src.dirent.scandir_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: libc :: src/semaphore/linux/libc.test.src.semaphore.linux.semaphore_test.__build__ (1320 of 1760)
******************** TEST 'libc :: src/semaphore/linux/libc.test.src.semaphore.linux.semaphore_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdio/libc.test.src.stdio.tmpnam_test.__build__ (1376 of 1760)
******************** TEST 'libc :: src/stdio/libc.test.src.stdio.tmpnam_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkdtemp_test.__build__ (1385 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkdtemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkostemp_test.__build__ (1386 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkostemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkstemp_test.__build__ (1387 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkstemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.realpath_test.__build__ (1390 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.realpath_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: libc :: src/search/libc.test.src.search.hsearch_test.__NO_EXPLICIT_SIMD_OPT.__build__ (1409 of 1760)
******************** TEST 'libc :: src/search/libc.test.src.search.hsearch_test.__NO_EXPLICIT_SIMD_OPT.__build__' FAILED ********************

********************
Step 9 (check-libc) failure: check-libc (failure)
...
[7913/7920] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
[7914/7920] Building CXX object libc/test/shared/CMakeFiles/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__.dir/shared_math_constexpr_test.cpp.o
[7915/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_ROUND_OPT.__build__
[7916/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_MISC_MATH_BASIC_OPS_OPT.__build__
[7917/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__
[7918/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__NO_ROUND_OPT.__build__
[7919/7920] Linking CXX executable libc/test/shared/libc.test.shared.shared_math_constexpr_test.__NO_FMA_OPT.__NO_MISC_MATH_BASIC_OPS_OPT.__build__
[7919/7920] Running libc tests via lit
-- Testing: 1760 tests, 32 workers --
Testing:  0.. 10
FAIL: libc :: src/dirent/libc.test.src.dirent.scandir_test.__build__ (270 of 1760)
******************** TEST 'libc :: src/dirent/libc.test.src.dirent.scandir_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70
FAIL: libc :: src/semaphore/linux/libc.test.src.semaphore.linux.semaphore_test.__build__ (1320 of 1760)
******************** TEST 'libc :: src/semaphore/linux/libc.test.src.semaphore.linux.semaphore_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdio/libc.test.src.stdio.tmpnam_test.__build__ (1376 of 1760)
******************** TEST 'libc :: src/stdio/libc.test.src.stdio.tmpnam_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkdtemp_test.__build__ (1385 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkdtemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkostemp_test.__build__ (1386 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkostemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.mkstemp_test.__build__ (1387 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.mkstemp_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70..
FAIL: libc :: src/stdlib/libc.test.src.stdlib.realpath_test.__build__ (1390 of 1760)
******************** TEST 'libc :: src/stdlib/libc.test.src.stdlib.realpath_test.__build__' FAILED ********************

********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 
FAIL: libc :: src/search/libc.test.src.search.hsearch_test.__NO_EXPLICIT_SIMD_OPT.__build__ (1409 of 1760)
******************** TEST 'libc :: src/search/libc.test.src.search.hsearch_test.__NO_EXPLICIT_SIMD_OPT.__build__' FAILED ********************

********************

```

</details>

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


More information about the libc-commits mailing list