On 9/17/21 10:29 AM, Sedat Dilek wrote:
@Tom Stellard

Shall I open a bug-report to cherry-pick...?

commit 454f69bcc17e6451c926a2e7b708e900fc8fdcb8
"[PATCH] [LLD] Add required `ppc` target to the test cases. NFC")

If yes - Can you point me to the LLVM release/13.x meta bug number?


Yes,that would be great if you could open a bug.  And you don't need the meta 
bug
number, you can just put release-13.0.0 in the blocks field.

-Tom

Do you want to do it directly by yourself?

Thanks.

- Sedat -

On Wed, Sep 15, 2021 at 1:50 AM Sedat Dilek <sedat.di...@gmail.com> wrote:

On Tue, Sep 14, 2021 at 6:40 AM Tom Stellard via llvm-dev
<llvm-...@lists.llvm.org> wrote:

Hi,

I've tagged 13.0.0-rc3.  This will likely be the last rc unless there are
critical bugs that are found.  Please test the release and report results.


I use tc-build from the ClangBuiltLinux project to build a selfmade
x86-64 LLVM toolchain.

My invocation looks like this:

$ python3 ./build-llvm.py --no-update --build-type Release -p
clang;lld -t X86;BPF --clang-vendor dileks -B
/home/dileks/src/llvm-toolchain/build -I /opt/llvm-toolchain
--check-targets clang lld --build-stage1-only --install-stage1-only -D
LLVM_PARALLEL_LINK_JOBS=1 --show-build-commands

The LLD check-targets failed:

3887:******************** TEST 'lld :: ELF/compressed-debug-input.s'
FAILED ********************
3918:******************** TEST 'lld ::
ELF/compressed-debug-input-err.s' FAILED ********************
3947:FAILED: tools/lld/test/CMakeFiles/check-lld

$ grep error: log_tc-build.txt
3911:/home/dileks/src/llvm-toolchain/build/stage1/bin/llvm-mc: error:
: error: unable to get target for 'powerpc64-unknown-unknown', see
--version and --triple.
3930:/home/dileks/src/llvm-toolchain/build/stage1/bin/llvm-mc: error:
: error: unable to get target for 'powerpc64-unknown-unknown', see
--version and --triple.

This is due to I have no ppc target:

$ /home/dileks/src/llvm-toolchain/build/stage1/bin/llvm-mc --version
LLVM (http://llvm.org/):
  LLVM version 13.0.0
  Optimized build.
  Default target: x86_64-unknown-linux-gnu
  Host CPU: sandybridge

  Registered Targets:
    bpf    - BPF (host endian)
    bpfeb  - BPF (big endian)
    bpfel  - BPF (little endian)
    x86    - 32-bit X86: Pentium-Pro and above
    x86-64 - 64-bit X86: EM64T and AMD64

I needed to apply [1] to fix the issue with LLD check-targets:

 From 454f69bcc17e6451c926a2e7b708e900fc8fdcb8 Mon Sep 17 00:00:00 2001
From: Simon Atanasyan <si...@atanasyan.com>
Date: Sat, 7 Aug 2021 13:29:59 +0300
Subject: [PATCH] [LLD] Add required `ppc` target to the test cases. NFC

Please cherry-pick this to release/13.x Git tree.

Thanks.

Regards,
- Sedat -

[1] 
https://github.com/llvm/llvm-project/commit/454f69bcc17e6451c926a2e7b708e900fc8fdcb8.patch


_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to