On 25/01/19 08:36 -0800, Luya Tshimbalanga wrote:
On 2019-01-22 8:17 a.m., Serge Guelton wrote:
>
> Hi Luya,
>
> Clang does not support the -fstack-clash-protection flag. We used to silently ignore
that flag but it's no longer the case.
> Why are you using clang to compile the package? The safe step is to use gcc, ot if
clang is needed, to strip -fstack-clash-protection
> from the flags passed to clang, but that's not future-proof (clang may end up
supporting that flag).
>
> Hope it helps,
>
> Serge
>
Upstream reason. Trying to build with gcc will fail. See the attacked
CMakeLists.txt from ispc-1.10.0
That says it wants to build with clang, but doesn't say why building
with GCC will fail. Is it due to a GCC bug? Is it something we can
fix?