[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 01/01: Add resolve-primitives pass back to bootstrap
From: |
Andy Wingo |
Subject: |
[Guile-commits] 01/01: Add resolve-primitives pass back to bootstrap |
Date: |
Fri, 5 Jan 2018 11:48:02 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit fa4cb2182dfa6461075c784cc388829adffdbc6a
Author: Andy Wingo <address@hidden>
Date: Fri Jan 5 17:44:00 2018 +0100
Add resolve-primitives pass back to bootstrap
* bootstrap/Makefile.am (GUILE_OPTIMIZATIONS): Blah, add
-Oresolve-primitives.
---
bootstrap/Makefile.am | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am
index 496d530..57b62eb 100644
--- a/bootstrap/Makefile.am
+++ b/bootstrap/Makefile.am
@@ -1,7 +1,7 @@
## Process this file with automake to produce Makefile.in.
##
## Copyright (C) 2009, 2010, 2011, 2012, 2013,
-## 2014, 2015 Free Software Foundation, Inc.
+## 2014, 2015, 2018 Free Software Foundation, Inc.
##
## This file is part of GUILE.
##
@@ -22,7 +22,12 @@
GUILE_WARNINGS =
-GUILE_OPTIMIZATIONS = -O1
+# Loading eval.go happens before boot and therefore before modules are
+# resolved. For some reason if compiled without resolve-primitives,
+# attempts to resolve primitives at boot fail; weird. Should fix this
+# but in the meantime we turn on primitive resolution (which normally
+# only happens at -O2).
+GUILE_OPTIMIZATIONS = -O1 -Oresolve-primitives
include $(top_srcdir)/am/bootstrap.am