rorth wrote:

I've now tested the (original version of) the patch on both 
`sparc64-unknown-linux-gnu` and `sparcv9-sun-solaris2.11`.  The Linux/sparc64 
build failure is gone, no regressions on either target.

Btw., prompted by this I've discovered that GCC's `-mcpu=v9` default on 
Solaris/SPARC is way outdated: the Oracle Studio compilers default to 
`-xarch=sparcvis2` since version 12.6 (from 2017 no less), which is 
`-mcpu=ultrasparc3` in `gcc`/`clang` lingo.  The 32 and 64-bit `libc.so.1` 
match this.  I'll update the `gcc` default after testing, and provide a similar 
patch for `clang` afterwards.  Thanks for pointing this out!

https://github.com/llvm/llvm-project/pull/149652
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to