emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

feature/native-comp a261db1: * configure.ac: Better messaging when libgc


From: Andrea Corallo
Subject: feature/native-comp a261db1: * configure.ac: Better messaging when libgccjit fails smoke test
Date: Tue, 5 May 2020 04:02:11 -0400 (EDT)

branch: feature/native-comp
commit a261db171166246eaee523cd3b3687b39bce4dca
Author: Andrea Corallo <address@hidden>
Commit: Andrea Corallo <address@hidden>

    * configure.ac: Better messaging when libgccjit fails smoke test
    
        * configure.ac: Fix libgccjit test LDFLAGS plus better messaging
        in case of its fail.
---
 configure.ac | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index af12f20..62fb274 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3777,15 +3777,18 @@ to configure.])])
 
 AC_DEFUN([libgccjit_broken], [
   AC_MSG_ERROR([Installed libgccjit has failed passing the smoke test.
+You can verify it yourself compiling:
+<https://gcc.gnu.org/onlinedocs/jit/intro/tutorial01.html>.
 Please report the issue to your distribution.
-Here instructions on how to compile from source: 
https://gcc.gnu.org/wiki/JIT.])])
+Here instructions on how to compile from source:
+<https://gcc.gnu.org/wiki/JIT>.])])
 
 HAVE_NATIVE_COMP=no
 LIBGCCJIT_LIB=
 COMP_OBJ=
 if test "${with_nativecomp}" != "no"; then
     emacs_save_LDFLAGS=$LDFLAGS
-    LDFLAGS="-lgccjit -ldl"
+    LDFLAGS="-lgccjit"
     AC_RUN_IFELSE([libgccjit_smoke_test], [], [libgccjit_broken],
       [AC_LINK_IFELSE([libgccjit_smoke_test], [], [libgccjit_not_found])])
     LDFLAGS=$emacs_save_LDFLAGS



reply via email to

[Prev in Thread] Current Thread [Next in Thread]