[PATCH] D85630: [cmake] Don't build with -O3 -fPIC on Solaris/sparcv9

Rainer Orth via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 18 02:29:27 PDT 2020


ro added a comment.

In D85630#2223248 <https://reviews.llvm.org/D85630#2223248>, @hans wrote:

> I agree with James.
>
> Also, since you're applying this work-around for gcc, I assume the tests pass in the bootstrapped build, i.e. when compiling with clang?

I'd initially restricted the workaround to `gcc` because the reduced testcase attached to the GCC PR works when compiled with `clang++` instead of `g++`.  However, a bootstrap build is still nightmarishly bad on Solaris/sparcv9: the 11.0.0-rc1 one had 4817 failures, a fresh one on master with the workaround applied to both `gcc` and `clang` is down to 1365.

So there's at least some improvement, but still a long way to go.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D85630/new/

https://reviews.llvm.org/D85630



More information about the llvm-commits mailing list