[clang] [Hexagon] Add LTO options to Hexagon driver link args (PR #191336)

LLVM Continuous Integration via cfe-commits cfe-commits at lists.llvm.org
Tue Apr 14 22:53:04 PDT 2026


llvm-ci wrote:

LLVM Buildbot has detected a new failure on builder `bolt-aarch64-ubuntu-clang` running on `bolt-worker-aarch64` while building `clang` at step 5 "build-clang-bolt".

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

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

```
Step 5 (build-clang-bolt) failure: build (failure)
...
18.740 [7/3/3415] Linking CXX static library lib/libclangExtractAPI.a
19.150 [7/2/3416] Linking CXX static library lib/libclangDriver.a
19.190 [6/2/3417] Linking CXX static library lib/libclangCrossTU.a
19.516 [5/2/3418] Linking CXX static library lib/libclangCodeGen.a
19.583 [5/1/3419] Linking CXX static library lib/libclangStaticAnalyzerCore.a
20.024 [4/1/3420] Linking CXX static library lib/libclangStaticAnalyzerCheckers.a
20.070 [3/1/3421] Linking CXX static library lib/libclangStaticAnalyzerFrontend.a
20.107 [2/1/3422] Linking CXX static library lib/libclangFrontendTool.a
20.968 [1/1/3423] Linking CXX executable bin/clang-23
150.926 [0/1/3424] Creating executable symlink bin/clang
FAILED: bin/clang 
/usr/bin/cmake -E cmake_symlink_executable bin/clang-23 bin/clang && cd /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver && /usr/bin/cmake -E create_symlink clang-23 /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/clang++ && cd /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver && /usr/bin/cmake -E create_symlink clang-23 /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/clang-cl && cd /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver && /usr/bin/cmake -E create_symlink clang-23 /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/clang-cpp && cd /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver && /usr/bin/python3 /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/llvm-project/clang/tools/driver/../../utils/perf-training/perf-helper.py bolt-optimize --method INSTRUMENT --input /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/clang-23 --instrumented-output /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/clang-bolt.inst --fdata /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver/../../utils/perf-training/prof.fdata --perf-training-binary-dir /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver/../../utils/perf-training --readelf /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/llvm-readobj --bolt /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/llvm-bolt --lit /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/llvm-lit --merge-fdata /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/merge-fdata
Running: /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/llvm-bolt /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/bin/clang-23 -o /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/./bin/clang-bolt.inst -instrument --instrumentation-file-append-pid --instrumentation-file=/home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver/../../utils/perf-training/prof.fdata
BOLT-INFO: shared object or position-independent executable detected
BOLT-INFO: Target architecture: aarch64
BOLT-INFO: BOLT version: <unknown>
BOLT-INFO: first alloc address is 0x0
BOLT-INFO: creating new program header table at address 0x8e00000, offset 0x8e00000
BOLT-INFO: enabling relocation mode
BOLT-INFO: forcing -jump-tables=move for instrumentation
BOLT-WARNING: 1 collisions detected while hashing binary objects. Use -v=1 to see the list.
BOLT-INFO: PointerAuthCFIAnalyzer ran on 2 functions. Ignored 0 functions (0.00%) because of CFI inconsistencies
BOLT-INFO: number of removed linker-inserted veneers: 0
BOLT-INFO: 0 out of 160742 functions in the binary (0.0%) have non-empty execution profile
BOLT-INSTRUMENTER: Number of indirect call site descriptors: 58962
BOLT-INSTRUMENTER: Number of indirect call target descriptors: 158486
BOLT-INSTRUMENTER: Number of function descriptors: 158470
BOLT-INSTRUMENTER: Number of branch counters: 2060195
BOLT-INSTRUMENTER: Number of ST leaf node counters: 1051027
BOLT-INSTRUMENTER: Number of direct call counters: 0
BOLT-INSTRUMENTER: Total number of counters: 3111222
BOLT-INSTRUMENTER: Total size of counters: 24889776 bytes (static alloc memory)
BOLT-INSTRUMENTER: Total size of string table emitted: 16672929 bytes in file
BOLT-INSTRUMENTER: Total size of descriptors: 230677088 bytes in file
BOLT-INSTRUMENTER: Profile will be saved to file /home/buildbot/workspace/bolt-aarch64-ubuntu-clang/build/tools/clang/tools/driver/../../utils/perf-training/prof.fdata
BOLT-INFO: removed 20672 empty blocks
BOLT-INFO: merged 6 duplicate CFG edges
BOLT-INFO: Starting stub-insertion pass
BOLT-INFO: Inserted 1472 stubs in the hot area and 0 stubs in the cold area. Shared 189624 times, iterated 4 times.
BOLT-INFO: rewritten pac-ret DWARF info in 2 out of 161039 functions (0.00%).
BOLT-INFO: padding code to 0x13800000 to accommodate hot text
BOLT-INFO: output linked against instrumentation runtime library, lib entry point is 0x16568960
BOLT-INFO: clear procedure is 0x16567580
BOLT-INFO: patched build-id (flipped last bit)
BOLT-INFO: setting __bolt_runtime_start to 0x16568960
BOLT-INFO: setting __bolt_runtime_fini to 0x16568a00
BOLT-INFO: setting __hot_start to 0x9000000
BOLT-INFO: setting __hot_end to 0x137422f4
BOLT-INFO: runtime library finalization was hooked via DT_FINI, set to 0x16568a00

```

</details>

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


More information about the cfe-commits mailing list