Re: Build: arm rustgcc unknown argument '-mno-fdpic'
From: Miguel Ojeda
Date: Thu Apr 24 2025 - 13:02:18 EST
On Thu, Apr 24, 2025 at 3:39 PM Ben Wolsieffer
<ben.wolsieffer@xxxxxxxxxxx> wrote:
>
> -mno-fdpic disables a GCC feature that we don't want for kernel builds.
> clang does not support this feature, so it always behaves as though
> -mno-fdpic is passed. Therefore, it should be fine to mix the two, at
> least as far as FDPIC is concerned.
Great, thanks a lot for confirming it should be all good, very much appreciated!
Naresh: would you like to send the diff as a formal patch since you
already tested it etc.?
Cheers,
Miguel