mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-26 12:04:52 +01:00
Fix
This commit is contained in:
parent
a2028bea5f
commit
e36f720ea3
@ -28,7 +28,8 @@ RUN true \
|
||||
pkg-config autoconf bison re2c \
|
||||
libxml2-dev libsqlite3-dev \
|
||||
systemtap-sdt-dev libssl-dev \
|
||||
libpcre2-dev libargon2-dev libedit-dev libsodium-dev llvm-16 libonig-dev
|
||||
libpcre2-dev libargon2-dev libedit-dev libsodium-dev llvm-16 libonig-dev \
|
||||
gdb libcapstone-dev
|
||||
|
||||
RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \
|
||||
\
|
||||
@ -46,6 +47,7 @@ RUN git clone https://github.com/php/php-src -b master --depth 1 && cd php-src \
|
||||
--with-password-argon2=/usr --with-external-pcre --with-mhash=/usr --with-libxml \
|
||||
--enable-session --with-sodium --with-zlib=/usr --with-zlib-dir=/usr \
|
||||
--enable-pcntl --with-libedit=shared,/usr \
|
||||
--with-capstone \
|
||||
\
|
||||
&& export CFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
||||
&& export CPPFLAGS='-g -fsanitize=address -shared-libasan -fno-sanitize-recover -DZEND_TRACK_ARENA_ALLOC' \
|
||||
@ -64,6 +66,6 @@ RUN git config --global --add safe.directory /app
|
||||
|
||||
ENV USE_ZEND_ALLOC=0
|
||||
ENV PSALM_ALLOW_XDEBUG=1
|
||||
ENV ASAN_OPTIONS="detect_leaks=0:exitcode=139"
|
||||
ENV ASAN_OPTIONS="detect_leaks=0:exitcode=139:abort_on_error=true"
|
||||
|
||||
WORKDIR /app
|
||||
|
Loading…
Reference in New Issue
Block a user