[pcre-dev] [Bug 1642] Tests fail due to stack space being li…

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Asunto: [pcre-dev] [Bug 1642] Tests fail due to stack space being limited to 16 M
https://bugs.exim.org/show_bug.cgi?id=1642

--- Comment #7 from Zoltan Herczeg <hzmester@???> ---
> That is 3432 (3424 + 1*8) bytes per frame. A wee bit more, I'd say.


Actually +2*8 because the return address is also stored on the stack. Anyway,
that is huge. Too huge. I just realized that my pcre2 is compiled with -O0.
With -O3, the stack is only 416 bytes (only half of the previous value). I
don't think clang is that worse compared to GCC. Perhaps the binary contains
some debug stuff? Address sanitizer or some aggressive inlining? Could you try
to compile it with different compiler optimizations? Adding __attribute__
((noinline)) before match() in pcre2_match.c?

--
You are receiving this mail because:
You are on the CC list for the bug.