[all-commits] [llvm/llvm-project] 814c05: [libsycl] Add explicit LLVMSupport dependency (#19...

Yury Plyakhin via All-commits all-commits at lists.llvm.org
Mon May 4 13:59:13 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 814c054ef4f536539f0046f13654d546bb1c1a4f
      https://github.com/llvm/llvm-project/commit/814c054ef4f536539f0046f13654d546bb1c1a4f
  Author: Yury Plyakhin <yury.plyakhin at intel.com>
  Date:   2026-05-04 (Mon, 04 May 2026)

  Changed paths:
    M libsycl/src/CMakeLists.txt

  Log Message:
  -----------
  [libsycl] Add explicit LLVMSupport dependency (#195371)

libLLVMSYCL.so includes <llvm/Object/OffloadBinary.h>, which
transitively instantiates LLVMSupport templates.
With -Wl,-z,defs those symbols must be on the direct link line.
LLVMObject (which contains OffloadBinary.cpp) was already linked, but
LLVMSupport was not, causing undefined-reference errors in clean builds.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list