Bug #71427 [Fbk->NoF]: v5.6.# version fails, Sun CC, cannot initialize function: SCNG
| From: | php-bugs at lists dot php dot net | Date: | Sun, 10 Oct 2021 04:22:13 +0000 |
| Subject: | Bug #71427 [Fbk->NoF]: v5.6.# version fails, Sun CC, cannot initialize function: SCNG | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-237119@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=71427&edit=1
ID: 71427
Updated by: php-bugs@lists.php.net
Reported by: Christine dot Ross at healthstream dot com
Summary: v5.6.# version fails, Sun CC, cannot initialize
function: SCNG
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: Sparc Solaris 10
PHP Version: 5.6.17
Assigned To: cmb
Private report: N
New Comment:
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.
Previous Comments:
------------------------------------------------------------------------
[2021-09-28 09:34:59] cmb@php.net
Is this still an issue with any of the actively supported PHP
versions[1]?
[1] <https://www.php.net/supported-versions.php>
------------------------------------------------------------------------
[2016-11-19 15:33:41] rasmus@php.net
Odd. zend_language_scanner.c is a generated file so your local toolchain is generating files with
DOS line-endings?
------------------------------------------------------------------------
[2016-11-18 16:01:58] zhaojz721 at gmail dot com
Looks like this was due to zend_language_scanner.c being in dos format. Using dos2unix on the file
fixed the problem.
------------------------------------------------------------------------
[2016-01-21 18:22:23] Christine dot Ross at healthstream dot com
Description:
------------
No problem building php 5.5.# with same configure script. Build fails with 5.6.#, Sun CC 12.3.
Same results in v5.6.10 and 5.6.17. I tried without enabling opcache but that didn't help.
Lots of white space character errors before it fails on line 70. I saw something about flex and
re2c so I installed re2c, and it didn't help.
Any help would be appreciated.
"Zend/zend_language_scanner.l", line 66: warning: invalid white space character in
directive
"Zend/zend_language_scanner.l", line 67: warning: invalid white space character in
directive
"Zend/zend_language_scanner.l", line 68: warning: invalid white space character in
directive
"Zend/zend_language_scanner.l", line 69: warning: invalid white space character in
directive
"Zend/zend_language_scanner.l", line 70: warning: function prototype parameters must have
types
"Zend/zend_language_scanner.l", line 70: warning: old-style declaration or incorrect type
for: SCNG
"Zend/zend_language_scanner.l", line 70: cannot initialize function: SCNG
"Zend/zend_language_scanner.l", line 70: undefined symbol: x
#!/bin/sh
#
# Configure PHP
#
PATH=/usr/bin:/usr/local/bin:/usr/ccs/bin:/opt/SUNWspro/bin:/usr/sbin:/usr/dt/bin; export PATH
LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib:/usr/local/ssl/lib; export LD_LIBRARY_PATH
LD_RUN_PATH=/usr/local/ssl/lib:/usr/local/lib; export LD_RUN_PATH
#
env CC=cc CXX=CC \
./configure \
--with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=mysqlnd \
--with-pear \
--with-libxml-dir=/usr \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--enable-mbstring \
--with-curl \
--with-gd \
--with-jpeg-dir=/usr/lib \
--enable-soap \
--with-openssl=/usr/local/ssl \
--enable-zip \
--with-iconv=/opt/local \
--enable-opcache
#!/end
#
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71427&edit=1