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/04c1bee3840ecbbd8a35cc7e0...