php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38696 Compile failure under IRIX 6.5.30 building php_date.c
Submitted: 2006-09-03 08:32 UTC Modified: 2006-09-03 22:50 UTC
From: neko at nekochan dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.0RC3 OS: IRIX 6.5.30
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: neko at nekochan dot net
New email:
PHP Version: OS:

 

 [2006-09-03 08:32 UTC] neko at nekochan dot net
Description:
------------
Able to compile up to and including php-5.1.6 without error 
(and run in a production environment). My attempt to build 
php-5.2.0RC3 dies in php_date.c (an entity with internal 
linkage cannot be referenced within an inline function with 
external linkage).

IRIX64 Mai 6.5 6.5.30f 07202013 IP35
MIPSpro Compilers: Version 7.4.4m

Reproduce code:
---------------
'./configure'
'--prefix=/usr/nekoware/php5'
'--enable-dba'
'--enable-dbx'
'--enable-calendar'
'--enable-wddx'
'--with-config-file-path=/usr/nekoware/etc/php5'
'--with-apxs2=/usr/nekoware/apache2/bin/apxs'
'--enable-cli'
'--with-libxml-dir=/usr/nekoware'
'--with-expat-dir=/usr/nekoware'
'--with-png-dir=/usr/nekoware'
'--with-jpeg-dir=/usr/nekoware'
'--with-freetype-dir=/usr/nekoware'
'--with-zlib-dir=/usr/nekoware'
'--with-zlib'
'--with-curlwrappers'
'--with-curl=shared,/usr/nekoware'
'--with-openssl=shared,/usr/nekoware'
'--with-mysql=shared,/usr/nekoware/mysql5'
'--with-mysqli=shared,/usr/nekoware/mysql5/bin/mysql_config'
'--with-mhash=shared,/usr/nekoware'
'--with-mcrypt=shared,/usr/nekoware'
'--with-bz2=shared,/usr/nekoware'
'--enable-ftp=shared'
'--enable-sockets=shared'
'--with-gd=shared'
'--enable-sqlite-utf8'
'--with-sqlite=shared'
'--enable-exif=shared'
'--enable-dbase=shared'
'--with-xmlrpc'
'--with-gettext=shared,/usr/nekoware'
'--with-iconv-dir=/usr/nekoware'




Expected result:
----------------
Completed build.

Actual result:
--------------
/bin/sh /opt/build/php-5.2.0RC3/libtool --silent --preserve-
dup-deps --mode=compile c99 -Iext/date/lib -Iext/date/ -I/
opt/build/php-5.2.0RC3/ext/date/ -DPHP_ATOM_INC -I/opt/
build/php-5.2.0RC3/include -I/opt/build/php-5.2.0RC3/main -
I/opt/build/php-5.2.0RC3 -I/usr/nekoware/include/libxml2 -I/
usr/nekoware/include -I/opt/build/php-5.2.0RC3/ext/date/lib 
-I/usr/nekoware/include/freetype2 -I/usr/nekoware/mysql5/
include/mysql -I/opt/build/php-5.2.0RC3/TSRM -I/opt/build/
php-5.2.0RC3/Zend  -I/usr/nekoware/include -D_XPG_IV -L/usr/
lib32  -I/usr/include -O3 -mips4 -Wl,-rpath -Wl,/usr/
nekoware/lib -I/usr/nekoware/include -
OPT:Olimit=0:roundoff=3 -TARG:platform=IP35:proc=r14000   -c 
/opt/build/php-5.2.0RC3/ext/date/php_date.c -o ext/date/
php_date.lo

c-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1495
  an entity with internal linkage cannot be referenced 
within an inline function
          with external linkage

        retval.handle = zend_objects_store_put(intern, 
(zend_objects_store_dtor_t)zend_objects_destroy_object, 
(zend_objects_free_object_storage_t) 
date_object_free_storage_date, NULL TSRMLS_CC);
                                                                                                                                                    
^

cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1496
  an entity with internal linkage cannot be referenced 
within an inline function
          with external linkage

        retval.handlers = &date_object_handlers_date;
                           ^

cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1542
  an entity with internal linkage cannot be referenced 
within an inline function
          with external linkage

        retval.handle = zend_objects_store_put(intern, 
(zend_objects_store_dtor_t)zend_objects_destroy_object, 
(zend_objects_free_object_storage_t) 
date_object_free_storage_timezone, NULL TSRMLS_CC);
                                                                                                                                                    
^

cc-3580 c99: ERROR File = /opt/build/php-5.2.0RC3/ext/date/
php_date.c, Line = 1543
  an entity with internal linkage cannot be referenced 
within an inline function
          with external linkage

        retval.handlers = &date_object_handlers_timezone;
                           ^


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-03 09:12 UTC] mike@php.net
Please try a future CVS snap.

Thanks
 [2006-09-03 22:20 UTC] neko at nekochan dot net
The fix worked; I was able to successfully build snapshot 
php5.2-200609032030. Thanks!
 [2006-09-03 22:50 UTC] neko at nekochan dot net
Closing
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Tue Jul 29 15:00:02 2025 UTC