andykaylor wrote:

@MaskRay I see that in 3bbc912d37f03d9ad3be330b81d91c2eaf6c37f2 you removed 
some tests that fail because of this change. Why do you think that is an 
appropriate solution? I have some other tests in a downstream product that are 
failing because we build with CLANG_DEFAULT_PIE_ON_LINUX=OFF. You said in your 
initial comment here that "most builds set CLANG_DEFAULT_PIE_ON_LINUX to 1, 
making RequiresPIE/NeedPIE redundant on Linux." But apparently it's not 
redundant for builds that don't use that setting.

Do you have another solution in progress (or already committed that I haven't 
seen yet)? It seems that as long as this is a configurable option, we need to 
support both settings. Intel's SYCL project (https://github.com/intel/llvm) 
currently sets CLANG_DEFAULT_PIE_ON_LINUX to zero for compatibility with gcc in 
Fedora releases (at least, I think that's the reason).

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

Reply via email to