What is wrong with dtrace's stack()?

Yuri Pankov yuripv at yuripv.net
Tue Oct 23 13:48:26 UTC 2018


Lev Serebryakov wrote:
> On 22.10.2018 23:50, Ryan Stone wrote:
> 
>> Adding -fno-optimize-sibling-calls to the compiler flags will eliminate the TCO.
>  How could I add it for kernel properly?! Adding
> "CFLAGS=-fno-optimize-sibling-calls" to make.conf affects modules build,
> but not kernel itself (I'm surprised, to be honest).

Try using:

COPTFLAGS+=     -fno-optimize-sibling-calls


More information about the freebsd-hackers mailing list