Edit report at https://bugs.php.net/bug.php?id=65077&edit=1
ID: 65077
Updated by: php-bugs@lists.php.net
Reported by: ichii386 at schweetheart dot jp
Summary: Sun CC don't accept ``-Wno-write-strings''
-Status: Feedback
+Status: No Feedback
Type: Bug
Package: Compile Failure
Operating System: Solaris
PHP Version: Irrelevant
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:
------------------------------------------------------------------------
[2016-07-01 20:40:15] cmb@php.net
Does that issue still persist with recent versions of PHP? Note
that the intl extension is bundled as of PHP 5.3.0.
------------------------------------------------------------------------
[2013-06-20 23:18:35] ichii386 at schweetheart dot jp
Description:
------------
Sun CC (Oracle Solaris Studio 12) don't accept -Wno-write-strings:
> cc: -W option with unknown program no-write-strings
Test script:
---------------
See ``Actual result''.
Expected result:
----------------
would be successfully built.
Actual result:
--------------
% uname -a
SunOS bigbird 5.11 11.1 i86pc i386 i86pc Solaris
% /opt/solstudio/bin/cc -V
cc: Sun C 5.12 SunOS_i386 2011/11/16
% /opt/solstudio/bin/CC -V
CC: Sun C++ 5.12 SunOS_i386 2011/11/16
% sudo pkg install web/php-53 developer/icu
(snip)
% sudo CC=/opt/solstudio/bin/cc CXX=/opt/solstudio/bin/CC pecl install intl
downloading intl-3.0.0.tgz ...
Starting to download intl-3.0.0.tgz (248,200 bytes)
....................................................done: 248,200 bytes
150 source files, building
WARNING: php_bin /usr/php/5.3/bin/php appears to have a suffix /5.3/bin/php, but
config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Specify where ICU libraries and headers can be found [DEFAULT] :
building in /tmp/pear/temp/pear-build-rootEUa4em/intl-3.0.0
running: /tmp/pear/temp/intl/configure --with-icu-dir=DEFAULT
(snip)
/opt/solstudio/bin/CC -I/usr/include -Wno-write-strings -I. -I/tmp/pear/temp/intl
-DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootEUa4em/intl-3.0.0/include -
I/tmp/pear/temp/pear-build-rootEUa4em/intl-3.0.0/main -I/tmp/pear/temp/intl -
I/usr/php/5.3/include/php -I/usr/php/5.3/include/php/main -
I/usr/php/5.3/include/php/TSRM -I/usr/php/5.3/include/php/Zend -
I/usr/php/5.3/include/php/ext -I/usr/php/5.3/include/php/ext/date/lib -
DHAVE_CONFIG_H -g -c /tmp/pear/temp/intl/intl_convertcpp.cpp -KPIC -DPIC -o
.libs/intl_convertcpp.o
CC: -W option with unknown program no-write-strings
make: *** [intl_convertcpp.lo] Error 1
ERROR: `make' failed
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65077&edit=1