[llvm] [gn] port b11722f1d3bd5de (llvm-calc-occupancy) (PR #213266)

LLVM Continuous Integration via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 31 07:01:41 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `sanitizer-x86_64-linux-qemu` running on `sanitizer-buildbot4` while building `llvm` at step 2 "annotate".

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

<details>
<summary>Here is the relevant piece of the build log for the reference</summary>

```
Step 2 (annotate) failure: 'python ../sanitizer_buildbot/sanitizers/zorg/buildbot/builders/sanitizers/buildbot_selector.py' (failure)
...
  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_mips_qemu/CMakeFiles/CMakeScratch/TryCompile-5830nl'
    
    Run Build Command(s): /usr/bin/ninja -v cmTC_7f2c6
    [1/2] /home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang --target=mips-linux-gnu   -fPIC -Wl,-z,execstack -MD -MT CMakeFiles/cmTC_7f2c6.dir/testCCompiler.c.o -MF CMakeFiles/cmTC_7f2c6.dir/testCCompiler.c.o.d -o CMakeFiles/cmTC_7f2c6.dir/testCCompiler.c.o -c /home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_mips_qemu/CMakeFiles/CMakeScratch/TryCompile-5830nl/testCCompiler.c
    clang: warning: -Wl,-z,execstack: 'linker' input unused [-Wunused-command-line-argument]
    [2/2] : && /home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang --target=mips-linux-gnu -fPIC -Wl,-z,execstack -fuse-ld=lld  -Wl,-z,execstack CMakeFiles/cmTC_7f2c6.dir/testCCompiler.c.o -o cmTC_7f2c6   && :
    FAILED: [code=1] cmTC_7f2c6 
    : && /home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_host/bin/clang --target=mips-linux-gnu -fPIC -Wl,-z,execstack -fuse-ld=lld  -Wl,-z,execstack CMakeFiles/cmTC_7f2c6.dir/testCCompiler.c.o -o cmTC_7f2c6   && :
    ld.lld: error: cannot open Scrt1.o: No such file or directory
    ld.lld: error: cannot open crti.o: No such file or directory
    ld.lld: error: cannot open crtbeginS.o: No such file or directory
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: unable to find library -lc
    ld.lld: error: unable to find library -lgcc
    ld.lld: error: unable to find library -lgcc_s
    ld.lld: error: cannot open crtendS.o: No such file or directory
    ld.lld: error: cannot open crtn.o: No such file or directory
    clang: error: linker command failed with exit code 1 (use -v to see invocation)
    ninja: build stopped: subcommand failed.
    
    



  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:30 (project)


-- Configuring incomplete, errors occurred!
ninja: error: loading 'build.ninja': No such file or directory
+ ninja check-scudo_standalone
ninja: error: loading 'build.ninja': No such file or directory
+ exit 3
+ [[ mips_qemu =~ mips.* ]]
+ build_warning
+ for _ in 0 1 2
+ echo
+ echo @@@STEP_WARNINGS@@@
+ [[ -v BUILDBOT_BUILDERNAME ]]

@@@STEP_WARNINGS@@@
+ sleep 5
+ for _ in 0 1 2
Step 21 (scudo debug_x86_64_qemu) failure: scudo debug_x86_64_qemu (failure)
...
[74/80] Generating ScudoUnitTestsObjects.primary_test.cpp.x86_64.o
[75/80] Generating ScudoUnitTestsObjects.gtest-all.cc.x86_64.o
[76/80] Generating ScudoCUnitTest-x86_64-Test
[77/80] Generating ScudoCxxUnitTest-x86_64-Test
[78/80] Generating ScudoUnitTestsObjects.combined_test.cpp.x86_64.o
[79/80] Generating ScudoUnitTest-x86_64-Test
[79/80] Running Scudo Standalone tests
-- Testing: 246 tests, 64 workers --
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90..
TIMEOUT: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/57/96 (246 of 246)
******************** TEST 'ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/57/96' FAILED ********************
Script(shard):
--
GTEST_OUTPUT=json:/home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_debug_x86_64_qemu/lib/scudo/standalone/tests/./ScudoUnitTest-x86_64-Test-ScudoStandalone-Unit-GwpAsanTorture-956862-57-96.json GTEST_SHUFFLE=0 GTEST_TOTAL_SHARDS=96 GTEST_SHARD_INDEX=57 /home/b/sanitizer-x86_64-linux-qemu/build/qemu_build/qemu-x86_64 -L /usr/x86_64-linux-gnu /home/b/sanitizer-x86_64-linux-qemu/build/llvm_build2_debug_x86_64_qemu/lib/scudo/standalone/tests/./ScudoUnitTest-x86_64-Test
--

Note: This is test shard 58 of 96.
[==========] Running 4 tests from 4 test suites.
[----------] Global test environment set-up.
[----------] 1 test from ScudoCombinedDeathTestBasicCombined5_AndroidConfig
[ RUN      ] ScudoCombinedDeathTestBasicCombined5_AndroidConfig.BasicCombined5
[       OK ] ScudoCombinedDeathTestBasicCombined5_AndroidConfig.BasicCombined5 (37 ms)
[----------] 1 test from ScudoCombinedDeathTestBasicCombined5_AndroidConfig (38 ms total)

[----------] 1 test from ScudoCombinedTestIterateOverChunks_AndroidConfig
[ RUN      ] ScudoCombinedTestIterateOverChunks_AndroidConfig.IterateOverChunks
[       OK ] ScudoCombinedTestIterateOverChunks_AndroidConfig.IterateOverChunks (5 ms)
[----------] 1 test from ScudoCombinedTestIterateOverChunks_AndroidConfig (5 ms total)

[----------] 1 test from ScudoCombinedTestAllocAfterFork_TestNoCacheConfig
[ RUN      ] ScudoCombinedTestAllocAfterFork_TestNoCacheConfig.AllocAfterFork

--
exit: -9
--
Reached timeout of 900 seconds
********************
Testing:  0.. 10.. 20.. 30.. 40.. 50.. 60.. 70.. 80.. 90.. 
Slowest Tests (20 of 741):
--------------------------------------------------------------------------
900.08s: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/57/96
31.16s: ScudoStandalone-Unit :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_DefaultConfig/DisableMemInit
27.60s: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_DefaultConfig/DisableMemInit
22.91s: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_TestNoCacheConfig/DisableMemInit
22.88s: ScudoStandalone-Unit :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_AndroidConfig/DisableMemInit
21.44s: ScudoStandalone-Unit :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_TestNoCacheConfig/DisableMemInit
20.65s: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_AndroidConfig/DisableMemInit
19.07s: ScudoStandalone-Unit-GwpAsanTorture :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_TestConditionVariableConfig/DisableMemInit
19.05s: ScudoStandalone-Unit :: ./ScudoUnitTest-x86_64-Test/ScudoCombinedTestDisableMemInit_TestConditionVariableConfig/DisableMemInit

```

</details>

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


More information about the llvm-commits mailing list