php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41797 Build failure on parse_date.lo
Submitted: 2007-06-25 09:33 UTC Modified: 2007-07-03 01:00 UTC
Votes:6
Avg. Score:4.2 ± 0.7
Reproduced:6 of 6 (100.0%)
Same Version:1 (16.7%)
Same OS:0 (0.0%)
From: jbg at webstep dot no Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.2.3 OS: SLES 9
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jbg at webstep dot no
New email:
PHP Version: OS:

 

 [2007-06-25 09:33 UTC] jbg at webstep dot no
Description:
------------
/bin/sh /tmp/build/php-5.2.3/libtool --silent --preserve-dup-deps --mode=compile
 gcc -Iext/date/lib -Iext/date/ -I/tmp/build/php-5.2.3/ext/date/ -DPHP_ATOM_INC 
-I/tmp/build/php-5.2.3/include -I/tmp/build/php-5.2.3/main -I/tmp/build/php-5.2.
3 -I/opt/libxml2/include/libxml2 -I/tmp/build/php-5.2.3/ext/date/lib -I/include 
-I/usr/include/imap -I/usr/include/mysql -I/oracle8/rdbms/public -I/oracle8/rdbm
s/demo -I/tmp/build/php-5.2.3/TSRM -I/tmp/build/php-5.2.3/Zend    -I/usr/include
 -g -O2  -prefer-non-pic -c /tmp/build/php-5.2.3/ext/date/lib/parse_date.c -o ex
t/date/lib/parse_date.lo 
make: *** [ext/date/lib/parse_date.lo] Error 1

bgnl2:/tmp/build/php-5.2.3 # gcc -v
Reading specs from /usr/lib/gcc-lib/i586-suse-linux/3.3.3/specs
Configured with: ../configure --enable-threads=posix --prefix=/usr --with-local-
prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/share/man --enable-lan
guages=c,c++,f77,objc,java,ada --disable-checking --libdir=/usr/lib --enable-lib
gcj --with-gxx-include-dir=/usr/include/g++ --with-slibdir=/lib --with-system-zl
ib --enable-shared --enable-__cxa_atexit i586-suse-linux
Thread model: posix
gcc version 3.3.3 (SuSE Linux)

# cat /etc/issue|grep -i suse
Welcome to SUSE LINUX Enterprise Server 9 (i586) - Kernel \r (\l).

Reproduce code:
---------------
Rather long configure statement:

'./configure' '--prefix=/opt/php5' '--with-apxs2=/opt/apache2/bin/apxs' '--with-config-file-path=/www/conf' '--disable-ipv6' '--with-openssl' '--with-zlib' '--with-gd' '--with-ttf' '--with-gettext' '--with-imap' '--with-imap-ssl' '--with-ldap' '--with-mysql' '--with-mysql-sock' '--with-oci8=/oracle8' '--with-pdo-oci=/oracle8' '--enable-soap' '--without-sqlite' '--with-pear=/opt/pear' '--with-libxml-dir=/opt/libxml2'

Expected result:
----------------
Build completion. Used same configure on 5.2.0 where `make` stage completes successfully.

Actual result:
--------------
Build failure:

/bin/sh /tmp/build/php-5.2.3/libtool --silent --preserve-dup-deps --mode=compile
 gcc -Iext/date/lib -Iext/date/ -I/tmp/build/php-5.2.3/ext/date/ -DPHP_ATOM_INC 
-I/tmp/build/php-5.2.3/include -I/tmp/build/php-5.2.3/main -I/tmp/build/php-5.2.
3 -I/opt/libxml2/include/libxml2 -I/tmp/build/php-5.2.3/ext/date/lib -I/include 
-I/usr/include/imap -I/usr/include/mysql -I/oracle8/rdbms/public -I/oracle8/rdbm
s/demo -I/tmp/build/php-5.2.3/TSRM -I/tmp/build/php-5.2.3/Zend    -I/usr/include
 -g -O2  -prefer-non-pic -c /tmp/build/php-5.2.3/ext/date/lib/parse_date.c -o ex
t/date/lib/parse_date.lo 
make: *** [ext/date/lib/parse_date.lo] Error 1


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-06-25 16:10 UTC] sniper@php.net
Just to rule out all other issues here, try using this configure line:

# rm config.cache ; ./configure --disable-all --disable-cgi
# make clean
# make

 [2007-06-25 16:30 UTC] sniper@php.net
You could also try passing configure the --disable-inline-optimization option. (see ./configure --help for more info about it)

 [2007-07-03 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 28 13:01:27 2024 UTC