<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/62372>62372</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
Clang powerpc64le pcrel code model is not used if -msoft-float or similar flags are used
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
npiggin
</td>
</tr>
</table>
<pre>
Example here - https://godbolt.org/z/1YhsEW7En
Remove -msoft-float or switch to GCC for expected pcrel code model. -mno-altivec and -mno-vsx flags at least also cause this. This prevents building the Linux kernel with the pcrel code model.
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJxkUs2O1DAMfpr0YrXqJP2ZPfSw7G65cEJIiGOauE0gTarYnRl4ejRdEBJzSaQvsf39WBP5JSIOov0g2tdC7-xSHuLml8XHYkr25_B20-sWEBxmhBIc80ZCPQs5CjkuyU4pcJXyIuT4S8jx9M3R29f-LYr6VdTP7-dnXNMFoVwpzVzOIWmGlIGuno0DTvDx5QXmlAFvGxpGC5vJGMAki7Ami6GCco2p1IH9BQ3oaN-BC91gDnoh0AwBNTHoQAmM3gmBnacKvjhPsGW8YGSCaffB-rgAO4RPPu43-IE5YoCrZ3egD8MLOyj7pJ50gcOpO8vmXHeqLdzQqCdpVK_Psz03dduaeTKorOz606ntZiz8IGup6kZ2tWpU21ZqMsro-dT2tVJ9i6KpcdU-VCFc1ruPhSfaceik6mUR9ISBjnikjHiF41FIeU8rD_eactoXEk0dPDH968KeAw4vQccFtnTFvJmuCY_awBPExLATWvDzY0Z-9UHnvyZnPH4Wew7Df6vg2e1TZdIq5Hin8ecqt5y-o2Ehx4M8CTke4n4HAAD__91S1E0">