php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #60044 make is failing for date/lib/parse_tz.lo
Submitted: 2011-10-12 11:04 UTC Modified: 2013-02-18 00:35 UTC
Votes:3
Avg. Score:4.3 ± 0.9
Reproduced:3 of 3 (100.0%)
Same Version:1 (33.3%)
Same OS:0 (0.0%)
From: sanjay dot d dot patil at oracle dot com Assigned:
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.8 OS: AIX 6.1
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
17 + 29 = ?
Subscribe to this entry?

 
 [2011-10-12 11:04 UTC] 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

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-10-12 11:14 UTC] derick@php.net
-Status: Open +Status: Feedback
 [2011-10-12 11:14 UTC] derick@php.net
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-13 07:38 UTC] sanjay dot d dot patil at oracle dot com
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
 [2013-02-18 00:35 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Mar 03 23:01:32 2024 UTC