[llvm] [BOLT] hugify: fix conflict with --no-huge-pages (PR #205497)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 24 03:02:20 PDT 2026
github-actions[bot] wrote:
<!--PREMERGE ADVISOR COMMENT: Linux-->
# :penguin: Linux x64 Test Results
* 678 tests passed
* 59 tests skipped
* 1 test failed
## Failed Tests
(click on a test name to see its output)
### BOLT
<details>
<summary>BOLT.runtime/hugify.c</summary>
```
Exit Code: 127
Command Output (stdout):
--
# RUN: at line 13
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att -no-pie /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe -Wl,-q
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att -no-pie /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe -Wl,-q
# note: command had no output on stdout or stderr
# RUN: at line 14
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att -fpic /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe -Wl,-q
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/clang --target=x86_64-unknown-linux-gnu -fPIE -fuse-ld=lld -Wl,--unresolved-symbols=ignore-all -Wl,--build-id=none -pie -mllvm -x86-asm-syntax=att -fpic /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe -Wl,-q
# note: command had no output on stdout or stderr
# RUN: at line 16
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie --hugify
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie --hugify
# .---command stdout------------
# | BOLT-INFO: Target architecture: x86_64
# | BOLT-INFO: BOLT version: f032f087706516249cb397bf0cd1866a0b8de1b9
# | BOLT-INFO: first alloc address is 0x200000
# | BOLT-INFO: creating new program header table at address 0x400000, offset 0x200000
# | BOLT-INFO: enabling relocation mode
# | BOLT-INFO: 0 out of 10 functions in the binary (0.0%) have non-empty execution profile
# | BOLT-INFO: removed 2 empty blocks
# | BOLT-INFO: UCE removed 1 blocks and 10 bytes of code
# | BOLT-INFO: padding code to 0x800000 to accommodate hot text
# | BOLT-INFO: setting __bolt_runtime_start to 0x800b40
# | BOLT-INFO: setting __hot_start to 0x600000
# | BOLT-INFO: setting __hot_end to 0x600169
# | BOLT-INFO: runtime library initialization was hooked via ELF Header Entry Point, set to 0x800b40
# `-----------------------------
# RUN: at line 17
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.nhp --hugify --no-huge-pages=true 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-ERROR
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.nhp --hugify --no-huge-pages=true
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-ERROR
# note: command had no output on stdout or stderr
# RUN: at line 19
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie --hugify
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie --hugify
# .---command stdout------------
# | BOLT-INFO: shared object or position-independent executable detected
# | BOLT-INFO: Target architecture: x86_64
# | BOLT-INFO: BOLT version: f032f087706516249cb397bf0cd1866a0b8de1b9
# | BOLT-INFO: first alloc address is 0x0
# | BOLT-INFO: creating new program header table at address 0x400000, offset 0x400000
# | BOLT-INFO: enabling relocation mode
# | BOLT-INFO: 0 out of 9 functions in the binary (0.0%) have non-empty execution profile
# | BOLT-INFO: removed 2 empty blocks
# | BOLT-INFO: UCE removed 1 blocks and 7 bytes of code
# | BOLT-INFO: setting __bolt_runtime_start to 0x800b20
# | BOLT-INFO: setting __hot_start to 0x600000
# | BOLT-INFO: setting __hot_end to 0x600169
# | BOLT-INFO: runtime library initialization was hooked via ELF Header Entry Point, set to 0x800b20
# `-----------------------------
# RUN: at line 20
not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.nhp --hugify -no-huge-pages=true 2>&1 | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-ERROR
# executed command: not /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-bolt --runtime-instrumentation-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_instr.a --runtime-hugify-lib=/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/bolt_rt-bins/lib/libbolt_rt_hugify.a /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.exe --lite=0 -o /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.pie.nhp --hugify -no-huge-pages=true
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-ERROR
# note: command had no output on stdout or stderr
# RUN: at line 23
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-nm --numeric-sort --print-armap /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-NM
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/llvm-nm --numeric-sort --print-armap /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK-NM
# note: command had no output on stdout or stderr
# RUN: at line 25
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie
# note: command had no output on stdout or stderr
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK
# note: command had no output on stdout or stderr
# RUN: at line 26
/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.nhp | /home/gha/actions-runner/_work/llvm-project/llvm-project/build/bin/FileCheck /home/gha/actions-runner/_work/llvm-project/llvm-project/bolt/test/runtime/hugify.c -check-prefix=CHECK
# executed command: /home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.nhp
# .---command stderr------------
# | '/home/gha/actions-runner/_work/llvm-project/llvm-project/build/tools/bolt/test/runtime/Output/hugify.c.tmp.nopie.nhp': command not found
# `-----------------------------
# error: command failed with exit status: 127
--
```
</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/205497
More information about the llvm-commits
mailing list