On Fri, Feb 07, 2025 at 02:48:22PM +0100, Richard Biener wrote:
> The following makes the dlfcn.h explicitly requested which avoids
> build failure when JIT is enabled but plugin support disabled as
> currently the include is conditional on plugin support.
> 
> I've built GCC with JIT enabled and plugin support disabled as well
> as the other way around successfully with this patch.
> 
> OK for trunk and branches (after a while)?
> 
> Thanks,
> Richard.
> 
>       PR jit/118780
> gcc/
>       * system.h: Check INCLUDE_DLFCN_H for including dlfcn.h instead
>       of ENABLE_PLUGIN.
>       * plugin.cc: Define INCLUDE_DLFCN_H.
> 
> gcc/jit/
>       * jit-playback.cc: Define INCLUDE_DLFCN_H.
>       * jit-result.cc: Likewise.

Okay.

        Jakub

Reply via email to