php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #51576 compile failure on zend_float.c
Submitted: 2010-04-16 21:39 UTC Modified: 2017-01-08 04:22 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:4 of 4 (100.0%)
Same Version:0 (0.0%)
Same OS:3 (75.0%)
From: i2r at pacbell dot net Assigned: cseiler (profile)
Status: No Feedback Package: Compile Failure
PHP Version: 5.3.2 OS: AIX 5.3
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2010-04-16 21:39 UTC] i2r at pacbell dot net
Description:
------------
Compiler  IBM visual age ver 6
".../php-5.3.2/Zend/zend_float.c", line 33.9: 1506-579 (W) The __asm directive is ignored.
".../php-5.3.2/Zend/zend_float.c", line 34.9: 1506-579 (W) The __asm directive is ignored.
".../php-5.3.2/Zend/zend_float.c", line 44.10: 1506-276 (S) Syntax error: possible missing 'while'?
".../php-5.3.2/Zend/zend_float.c", line 48.17: 1506-579 (W) The __asm directive is ignored.
".../php-5.3.2/Zend/zend_float.c", line 51.9: 1506-276 (S) Syntax error: possible missing 'while'?
".../php-5.3.2/Zend/zend_float.c", line 55.1: 1506-276 (S) Syntax error: possible missing 'while'?
".../php-5.3.2/Zend/zend_float.c", line 62.9: 1506-579 (W) The __asm directive is ignored.
".../php-5.3.2/Zend/zend_float.c", line 64.10: 1506-204 (S) Unexpected end of file.
make: *** [Zend/zend_float.lo] Error 1


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-04-16 23:02 UTC] i2r at pacbell dot net
version of zend_float.c

/* $Id: zend_float.c 293155 2010-01-05 20:46:53Z sebastian $ */
 [2010-04-22 02:14 UTC] kalle@php.net
-Assigned To: +Assigned To: cseiler
 [2010-04-22 02:14 UTC] kalle@php.net
Christian, here is some feedback for the rounding patch ;-)
 [2010-04-22 20:03 UTC] cseiler@php.net
-Status: Assigned +Status: Feedback
 [2010-04-22 20:03 UTC] cseiler@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Since I don't have Visual Age myself, I'd appreciate it if you could provide the following pieces of information:

* On which operating system are you using Visual Age?
* Which steps did you take to compile PHP? configure & make? If so, with which configure options?
 [2010-04-23 23:10 UTC] 12r at pacbell dot net
OS AIX 5.3

build procedure  configure & make

./configure --with-oci8=/usr/local/opt/oracle/product/oraclient\
 --with-config-file-path=/xxx/xxx_apache_2_2_15_bundle/tools/conf\
 --with-apxs2=/xxx/xxx_apache_2_2_15_bundle/apache2/bin/apxs\
 --without-mysql\
 --enable-sockets\
 --prefix=/xxx/xxx_apache_2_2_15_bundle/tools\
 --enable-sigchild
 [2010-08-09 01:25 UTC] felipe@php.net
-Status: Feedback +Status: Assigned
 [2011-01-04 11:35 UTC] sebastian dot voort at metrosystems dot net
same here:
Compiler: VisualAge C++ Professional / C for AIX Compiler, Version 6
Make: GNU Make 3.80
PHP: 5.3.4
OS: AIX 5300-08-02-0822
Apache: Server version: IBM_HTTP_Server/2.0.47.1 Apache/2.0.47
/* $Id: zend_float.c 293155 2010-01-05 20:46:53Z sebastian $ */

"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 33.9: 1506-579 (W) The __asm directive is ignored.
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 34.9: 1506-579 (W) The __asm directive is ignored.
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 44.10: 1506-276 (S) Syntax error: possible missing 'while'?
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 48.17: 1506-579 (W) The __asm directive is ignored.
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 51.9: 1506-276 (S) Syntax error: possible missing 'while'?
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 55.1: 1506-276 (S) Syntax error: possible missing 'while'?
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 62.9: 1506-579 (W) The __asm directive is ignored.
"/h000/oracle/www/SOURCES/php-5.3.4/Zend/zend_float.c", line 64.10: 1506-204 (S) Unexpected end of file.
make: *** [Zend/zend_float.lo] Error 1

Configure:
configure --with-apxs2=/usr/IBMIHS/bin/apxs --prefix=/usr/PHP --with-oci8=/h000/oracle/product/11.1.0 --without-mysql --without-pear --with-zlib --with-gd --with-ttf --enable-gd-native-ttf --with-freetype-dir=/opt/freeware/ --enable-sigchild --enable-libxml --with-jpeg-dir=/opt/freeware --with-png-dir=/opt/freeware
 [2012-02-23 19:00 UTC] phil dot nyc at gmail dot com
I'm receiving the same issue with 5.3.10:

/bin/sh /home/lawadm/php/php-5.3.10/libtool --silent --preserve-dup-deps --mode=
compile cc  -IZend/ -I/home/lawadm/php/php-5.3.10/Zend/ -DPHP_ATOM_INC -I/home/l
awadm/php/php-5.3.10/include -I/home/lawadm/php/php-5.3.10/main -I/home/lawadm/p
hp/php-5.3.10 -I/home/lawadm/php/php-5.3.10/ext/date/lib -I/home/lawadm/php/php-
5.3.10/ext/ereg/regex -I/usr/local/include/libxml2 -I/home/lawadm/php/php-5.3.10
/ext/sqlite3/libsqlite -I/home/lawadm/php/php-5.3.10/TSRM -I/home/lawadm/php/php
-5.3.10/Zend  -D_THREAD_SAFE  -I/usr/include -g -DZTS   -c /home/lawadm/php/php-
5.3.10/Zend/zend_float.c -o Zend/zend_float.lo
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 33.9: 1506-579 (W) The __a
sm directive is ignored.
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 34.9: 1506-579 (W) The __a
sm directive is ignored.
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 44.10: 1506-276 (S) Syntax
 error: possible missing 'while'?
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 48.17: 1506-579 (W) The __
asm directive is ignored.
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 51.9: 1506-276 (S) Syntax
error: possible missing 'while'?
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 55.1: 1506-276 (S) Syntax
error: possible missing 'while'?
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 62.9: 1506-579 (W) The __a
sm directive is ignored.
"/home/lawadm/php/php-5.3.10/Zend/zend_float.c", line 64.10: 1506-204 (S) Unexpe
cted end of file.
make: *** [Zend/zend_float.lo] Error 1
/home/lawadm/php/php-5.3.10>
 [2016-12-28 15:02 UTC] cmb@php.net
-Status: Assigned +Status: Feedback
 [2016-12-28 15:02 UTC] cmb@php.net
Is that still an issue with current PHP versions?
 [2017-01-08 04:22 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 "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 03:01:27 2024 UTC