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

Página superior
Eliminar este mensaje
Autor: Lawrence Velázquez
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 #12 from Lawrence Velázquez <larryv@???> 2013-02-01 06:05:31 ---
(In reply to comment #11)
> I suspect misaligned_stack_error_ appears only in some kind of debug mode.
> Could you disassemble the library with otool and check whether do_searchovector
> calls this method? It should be somewhere at the beginning of the function.
>
> Search for do_searchovector and misaligned_stack_error_ should be called in the
> first 20-30 lines of the function body.
>


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.

% svn --non-interactive checkout svn://vcs.exim.org/pcre/code/trunk pcre-8.33
&&
> cd pcre-8.33 &&
> ./autogen.sh &&
> env CPATH='/opt/local/include' CFLAGS='-pipe -O2 -arch i386' CPPFLAGS='-I/opt/local/include' CXXFLAGS='-pipe -O2 -arch i386' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' CXX='/usr/bin/clang++' F90FLAGS='-pipe -O2 -m32' LDFLAGS='-L/opt/local/lib -arch i386' OBJC='/usr/bin/clang' FCFLAGS='-pipe -O2 -m32' INSTALL='/usr/bin/install -c' OBJCFLAGS='-pipe -O2 -arch i386' FFLAGS='-pipe -O2 -m32' CC='/usr/bin/clang' ./configure --enable-pcre16 --enable-pcre32 --enable-jit --enable-unicode-properties --enable-pcregrep-libz --enable-pcregrep-libbz2 --enable-pcretest-libedit &&
> env CPATH='/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.8' /usr/bin/make -j2 -w all


% otool -tV .libs/libpcre.1.dylib


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