<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/71645>71645</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
clang: -fno-pie should not imply -fdirect-access-external-data for loongarch*-linux
</td>
</tr>
<tr>
<th>Labels</th>
<td>
clang
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
xry111
</td>
</tr>
</table>
<pre>
loongarch*-linux does not and will not support copy relocation, so -fdirect-access-external-data generally does not work for any dynamic-linked executable.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJyEkbGu3CAQRb8GN8grA_buUlBsEvk_Bhjb5I3BApy3_vvITqRXpEiFkK7uzDkDpYQ5Iho2fGPDjwb2uqRs3vkQQjQ2-cNQSnGG7BYmXy2FuL-5T1h4TJVD9PwzEF2fsm9bypW7tB08IyUHNaTI5HdeEm8nHzK62oJzWEqL74o5ArUeKvAZI2YgOr66P1P-4FPKHOLB_RFhDe6c_4Ge4xvdXsES3hpvlNdKQ4NG3LXu1V12slnMhE4o1TuP-jEIq6y1T2md11Krp-5EE4zspBKie3Za3Xt5s93Do0Z4SMBhshPrO1wh0I3o13pLeW5CKTuah7j3Q0NgkcolTkpHEGcm5ekwmzPf2n0urO8olFq-GmqohOZPXL14O8XUbgF5WdJO_gIP60bHf3ydXv49TLNnMkutW2HqxeTI5DiHuuz25tLK5Hhu8fdpt5x-oqtMjhdUYXK8uH4HAAD__wkNsr4">