[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 Oct 8 01:44:19 PDT 2020


ro added a comment.

In D85630#2318618 <https://reviews.llvm.org/D85630#2318618>, @brad wrote:

> What about reverting this now that you have found this is an issue with the Sun linker?

Knowing the source of the bug doesn't make it go away ;-)  As explained in Bug 47304; I'm still awaiting the release of a fixed linker.  I do have a patch for `HandleLLVMOptions.cmake` that only applies the workaround when the linker is broken, but that needs to be adjusted for the right version number.


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