[llvm] [MC] set OpenBSD's ELFOSABI by default (PR #98158)
LLVM Continuous Integration via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 11 08:12:01 PDT 2024
llvm-ci wrote:
LLVM Buildbot has detected a new failure on builder `llvm-x86_64-debian-dylib` running on `gribozavr4` while building `llvm` at step 8 "test-build-unified-tree-check-lld".
Full details are available at: https://lab.llvm.org/buildbot/#/builders/60/builds/2230
Here is the relevant piece of the build log for the reference:
```
Step 8 (test-build-unified-tree-check-lld) failure: test (failure)
******************** TEST 'lld :: ELF/basic-sparcv9.s' FAILED ********************
Exit Code: 1
Command Output (stderr):
--
RUN: at line 2: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -filetype=obj -triple=sparc64-unknown-openbsd /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-mc -filetype=obj -triple=sparc64-unknown-openbsd /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp
RUN: at line 3: /b/1/llvm-x86_64-debian-dylib/build/bin/ld.lld /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/ld.lld /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp -o /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp2
RUN: at line 4: /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-readobj --file-headers --sections -l --symbols /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp2 | /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s
+ /b/1/llvm-x86_64-debian-dylib/build/bin/llvm-readobj --file-headers --sections -l --symbols /b/1/llvm-x86_64-debian-dylib/build/tools/lld/test/ELF/Output/basic-sparcv9.s.tmp2
+ /b/1/llvm-x86_64-debian-dylib/build/bin/FileCheck /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s
/b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s:20:15: error: CHECK-NEXT: expected string not found in input
# CHECK-NEXT: OS/ABI: SystemV (0x0)
^
<stdin>:12:16: note: scanning from here
FileVersion: 1
^
<stdin>:13:2: note: possible intended match here
OS/ABI: OpenBSD (0xC)
^
Input file: <stdin>
Check file: /b/1/llvm-x86_64-debian-dylib/llvm-project/lld/test/ELF/basic-sparcv9.s
-dump-input=help explains the following input dump.
Input was:
<<<<<<
.
.
.
7: ElfHeader {
8: Ident {
9: Magic: (7F 45 4C 46)
10: Class: 64-bit (0x2)
11: DataEncoding: BigEndian (0x2)
12: FileVersion: 1
next:20'0 X error: no match found
13: OS/ABI: OpenBSD (0xC)
next:20'0 ~~~~~~~~~~~~~~~~~~~~~~~
next:20'1 ? possible intended match
14: ABIVersion: 0
next:20'0 ~~~~~~~~~~~~~~~
15: Unused: (00 00 00 00 00 00 00)
next:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
16: }
next:20'0 ~~~
17: Type: Executable (0x2)
next:20'0 ~~~~~~~~~~~~~~~~~~~~~~~~
...
```
https://github.com/llvm/llvm-project/pull/98158
More information about the llvm-commits
mailing list