HomeFreeBSD

Allow building with `CFLAGS="-O0"`

Description

Allow building with CFLAGS="-O0"

If compiled with -O0, gcc doesn't do any stack frame coalescing
and -Wframe-larger-than=1024 is triggered in debug mode.
Starting with gcc 4.8, new opt level -Og is introduced for debugging, which
does not trigger this warning.

Fix bench zio size, using SPA_OLD_MAXBLOCKSHIFT

Signed-off-by: Gvozden Neskovic <neskovic@gmail.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #4799

Details

Provenance
Gvozden Neskovic <neskovic@gmail.com>Authored on Jun 29 2016, 8:31 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jul 11 2016, 11:53 PM
Parents
rG5c27b2960553: Merge branch 'illumos-2605'
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG590c9a099469: Allow building with `CFLAGS="-O0"` (authored by Gvozden Neskovic <neskovic@gmail.com>).Jul 11 2016, 11:53 PM