Commit dbf6aec
committed
fix: disable PIE for post_process with LLVMFlang to fix R_X86_64_32 relocation error
flang-23/LLD defaults to building PIE executables. SILO and LAPACK static
libraries on Frontier are compiled without -fPIC, so their 32-bit absolute
relocations (R_X86_64_32) are rejected by LLD when linking a PIE binary.
Add -no-pie to post_process link options for LLVMFlang to allow non-PIC
system libraries. simulation is unaffected (no SILO/LAPACK dependency).1 parent 473f9ce commit dbf6aec
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
791 | 791 | | |
792 | 792 | | |
793 | 793 | | |
| 794 | + | |
| 795 | + | |
| 796 | + | |
| 797 | + | |
| 798 | + | |
| 799 | + | |
794 | 800 | | |
795 | 801 | | |
796 | 802 | | |
| |||
0 commit comments