[Bug libgcc/88772] Exception handling configured mode does not match the one finally used

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Jan 9 23:10:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88772

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> ---
> I just wiped the build to start a clean build from scratch, but I remember
> checking this and it was "no". I can confirm it in ~1 hour

Can you confirm that we're talking about the 32-bit multilib of libgcc here?
Then, if the answer was "no", we need to understand why.  The check is simple:

dnl Check if the compiler is configured for setjmp/longjmp exceptions.
AC_DEFUN([GCC_CHECK_SJLJ_EXCEPTIONS],
  [AC_CACHE_CHECK([whether the compiler is configured for setjmp/longjmp
exceptions],
    ac_cv_sjlj_exceptions,
    [AC_COMPILE_IFELSE(
      [AC_LANG_PROGRAM(
        [[#ifdef __USING_SJLJ_EXCEPTIONS__
          this will fail
          #endif]],
        [[int i;]])],
      [ac_cv_sjlj_exceptions=no],
      [ac_cv_sjlj_exceptions=yes])])])

Can you run it manually with -m32?


More information about the Gcc-bugs mailing list