Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 620532

Summary: dev-lisp/sbcl-1.3.20 - adds -O3 when building C code
Product: Gentoo Linux Reporter: Coacher <itumaykin+gentoo>
Component: Current packagesAssignee: Common Lisp Bugs <common-lisp>
Status: RESOLVED FIXED    
Severity: normal CC: bugs, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 59506    
Attachments: build.log

Description Coacher 2017-06-03 18:27:21 UTC
Created attachment 475120 [details]
build.log

Hello.

As seen in build.log:

+ make -C src/runtime all
make: Entering directory '/var/tmp/portage/dev-lisp/sbcl-1.3.18/work/sbcl-1.3.18/src/runtime'
echo '#include "genesis/config.h"' >sbcl.h
echo '#include "genesis/constants.h"' >>sbcl.h
x86_64-pc-linux-gnu-gcc -O2 -march=native -mfpmath=sse -pipe -frecord-gcc-switches -Wimplicit-function-declaration -g -Wall -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer  -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o alloc.o alloc.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -mfpmath=sse -pipe -frecord-gcc-switches -Wimplicit-function-declaration -g -Wall -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer  -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o backtrace.o backtrace.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -mfpmath=sse -pipe -frecord-gcc-switches -Wimplicit-function-declaration -g -Wall -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer  -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o breakpoint.o breakpoint.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -mfpmath=sse -pipe -frecord-gcc-switches -Wimplicit-function-declaration -g -Wall -Wsign-compare -Wpointer-arith -O3 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fno-omit-frame-pointer  -I. -DSBCL_PREFIX=\"'/usr'\"  -c -o coreparse.o coreparse.c
...
Comment 1 Coacher 2017-06-04 13:04:38 UTC
Not reproducible with 1.3.17.
Comment 2 Chema Alonso Josa (RETIRED) gentoo-dev 2017-07-02 16:23:07 UTC
Continues in version 1.3.19
Comment 3 Chema Alonso Josa (RETIRED) gentoo-dev 2017-08-23 21:08:06 UTC
Thanks for the report.

It should be fixed now in =dev-lisp/sbcl-1.3.20.