[vmkit-commits] [vmkit] r197880 - check REQUIRES_FRAME

Gael Thomas gael.thomas at lip6.fr
Sun Dec 22 07:43:34 PST 2013


Author: gthomas
Date: Sun Dec 22 09:43:33 2013
New Revision: 197880

URL: http://llvm.org/viewvc/llvm-project?rev=197880&view=rev
Log:
check REQUIRES_FRAME

Modified:
    vmkit/branches/mcjit/autoconf/configure.ac
    vmkit/branches/mcjit/configure

Modified: vmkit/branches/mcjit/autoconf/configure.ac
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/mcjit/autoconf/configure.ac?rev=197880&r1=197879&r2=197880&view=diff
==============================================================================
--- vmkit/branches/mcjit/autoconf/configure.ac (original)
+++ vmkit/branches/mcjit/autoconf/configure.ac Sun Dec 22 09:43:33 2013
@@ -181,7 +181,11 @@ LLVM_PATH="`$LLVM_CONFIG --bindir`"
 llvm_cfg=`$LLVM_RUNTIME_CONFIG --cxxflags | sed -e 's/-O3//'`
 
 if ! test -z "`echo $llvm_cfg | grep -- -fno-exceptions`"; then
-	 		AC_MSG_ERROR([You have to compile LLVM with exception enabled, please compile it with 'make REQUIRES_EH=1'])
+	 		AC_MSG_ERROR([You have to compile LLVM with exception enabled, please compile it with 'make REQUIRES_EH=1 REQUIRES_FRAME_POINTER=1'])
+fi
+
+if ! test -z "`echo $llvm_cfg | grep -- -fomit-frame-pointer`"; then
+	 		AC_MSG_ERROR([You have to compile LLVM with frame pointers, please compile it with 'make REQUIRES_EH=1 REQUIRES_FRAME_POINTER=1'])
 fi
 
 AC_SUBST(LLVM_CXXFLAGS, [$llvm_cfg" "-I`$LLVM_RUNTIME_CONFIG --src-root`/include])

Modified: vmkit/branches/mcjit/configure
URL: http://llvm.org/viewvc/llvm-project/vmkit/branches/mcjit/configure?rev=197880&r1=197879&r2=197880&view=diff
==============================================================================
--- vmkit/branches/mcjit/configure (original)
+++ vmkit/branches/mcjit/configure Sun Dec 22 09:43:33 2013
@@ -2123,7 +2123,11 @@ LLVM_PATH="`$LLVM_CONFIG --bindir`"
 llvm_cfg=`$LLVM_RUNTIME_CONFIG --cxxflags | sed -e 's/-O3//'`
 
 if ! test -z "`echo $llvm_cfg | grep -- -fno-exceptions`"; then
-	 		as_fn_error $? "You have to compile LLVM with exception enabled, please compile it with 'make REQUIRES_EH=1'" "$LINENO" 5
+	 		as_fn_error $? "You have to compile LLVM with exception enabled, please compile it with 'make REQUIRES_EH=1 REQUIRES_FRAME_POINTER=1'" "$LINENO" 5
+fi
+
+if ! test -z "`echo $llvm_cfg | grep -- -fomit-frame-pointer`"; then
+	 		as_fn_error $? "You have to compile LLVM with frame pointers, please compile it with 'make REQUIRES_EH=1 REQUIRES_FRAME_POINTER=1'" "$LINENO" 5
 fi
 
 LLVM_CXXFLAGS=$llvm_cfg" "-I`$LLVM_RUNTIME_CONFIG --src-root`/include





More information about the vmkit-commits mailing list