[all-commits] [llvm/llvm-project] 6dd0bf: [Clang][VE] Fix toolchain test when -DCLANG_DEFAUL...

Simon Moll via All-commits all-commits at lists.llvm.org
Wed Dec 1 09:28:07 PST 2021

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6dd0bfad0d3c7bfaa3442ad2382ce3bd8ad94be3
  Author: Simon Moll <simon.moll at emea.nec.com>
  Date:   2021-12-01 (Wed, 01 Dec 2021)

  Changed paths:
    M clang/test/Driver/ve-toolchain.c
    M clang/test/Driver/ve-toolchain.cpp

  Log Message:
  [Clang][VE] Fix toolchain test when -DCLANG_DEFAULT_LINKER=lld in use

The CLANG_DEFAULT_LINKER flag overrides the default toolchain linker.
VE strictly requires 'nld' to be the default linker.  This causes a test
failure in test/Driver/ve-toolchain.cpp when configured with

  Failure in clang-ppc64le-rhel

Until default linker selection with CLANG_DEFAULT_LINKER!=ld is fixed
proper, we manually specify '-fuse-ld=ld' (ie the toolchain default
linker) in the ve-toolchain tests.

More information about the All-commits mailing list