ID: 16583
Updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
Status: Open
Bug Type: Apache2 related
Operating System: PLD Linux
PHP Version: 4.2.0RC4
New Comment:
%configure \
--with-apxs2=%{_sbindir}/apxs` \
--with-config-file-path=%{_sysconfdir} \
--with-exec-dir=%{_bindir} \
--enable-bcmath=shared \
--enable-calendar=shared \
--enable-dba=shared \
--enable-exif=shared \
--enable-ftp=shared \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-posix=shared \
--enable-session \
--enable-shared \
--enable-shmop=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-track-vars \
--enable-trans-sid \
--enable-safe-mode \
--enable-sockets=shared \
--enable-yp=shared \
--enable-ucd-snmp-hack \
--enable-xml=shared \
--with-expat-dir=/usr \
--with-bz2=shared \
--with-ctype=shared \
--with-curl=shared \
--without-db2 \
--with-db3 \
--with-dbase=shared \
--with-iconv=shared \
--with-dom=shared \
--with-dom-xslt=shared \
--with-filepro=shared \
--with-freetype-dir=shared \
--with-gettext=shared \
--with-gd=shared \
--with-gdbm \
--with-gmp=shared \
--with-hyperwave \
--with-imap=shared --with-imap-ssl \
--with-jpeg-dir=%{_includedir} \
--with-ldap=shared \
--with-mcrypt=shared \
--with-mysql=shared,%{_prefix} \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mhash=shared \
--with-ming=shared \
--without-mm \
--with-openssl \
--with-pear=%{peardir} \
--with-pcre-regex=shared \
--with-pdflib=shared \
--with-pgsql=shared,%{_prefix} \
--with-png-dir=%{_includedir} \
--without-recode=shared \
--with-regex=php \
--with-sablot=/usr/lib \
--with-snmp=shared \
--with-t1lib=shared \
--with-unixODBC=shared \
--with-zlib=shared \
--with-zlib-dir=shared \
--without-xmlrpc \
--disable-cli
whole spec file is here:
http://cvs.pld.org.pl/SPECS/php.spec?rev=1.120.2.17
src.rpm is here:
ftp://ftp.pld.org.pl/dists/nest/test/SRPMS/php-4.2.0RC4-1.src.rpm
while building I was using rpm --debug, so in such case
rpm sets CFLAGS="-g -O0"
buildlog is here:
ftp://buildlogs.pld.org.pl/nest/i686/OK/_r_DEVEL_php.bz2
(the only difference between this buildlog and mine is that I was
compiling with CFLAGS="-g -O0)
Previous Comments:
------------------------------------------------------------------------
[2002-04-19 12:08:16] [EMAIL PROTECTED]
%configure \
--with-apxs2=%{_sbindir}/apxs` \
%else
`[ $i = apxs ] && echo --with-apxs=%{_sbindir}/apxs` \
%endif
--with-config-file-path=%{_sysconfdir} \
--with-exec-dir=%{_bindir} \
--%{!?debug:dis}%{?debug:en}able-debug \
--enable-bcmath=shared \
--enable-calendar=shared \
--enable-dba=shared \
--enable-exif=shared \
--enable-ftp=shared \
--enable-gd-native-ttf \
--enable-magic-quotes \
--enable-posix=shared \
--enable-session \
--enable-shared \
--enable-shmop=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-track-vars \
--enable-trans-sid \
--enable-safe-mode \
--enable-sockets=shared \
--enable-yp=shared \
--enable-ucd-snmp-hack \
--enable-xml=shared \
--with-expat-dir=/usr \
%{?_with_xslt:--enable-xslt=shared} \
--with-bz2=shared \
%{?_with_libcpdf:--with-cpdflib=shared} \
--with-ctype=shared \
--with-curl=shared \
--without-db2 \
--with-db3 \
--with-dbase=shared \
--with-iconv=shared \
--with-dom=shared \
--with-dom-xslt=shared \
--with-filepro=shared \
--with-freetype-dir=shared \
--with-gettext=shared \
--with-gd=shared \
--with-gdbm \
--with-gmp=shared \
--with-hyperwave \
%{!?_without_imap:--with-imap=shared --with-imap-ssl} \
%{?_with_java:--with-java} \
--with-jpeg-dir=%{_includedir} \
%{!?_without_ldap:--with-ldap=shared} \
--with-mcrypt=shared \
--with-mysql=shared,%{_prefix} \
--with-mysql-sock=/var/lib/mysql/mysql.sock \
--with-mhash=shared \
--with-ming=shared \
%{!?_without_mm:--with-mm} \
%{!?_without_openssl:--with-openssl} \
%{?_with_oracle:--with-oracle=shared} \
%{?_with_oci8:--with-oci8=shared} \
--with-pear=%{peardir} \
--with-pcre-regex=shared \
--with-pdflib=shared \
--with-pgsql=shared,%{_prefix} \
--with-png-dir=%{_includedir} \
%{!?_without_recode:--with-recode=shared} \
--with-regex=php \
%{!?_without_sablot:--with-sablot=/usr/lib} \
%{!?_without_snmp:--with-snmp=shared} \
--with-t1lib=shared \
%{!?_without_odbc:--with-unixODBC=shared} \
%{?_with_wddx:--enable-wddx=shared} \
--with-zlib=shared \
--with-zlib-dir=shared \
--without-xmlrpc \
%{?_with_xslt:--with-xslt-sablot=shared} \
--disable-cli
whole spec file is here:
http://cvs.pld.org.pl/SPECS/php.spec?rev=1.120.2.17
src.rpm is here:
ftp://ftp.pld.org.pl:/dists/nest/test/SRPMS/php-4.2.0RC4-1.src.rpm
while building I was using rpm --debug, so in such case
CFLAGS="-g -O0"
buildlog is here:
ftp://buildlogs.pld.org.pl/nest/i686/OK/_r_DEVEL_php.bz2
(the only difference between this buildlog and mine is that I was
compiling with CFLAGS="-g -O0)
I'll setup test enviroment if you want to debug it remotely over ssh.
------------------------------------------------------------------------
[2002-04-19 11:49:54] [EMAIL PROTECTED]
Try disabling compiler optimizations:
CFLAGS="-Wall -g" ./configure ...
Please report back all of the configure options
you passed to both apache and php.
FWIW, I'm using RH72 w/ gcc 2.96, glibc 2.2.4
and linux 2.4.9 and I don't see this.
------------------------------------------------------------------------
[2002-04-19 11:31:03] [EMAIL PROTECTED]
I was using gcc version 3.1 20020408 (prerelease)
but adasi@grubno was using gcc version 2.95.4 20010319 (prerelease).
------------------------------------------------------------------------
[2002-04-19 11:16:35] [EMAIL PROTECTED]
Hmmm.. you all have gcc3. Have any of you been able to
reproduce this with gcc2.95?
------------------------------------------------------------------------
[2002-04-17 17:30:42] [EMAIL PROTECTED]
Also not working. Ugly workaround with thread_resources = NULL; works
but that's not the way. Backtrace does not give anything because it's
pretty random, it hardly depends on system status while tracing.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16583
--
Edit this bug report at http://bugs.php.net/?id=16583&edit=1