MaskRay requested changes to this revision.
MaskRay added a comment.
This revision now requires changes to proceed.

gfortran defaults to PIE as well.

> We can revisit this once support for -fpie and -fpic is available in LLVM 
> Flang. I'm not aware of anyone actively working in this area.

Disagree. The PIE default should be fine. When PIE support is added, the 
default mode naturally becomes PIE.
Note: -fpie object files can be linked with either -no-pie or -pie. -fno-pic 
object files can only be linked with -no-pie.
-fpie is more portable than -fno-pic.

(Why does flang use clang/lib/Driver? For clang developers, it seems that 
`check-clang check-clang-tools` is not sufficient. `check-flang` needs to be 
used as well.)


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D128333

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to