[PATCH] D105453: [mlir][SystemZ] Disable `-fno-semantic-interposition` option.
Fangrui Song via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 8 20:09:54 PDT 2021
MaskRay accepted this revision.
MaskRay added a comment.
This revision is now accepted and ready to land.
Looks great!
================
Comment at: llvm/cmake/modules/HandleLLVMOptions.cmake:321
# relocations due to -fno-pic.
- if (CMAKE_COMPILER_IS_GNUCXX OR (CMAKE_CXX_COMPILER_ID MATCHES "Clang" AND
- CMAKE_CXX_COMPILER_VERSION GREATER_EQUAL 13))
+ # GCC for SystemZ: Enable `-fno-semantic-interposition` when using
+ # GCC version >= 11. Old versions of GCC seems to have bugs.
----------------
GCC<11 has bugs on SystemZ, so don't use the option for older GCC.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D105453/new/
https://reviews.llvm.org/D105453
More information about the llvm-commits
mailing list