[pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT

Página superior
Eliminar este mensaje
Autor: Zoltan Herczeg
Fecha:  
A: pcre-dev
Temas antiguos: [pcre-dev] [Bug 1223] New: Test failure on 10.7/i386 with JIT
Asunto: [pcre-dev] [Bug 1223] Test failure on 10.7/i386 with JIT
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1223




--- Comment #14 from Zoltan Herczeg <hzmester@???> 2013-02-01 07:51:01 ---
> Hm, I'm not seeing it, but I'm not entirely sure I'm doing it right. Here's
> what I did; I'll attach the otool output.


I think you did it right.

I cannot find any option to force this check here:

http://developer.apple.com/library/Mac/#documentation/Darwin/Reference/ManPages/man1/gcc.1.html

But I read somewhere that if you enter to a system function, it checks the
stack alignment.

Perhaps calling a random() at the start of do_searchovector() could do the
trick. If not I don't really have any idea. But the current implementation is
surely not correct, albeit likely works, because the called function only
requires word alignment.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email