[llvm-dev] Handling of the x18 register in Wine on AArch64

Tim Northover via llvm-dev llvm-dev at lists.llvm.org
Wed May 22 05:29:46 PDT 2019


On Mon, 20 May 2019 at 17:39, Alexandre Julliard via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> > 1) Rebuild the surrounding host environment (the whole linux
> > distribution) with -ffixed-x18. This would be the perfect solution,
> > but is highly impractical for general use of Wine by regular users in
> > their existing setups. (Convincing major distributions to start
> > configuring their compilers in this way also doesn't seem to be
> > happening.)
>
> Any chance that this could be made the compiler default, so that distros
> wouldn't need to do anything?

I think getting most code built with that flag is probably the worst
possible solution, whether by changing the compiler default or
convincing distros to do it. No single project should dictate (or even
try to dictate) the ABI of an entire platform.

Cheers.

Tim.


More information about the llvm-dev mailing list