-O2 asm
0x00007ffff711ddcc <+44>: xor %eax,%eax
=> 0x00007ffff711ddce <+46>: callq 0x7ffff7118f80 <host_to_lendian32@plt>
-O0 asm
0x00007ffff71148ea <+0>: 55 push %rbp
0x00007ffff71148eb <+1>: 48 89 e5 mov %rsp,%rbp
0x00007ffff71148ee <+4>: 48 81 ec 30 08 02 00 sub $0x20830,%rsp
=> 0x00007ffff71148f5 <+11>: 48 89 bd d8 f7 fd ff mov %rdi,-0x20828(%rbp)
0x00007ffff71148fc <+18>: 48 89 b5 d0 f7 fd ff mov %rsi,-0x20830(%rbp)
nothing wrong looking from asm. 20+ times no segv after set a large stack size, while 3~6 times i met a segv without patches.
common list:
special list(most are patches):
hack it in libc(in ext(), add them in dcngettext.c): https://raw.githubusercontent.com/xhebox/noname/master/ports/musl/Pkgfileit's now implemented in gettext-tiny#2 0x00007ffff7d82a6f in dcngettext (domainname=0x6737a0 "tar", msgid1=0x0, msgid2=0x0, n=1, category=5) at src/locale/dcngettext.c:211check https://github.com/xhebox/libuargp
actually, it follows that, qtox may have a too small stack.