php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65077 Sun CC don't accept ``-Wno-write-strings''
Submitted: 2013-06-20 23:18 UTC Modified: 2016-07-10 04:22 UTC
Votes:4
Avg. Score:4.0 ± 1.0
Reproduced:4 of 4 (100.0%)
Same Version:3 (75.0%)
Same OS:2 (50.0%)
From: ichii386 at schweetheart dot jp Assigned: cmb (profile)
Status: No Feedback Package: Compile Failure
PHP Version: Irrelevant OS: Solaris
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: ichii386 at schweetheart dot jp
New email:
PHP Version: OS:

 

 [2013-06-20 23:18 UTC] 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


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-07-01 20:40 UTC] cmb@php.net
-Status: Open +Status: Feedback -Package: intl +Package: Compile Failure -Assigned To: +Assigned To: cmb
 [2016-07-01 20:40 UTC] 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.
 [2016-07-10 04:22 UTC] php-bugs at lists dot php dot net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Nov 02 03:01:27 2024 UTC