Bug #60342 [NEW]: reentrancy.c error: too few arguments to function
| From: | nam dot nh at nd24 dot net | Date: | Sun, 20 Nov 2011 00:59:28 +0000 |
| Subject: | Bug #60342 [NEW]: reentrancy.c error: too few arguments to function | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-165372@lists.php.net to get a copy of this message | ||
From:
Operating system: OpenIndiana 151a
PHP version: 5.3SVN-2011-11-19 (snap)
Package: Compile Failure
Bug Type: Bug
Bug description:reentrancy.c error: too few arguments to function
Description:
------------
reentrancy.c error: too few arguments to function 'ctime_r' and
'asctime_r'
This error affected on both PHP 5.3.8 stable version and PHP 5.3 snapshot
version.
Test script:
---------------
# ./configure --prefix=/usr/php --enable-fastcgi --enable-fmp --with-mcrypt
--with-zlib --enable-mbstring --disable-pdo --with-curl-disable-debug
--enable-pic disable-rpatch --enable-inline-optimization --with-bz2
--with-xml --enable-sockets --enable-mbregex --with-mhash --enable-xslt
--enable-memcache --enable-zip --with-pcre
Expected result:
----------------
successful
Actual result:
--------------
# make
...
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC
-I/tmp/php5.3-201111191730/include -I/tmp/php5.3-201111191730/main
-I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl
-I/tmp/php5.3-201111191730/TSRM -I/tmp/php5.3-201111191730/Zend
-I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/strlcat.c -o main/strlcat.lo
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC
-I/tmp/php5.3-201111191730/include -I/tmp/php5.3-201111191730/main
-I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl
-I/tmp/php5.3-201111191730/TSRM -I/tmp/php5.3-201111191730/Zend
-I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/mergesort.c -o main/mergesort.lo
/bin/sh /tmp/php5.3-201111191730/libtool --silent --preserve-dup-deps
--mode=compile gcc -Imain/ -I/tmp/php5.3-201111191730/main/ -DPHP_ATOM_INC
-I/tmp/php5.3-201111191730/include -I/tmp/php5.3-201111191730/main
-I/tmp/php5.3-201111191730 -I/tmp/php5.3-201111191730/ext/date/lib
-I/tmp/php5.3-201111191730/ext/ereg/regex -I/usr/include/libxml2
-I/tmp/php5.3-201111191730/ext/mbstring/oniguruma
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl
-I/tmp/php5.3-201111191730/ext/mbstring/libmbfl/mbfl
-I/tmp/php5.3-201111191730/TSRM -I/tmp/php5.3-201111191730/Zend
-I/usr/include -g -O2 -fvisibility=hidden -c
/tmp/php5.3-201111191730/main/reentrancy.c -o main/reentrancy.lo
/tmp/php5.3-201111191730/main/reentrancy.c: In function 'php_ctime_r':
/tmp/php5.3-201111191730/main/reentrancy.c:63:2: error: too few arguments
to function 'ctime_r'
/usr/include/time.h:320:14: note: declared here
/tmp/php5.3-201111191730/main/reentrancy.c: In function 'php_asctime_r':
/tmp/php5.3-201111191730/main/reentrancy.c:70:2: error: too few arguments
to function 'asctime_r'
/usr/include/time.h:319:14: note: declared here
*** Error code 1
make: Fatal error: Command failed for target `main/reentrancy.lo'
--
Edit bug report at https://bugs.php.net/bug.php?id=60342&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60342&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60342&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60342&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=60342&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60342&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=60342&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=60342&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=60342&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=60342&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=60342&r=support
Expected behavior: https://bugs.php.net/fix.php?id=60342&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=60342&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=60342&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=60342&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60342&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=60342&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=60342&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=60342&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=60342&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=60342&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=60342&r=mysqlcfg