GNU bug report logs -
#57380
29.0.50; configure --config-cache --with-native-compilation failing
Previous Next
Reported by: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Date: Wed, 24 Aug 2022 12:10:01 UTC
Severity: normal
Found in version 29.0.50
Fixed in version 29.1
Done: Gerd Möllmann <gerd.moellmann <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 57380 <at> debbugs.gnu.org (full text, mbox):
> From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
> Cc: 57380 <at> debbugs.gnu.org
> Date: Wed, 24 Aug 2022 15:37:16 +0200
>
> Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
>
> >
> > Gerd Möllmann <gerd.moellmann <at> gmail.com> writes:
> >
> >> AC_RUN_IFELSE is apparently run differently when using the cache, or
> >> something like that.
> >
> > Success and failure
> >
> > configure:19674: gcc -o conftest -g3 -O2 ... conftest.c
> > configure:19674: gcc -o conftest -g -O2 ... conftest.m
> > ^^
> >
> > Baffled.
>
> diff --git a/configure.ac b/configure.ac
> index 7616e450d0..08a41a7808 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -4273,6 +4273,7 @@ AC_DEFUN
> [], [libgccjit_not_found])
> AC_CHECK_HEADERS([libgccjit.h], [], [libgccjit_dev_not_found])
> # Check if libgccjit really works.
> + AC_LANG(C)
> AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken])
> HAVE_NATIVE_COMP=yes
> case "${opsys}" in
>
> This makes it work for me.
Doh! Do you understand why it is only needed in one of the two cases?
And doesn't it affect the following tests?
> It that something for emacs-28, or rather not? Guess not, but just in
> case.
What does this call produce in the configure script?
This bug report was last modified 2 years and 268 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.