[PATCH] D113372: [Driver] Add CLANG_DEFAULT_PIE_ON_LINUX to emulate GCC --enable-default-pie

Michał Górny via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Feb 12 04:44:37 PST 2022


mgorny added a comment.

When enabled, this seems to break a fair number of tests:

  Clang :: CodeGen/mips-vector-return.c
  Clang :: Driver/hexagon-toolchain-elf.c
  Clang :: Driver/hip-fpie-option.hip
  Clang :: Driver/mips-cs.cpp
  Clang :: Driver/mips-fsf.cpp
  Clang :: Driver/mips-img-v2.cpp
  Clang :: Driver/mips-img.cpp
  Clang :: Driver/mips-mti-linux.c

I've been able to get the hexagon test to work by passing `-fno-pie` explicitly but others don't seem this easy.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D113372/new/

https://reviews.llvm.org/D113372



More information about the llvm-commits mailing list