Re: [PATCH 2/5] gcc: Enable Intel CET on Intel CET enabled host for jit

2020-05-12 Thread Jeff Law via Gcc-patches
On Sat, 2020-05-09 at 08:43 -0700, H.J. Lu wrote: > Since on Intel CET enabled host, dlopen in Intel CET enabled applications > fails on shared libraries which aren't Intel CET enabled, compile with > -fcf-protection on Intel CET enabled host when jit is enabled to enable > Intel CET on libgccjit.

[PATCH 2/5] gcc: Enable Intel CET on Intel CET enabled host for jit

2020-05-09 Thread H.J. Lu via Gcc-patches
Since on Intel CET enabled host, dlopen in Intel CET enabled applications fails on shared libraries which aren't Intel CET enabled, compile with -fcf-protection on Intel CET enabled host when jit is enabled to enable Intel CET on libgccjit. * Makefile.in (CET_HOST_FLAGS): New.