[lldb] [llvm] [dsymutil] Avoid copying binary swiftmodules built from textual (PR #134719)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Tue Apr 8 09:31:50 PDT 2025
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `clang-m68k-linux-cross` running on `suse-gary-m68k-cross` while building `lldb,llvm` at step 5 "ninja check 1".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/27/builds/8307
<details>
<summary>Here is the relevant piece of the build log for the reference</summary>
```
Step 5 (ninja check 1) failure: stage 1 checked (failure)
******************** TEST 'LLVM :: tools/dsymutil/swiftmodule.test' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/dsymutil -verbose -oso-prepend-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil -y -o /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test | /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test # RUN: at line 1
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/dsymutil -verbose -oso-prepend-path=/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil -y -o /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test
+ /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/bin/FileCheck /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test
note: trying to open '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule'
note: loaded object.
warning: Unable to open /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule The file was not recognized as a valid object file
note: trying to open '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule'
note: loaded object.
warning: Unable to open /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule The file was not recognized as a valid object file
error: unable to get target for 'arm64-apple-darwin', see --version and --triple.
note: while processing dwarf streamer init
error: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/stage1/test/tools/dsymutil/Output/swiftmodule.test.tmp.dSYM/Contents/Resources/DWARF/swiftmodule.test: The file was not recognized as a valid object file/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test:15:10: error: CHECK: expected string not found in input
# CHECK: Skipping compiled textual Swift interface: {{.*}}/Inputs/FromInterface.swiftmodule
^
<stdin>:1:1: note: scanning from here
---
^
<stdin>:9:77: note: possible intended match here
- filename: '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule'
^
Input file: <stdin>
Check file: /var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/swiftmodule.test
-dump-input=help explains the following input dump.
Input was:
<<<<<<
1: ---
check:15'0 X~~~ error: no match found
2: triple: 'arm64-apple-darwin'
check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3: binary-path: ''
check:15'0 ~~~~~~~~~~~~~~~~
4: objects:
check:15'0 ~~~~~~~~~
5: - filename: '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/Binary.swiftmodule'
check:15'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6: timestamp: 0
check:15'0 ~~~~~~~~~~~~~~
7: type: 50
check:15'0 ~~~~~~~~~~
8: symbols: []
check:15'0 ~~~~~~~~~~~~~
9: - filename: '/var/lib/buildbot/workers/suse-gary-m68k-cross/clang-m68k-linux-cross/llvm/llvm/test/tools/dsymutil/Inputs/FromInterface.swiftmodule'
...
```
</details>
https://github.com/llvm/llvm-project/pull/134719
More information about the llvm-commits
mailing list