From fa4cb2182dfa6461075c784cc388829adffdbc6a Mon Sep 17 00:00:00 2001 From: Andy Wingo Date: Fri, 5 Jan 2018 17:44:00 +0100 Subject: 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(-) (limited to 'bootstrap') diff --git a/bootstrap/Makefile.am b/bootstrap/Makefile.am index 496d5301a..57b62eb56 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 -- cgit v1.2.1