[Git][cmucl/cmucl][master] 2 commits: Fix #68: Use -O1 when compiling with gcc now

Raymond Toy gitlab at common-lisp.net
Wed Apr 17 02:36:58 UTC 2019



Raymond Toy pushed to branch master at cmucl / cmucl


Commits:
9bd292bd by Raymond Toy at 2019-04-17T02:17:32Z
Fix #68: Use -O1 when compiling with gcc now

As reported gcc 8.1.1 can't produce a working lisp.  gcc 8.3.1 also
fails.  But as reported on cmucl-imp, 2019-04-08, by Juan Pablo Hierro
Alverez, -O1 works.

Use -O1.

- - - - -
2776c40d by Raymond Toy at 2019-04-17T02:36:50Z
Merge branch 'issue-68-use-gcc-o1' into 'master'

Fix #68: Use -O1 when compiling with gcc now

Closes #68

See merge request cmucl/cmucl!45
- - - - -


1 changed file:

- src/lisp/Config.x86_common


Changes:

=====================================
src/lisp/Config.x86_common
=====================================
@@ -44,7 +44,10 @@ endif
 
 CPPFLAGS := $(CPP_DEFINE_OPTIONS) $(CPP_INCLUDE_OPTIONS) 
 CFLAGS += -Wstrict-prototypes -Wall -g -fno-omit-frame-pointer
-CFLAGS += -O2
+
+# gcc 8.1.1 and 8.3.1 (and probably anything after 8.1.1?) won't
+# produce a working lisp with -O2.  Just use -O1.
+CFLAGS += -O1
 ASFLAGS = -g 
 
 ASSEM_SRC = x86-assem.S



View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/04c1bee3840ecbbd8a35cc7e086513f79f0b1ce4...2776c40d4ee72d11b3ed077a433ff0eb55d8a0b0

-- 
View it on GitLab: https://gitlab.common-lisp.net/cmucl/cmucl/compare/04c1bee3840ecbbd8a35cc7e086513f79f0b1ce4...2776c40d4ee72d11b3ed077a433ff0eb55d8a0b0
You're receiving this email because of your account on gitlab.common-lisp.net.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/cmucl-cvs/attachments/20190417/62965466/attachment.html>


More information about the cmucl-cvs mailing list