clayborg wrote: @labath Your suggestion to use the commands in my test fails on `buildkite/github-pull-requests/linux-linux-x64` with: ``` RUN: at line 6: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/llvm-mc -triple=x86_64-pc-linux -filetype=obj -o - - <<<".globl defined, undefined; defined:" | /usr/bin/ld.lld /dev/stdin -o - --hash-style=gnu -export-dynamic -shared -z nosectionheader -o /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-dynsym.test.tmp.gnu + /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/llvm-mc -triple=x86_64-pc-linux -filetype=obj -o - - + /usr/bin/ld.lld /dev/stdin -o - --hash-style=gnu -export-dynamic -shared -z nosectionheader -o /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-dynsym.test.tmp.gnu ld.lld: warning: unknown -z value: nosectionheader RUN: at line 10: /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/lldb --no-lldbinit -S /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/lit-lldb-init-quiet /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-dynsym.test.tmp.gnu -b -o "image dump objfile" | /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/lldb/test/Shell/ObjectFile/ELF/elf-dynsym.test --dump-input=always --check-prefix=GNU + /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/lldb --no-lldbinit -S /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/lit-lldb-init-quiet /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/tools/lldb/test/Shell/ObjectFile/ELF/Output/elf-dynsym.test.tmp.gnu -b -o 'image dump objfile' + /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/build/bin/FileCheck /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/lldb/test/Shell/ObjectFile/ELF/elf-dynsym.test --dump-input=always --check-prefix=GNU /var/lib/buildkite-agent/builds/linux-56-59b8f5d88-5wwkv-1/llvm-project/github-pull-requests/lldb/test/Shell/ObjectFile/ELF/elf-dynsym.test:19:9: error: GNU: expected string not found in input // GNU: e_shnum = 0x00000000 ``` The error is: ``` ld.lld: warning: unknown -z value: nosectionheader ``` Any ideas on why this flag doesn't work on that linux system? I would rather switch back to YAML where I strip the section headers if you don't have a solution for the way you suggested to do it.
https://github.com/llvm/llvm-project/pull/116689 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits