What is wrong with dtrace's stack()?

Lev Serebryakov lev at FreeBSD.org
Tue Oct 23 13:50:13 UTC 2018


On 23.10.2018 16:48, Yuri Pankov 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
  Yep, thnx

  I should better read documentation.

-- 
// Lev Serebryakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 963 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20181023/32eaeb59/attachment.sig>


More information about the freebsd-hackers mailing list