diff options
author | Richard Lowe <richlowe@richlowe.net> | 2011-06-15 06:05:12 +0100 |
---|---|---|
committer | Richard Lowe <richlowe@richlowe.net> | 2011-06-29 19:54:37 -0400 |
commit | 265c21236339f17f0d2a86ea2b54ea9a49f25938 (patch) | |
tree | f7b588fea48d44bf1830548a0377d9c373eb9db2 /usr/src/tools/ctf/common/utils.h | |
parent | d0c7cfe4e2959a726b487d9cfb280fecded46b86 (diff) | |
download | illumos-joyent-265c21236339f17f0d2a86ea2b54ea9a49f25938.tar.gz |
Makefile.master: Prevent more GCC auto-inlining
In the same spirit as cw(1) passing -fno-inline-functions, we also need
to pass -fno-inline-small-functions and
-fno-inline-functions-called-once to newer GCC to prevent functions
which it deems to be "small enough", or functions only called once being
automatically inlined at most optimization levels.
(Un)fortunately the use of -fno-inline-small-functions bandaids a
problem during boot on amd64 where kcf`rndbytes_cnt would underflow, and
leave us scribbling over much of kernel memory eventually panicking most
often in clock() with cpu_list being garbage.
Diffstat (limited to 'usr/src/tools/ctf/common/utils.h')
0 files changed, 0 insertions, 0 deletions