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

Jeff Law law@redhat.com
Tue May 12 15:53:44 GMT 2020


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.
> 
> 	* Makefile.am (AM_CFLAGS): Add $(CET_HOST_FLAGS).
> 	* configure.ac: Add GCC_CET_HOST_FLAGS(CET_HOST_FLAGS) and
> 	AC_SUBST(CET_HOST_FLAGS).  Clear CET_HOST_FLAGS if jit isn't
> 	enabled.
> 	* Makefile.in: Regenerated.
> 	* configure: Likewise.
OK
jeff
> 



More information about the Gcc-patches mailing list