llvm-project/flang/docs
Andrzej Warzynski b405407a48 [clang][flang] Disable defaulting to `-fpie` for LLVM Flang
In, https://reviews.llvm.org/D120305, CLANG_DEFAULT_PIE_ON_LINUX was set
to `On` by default. However, neither `-fpie` nor `-fpic` are currently
supported in LLVM Flang. Hence, in this patch the behaviour controlled
with CLANG_DEFAULT_PIE_ON_LINUX is refined not to apply to Flang.

Another way to look at this is that CLANG_DEFAULT_PIE_ON_LINUX is
currently affecting both Clang and Flang. IIUC, the intention for this
CMake variable has always been to only affect Clang. This patch makes
sure that that's the case.

Without this change, you might see errors like this on X86_64:
```
/usr/bin/ld: main.o: relocation R_X86_64_32 against `.bss' can not be used when making a PIE object; recompile with -fPIC
```
I've not experienced any issues on AArch64. That's probably because on
AArch64 some object files happen to be position independent without
needing -fpie or -fpic.

Differential Revision: https://reviews.llvm.org/D128333
2022-06-29 07:53:06 +00:00
..
_static
_templates [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
_themes/llvm-theme
ArrayComposition.md
BijectiveInternalNameUniquing.md
C++17.md
C++style.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
CMakeLists.txt
Calls.md
Character.md
ControlFlowGraph.md
Directives.md
DoConcurrent.md [flang] Document DO CONCURRENT's problems (NFC) 2020-11-12 15:30:43 -08:00
Extensions.md [flang][docs] Document non-supported VMS extensions 2022-06-15 14:55:47 -07:00
FIRArrayOperations.md [fir] Add array operations documentation 2022-01-21 09:56:54 +01:00
FlangDriver.md [flang][driver] Remove references to the `flang` bash script 2022-06-06 13:05:18 +00:00
FortranFeatureHistory.md [flang] (NFC) Document Fortran feature history 2021-04-22 11:24:22 -07:00
FortranForCProgrammers.md
FortranIR.md [NFC][flang] Inclusive language: remove instances of master 2021-11-25 15:11:10 -06:00
FortranLLVMTestSuite.md [flang][test-suite] Document need for NO_STOP_MESSAGE environment variable. NFC 2022-06-03 08:19:10 +00:00
GettingInvolved.md [flang] Update Google Doc link for Flang Biweekly Sync call notes 2022-04-29 12:35:01 -06:00
IORuntimeInternals.md
ImplementingASemanticCheck.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
Intrinsics.md [flang] Add failed_images to list of intrinsics and add test 2022-06-14 14:13:33 -07:00
LabelResolution.md
ModFiles.md
OpenMP-4.5-grammar.md
OpenMP-semantics.md
OptionComparison.md Update OptionComparison.md 2020-11-20 10:33:21 -08:00
Overview.md [flang][driver] Delete `f18` (i.e. the old Flang driver) 2021-08-05 12:57:15 +00:00
ParserCombinators.md
Parsing.md [flang] Add nonfatal message classes 2022-03-08 11:40:45 -08:00
Preprocessing.md
PullRequestChecklist.md
ReleaseNotes.md [clang][flang] Disable defaulting to `-fpie` for LLVM Flang 2022-06-29 07:53:06 +00:00
RuntimeDescriptor.md
RuntimeTypeInfo.md [flang] Implement derived type description table encoding 2020-12-08 10:26:58 -08:00
Semantics.md [flang] Improve initializer semantics, esp. for component default values 2020-12-07 14:40:41 -08:00
compiler_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
conf.py [Flang][Docs] Fix warnings when building docs. 2020-11-10 22:24:49 +05:30
doxygen-mainpage.dox
doxygen.cfg.in [NFC] Inclusive Language: change master to main for .chm files 2021-11-08 08:23:04 -06:00
f2018-grammar.md [flang] Correct handling of null pointer initializers 2020-11-18 13:57:25 -08:00
flang-c-style.el [Branch-Rename] Fix some links 2021-02-01 16:43:21 +05:30
frontend_driver.png [Flang][driver] Update the docs 2021-11-08 17:54:46 +00:00
index.md [flang][docs] Update the top "doc" page 2022-02-24 10:41:53 +00:00