[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
Thu Aug 27 08:43:20 PDT 2020


ro added a comment.

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

> Feels like a hack, but I'm not strongly opposed either.

It certainly is.  However, even if both `gcc` were to stop generating invalid TLS sequences today and `ld` accepted what current `gcc` generates (possible, but difficult since there's no spec what can be emitted), it would take time for both to become available/be included in a release.

Are you still ok with the revised version?  It was prompted by a question in Bug 47304 which showed that I'd missed some cases before.


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