On Mon, 20 May 2019 at 17:39, Alexandre Julliard via llvm-dev llvm-dev@lists.llvm.org wrote:
- 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.