<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/54850>54850</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            Assembler flag -fPIC doesn't exist on Linux x86_64
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          vonbrand
      </td>
    </tr>
</table>

<pre>
    This is Fedora 35 on x86_64, up to date, llvmorg-15-init-7306-gd6cf181a8df6

The build fails due to illegal `--defsym`s in `as` invocations, but looking at the call:

```
/usr/bin/as --defsym BLAKE3_USE_NEON=0 --defsym GTEST_HAS_RTTI=0 --defsym _GNU_SOURCE --defsym __STDC_CONSTANT_MACROS --defsym __STDC_FORMAT_MACROS --defsym __STDC_LIMIT_MACROS -I/home/vonbrand/tmp/LLVM/llvm-project/build/lib/Support/BLAKE3 -I/home/vonbrand/tmp/LLVM/llvm-project/llvm/lib/Support/BLAKE3 -I/home/vonbrand/tmp/LLVM/llvm-project/build/include -I/home/vonbrand/tmp/LLVM/llvm-project/llvm/include -fPIC --MD lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_sse2_x86-64_unix.S.o.d -o lib/Support/BLAKE3/CMakeFiles/LLVMSupportBlake3.dir/blake3_sse2_x86-64_unix.S.o -c /home/vonbrand/tmp/LLVM/llvm-project/llvm/lib/Support/BLAKE3/blake3_sse2_x86-64_unix.S
```

Note the assembler is called with `-fPIC`, that option does not apply on this architecture.

</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJy1VFmPmzAQ_jXwYoG4AuGBBzbHNmqOKrB9RQYbcNfBCJvd7L_vmGQvdduHditZwxz4m89jz5SCPCV5yySCtaZEDBj5MyQ6dJ6HRRgY3gKNPVICEayotjh_OImhsdyZxTqmrMh3QqshYVW7cxfPSR0aztJw0ovMW4rKkXGCasy4RGSkGoxxThvMkRE6lkVoLZ9OoAKJTruwBAH6g6iwYqKTOm85KsSFuGddg7BCCoArzLnhp2_zwcbrupjeepQDyJJ1ILFEz-nQzTb9uvKLu2xV7FeHveEvndfgbb7K8uJLmhXHPN-8jxW3-7siO9wdF6s3ziLLl4ticdhnebrPi126OB6yX-Lrw3GX_ja63ew2r8ENEG7FCYq-fhBdOeCOgKpOPcjt9vsOPvourH4QP2il9CF1obWblSCzse_FoP2Xo_4NojY_FfCZIusqPhL6D5xeEOpvmwWUcrdEH9MEZbHD93TNOJVX1Os_Nxz8vk3Y9EQmo5CSegU8fisMirFjZzuzhU2QJf4fPLIq9LlX86d8HzfKJPdC0amzMGw7lZwOeizoNqMEPTLVTg2rC643QlOqFlpR9LpJERFUok4ohPueP-kRovRcwUPVMgWcx4HalzQmSXwS-zE2FVOcJulLtprj5nqjGg56NlKInplUGm_LuvF8HUzmOPCkVaqXegJ4a1gNEBxLuxKnN-V5XzQm5Tjd0iyYzxyzTTzqRnVFSBCE4Tx0yngWkyCqaRRS4nhz1-S4pFwmxuzG8LyOPqIJAnRjtjRZ4jme5wSu6wae48d27ESuO4-qKHbjknixETj0BIPP1jxsGJvmkEyUyrGREORwMvkahLKzpqN0Sgf4eFStGJLnF2FOuZOJ-09mD88i">