Bug #65077 [Opn->Fbk]: Sun CC don't accept ``-Wno-write-strings''
| From: | cmb@php.net | Date: | Fri, 01 Jul 2016 20:40:16 +0000 |
| Subject: | Bug #65077 [Opn->Fbk]: Sun CC don't accept ``-Wno-write-strings'' | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-201977@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=65077&edit=1
ID: 65077
Updated by: cmb@php.net
Reported by: ichii386 at schweetheart dot jp
Summary: Sun CC don't accept ``-Wno-write-strings''
-Status: Open
+Status: Feedback
Type: Bug
-Package: intl
+Package: Compile Failure
Operating System: Solaris
PHP Version: Irrelevant
-Assigned To:
+Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
Does that issue still persist with recent versions of PHP? Note
that the intl extension is bundled as of PHP 5.3.0.
Previous Comments:
------------------------------------------------------------------------
[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