Edit report at https://bugs.php.net/bug.php?id=60044&edit=1
ID: 60044
Comment by: sanjay dot d dot patil at oracle dot com
Reported by: sanjay dot d dot patil at oracle dot com
Summary: make is failing for date/lib/parse_tz.lo
Status: Feedback
Type: Feature/Change Request
Package: Compile Failure
Operating System: AIX 6.1
PHP Version: 5.3.8
Block user comment: N
Private report: N
New Comment:
Thanks,
I followed your instructions i.e. Try disabling optimisation (-O0) instead of
(-O2) while compiling. It worked for that file (parse_tz.lo).
However I am encountering error for below file as
make: *** [ext/phar/phar.php] Error 255
--detail error encountered as below:--
Generating phar.php
exec(): 0509-036 Cannot load program
/export/opt/quikremit/pqapp/php/php-5.3.8/sapi/cli/php because of the following
errors:
rtld: 0712-001 Symbol htmlDocDumpMemoryFormat was referenced
from module php(), but a runtime definition
of the symbol was not found.
rtld: 0712-001 Symbol xmlTextReaderSetup was referenced
from module php(), but a runtime definition
of the symbol was not found.
make: *** [ext/phar/phar.php] Error 255
Previous Comments:
------------------------------------------------------------------------
[2011-10-12 11:14:31] [email protected]
This .s file is generated by your compiler. Perhaps it can't deal with so many
states in a file? Try disabling optimisation (-O0) instead of (-O2) while
compiling (you can just change that in the Makefile for the parze_tz file only.
------------------------------------------------------------------------
[2011-10-12 11:04:21] sanjay dot d dot patil at oracle dot com
Description:
------------
configurung with this command line parameters:
./configure --prefix=/usr/local
--with-apxs2=/export/opt/quikremit/apache2/bin/apxs
--with-config-file-path=/export/opt/quikremit/apache2/conf --with-gd
--with-zlib-dir=/opt/freeware/lib --enable-shared --disable-static --with-png
--with-zlib --with-bz2 --with-xml --with-jpeg-dir=/opt/freeware/lib
--with-png-dir=/opt/freeware/lib --with-xpm-dir=/opt/freeware/lib
--host=powerpc-ibm-aix6.1.0.0
after this i am running
make
But it is failing with below error code:
Assembler:
/tmp//ccksvqSL.s: line 1541: 1252-040 The specified expression is not valid.
Make sure that all symbols are defined.
Check the rules on symbols used in an arithmetic expression
concerning relocation.
make: *** [ext/date/lib/parse_tz.lo] Error 1
Test script:
---------------
make is failing on below code:
/bin/sh /export/opt/quikremit/pqapp/php/php-5.3.8/libtool --silent
--preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/
-I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/ -DPHP_ATOM_INC
-I/export/opt/quikremit/pqapp/php/php-5.3.8/include
-I/export/opt/quikremit/pqapp/php/php-5.3.8/main
-I/export/opt/quikremit/pqapp/php/php-5.3.8
-I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/lib
-I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/ereg/regex
-I/usr/local/include/libxml2
-I/export/opt/quikremit/pqapp/php/php-5.3.8/ext/sqlite3/libsqlite
-I/export/opt/quikremit/pqapp/php/php-5.3.8/TSRM
-I/export/opt/quikremit/pqapp/php/php-5.3.8/Zend -I/usr/include -g -O2
-fvisibility=hidden -c
/export/opt/quikremit/pqapp/php/php-5.3.8/ext/date/lib/parse_tz.c -o
ext/date/lib/parse_tz.lo
Expected result:
----------------
make should be successful with no errors
Actual result:
--------------
Assembler:
/tmp//ccf46yBi.s: line 1541: 1252-040 The specified expression is not valid.
Make sure that all symbols are defined.
Check the rules on symbols used in an arithmetic expression
concerning relocation.
make: *** [ext/date/lib/parse_tz.lo] Error 1
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60044&edit=1