[PATCH] D113372: [Driver] Add CLANG_DEFAULT_PIE_ON_LINUX to emulate GCC --enable-default-pie
Fangrui Song via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Feb 25 14:15:55 PST 2022
MaskRay added a comment.
In D113372#3316751 <https://reviews.llvm.org/D113372#3316751>, @mgorny wrote:
> 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.
In release/14.x, these have all been fixed.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113372/new/
https://reviews.llvm.org/D113372
More information about the cfe-commits
mailing list