php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #73956 Link use CC instead of CXX
Submitted: 2017-01-18 11:57 UTC Modified: 2017-01-18 11:58 UTC
From: remi@php.net Assigned: remi
Status: Closed Package: intl (PECL)
PHP Version: 7.0.14 OS:
Private report: No CVE-ID:
 [2017-01-18 11:57 UTC] remi@php.net
Description:
------------
When building this extension as shared, link use $(CC) instead of $(CXX).

This could raise bad issue.


Test script:
---------------
./configure --enable-intl-shared



Expected result:
----------------
In Makefile

ext/intl/intl.la: $(shared_objects_intl) $(INTL_SHARED_DEPENDENCIES)
        $(LIBTOOL) --mode=link $(CXX) 

Actual result:
--------------
ext/intl/intl.la: $(shared_objects_intl) $(INTL_SHARED_DEPENDENCIES)
        $(LIBTOOL) --mode=link $(CC) 

Patches

intl.patch (last revision 2017-01-18 11:57 UTC) by remi@php.net)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-01-18 11:57 UTC] remi@php.net
The following patch has been added/updated:

Patch Name: intl.patch
Revision:   1484740660
URL:        https://bugs.php.net/patch-display.php?bug=73956&patch=intl.patch&revision=1484740660
 [2017-01-18 11:58 UTC] remi@php.net
This was discored trying to build PHP on RHEL-7 using devtoolset-6 (GCC 6.2).

More information on https://bugzilla.redhat.com/1414348
 [2017-01-18 11:58 UTC] remi@php.net
-Assigned To: +Assigned To: remi
 [2017-01-18 12:03 UTC] remi@php.net
Automatic comment on behalf of remi
Revision: http://git.php.net/?p=php-src.git;a=commit;h=6af22d0d3ed224d89be1d1e9e53ff7e2e2e5439d
Log: Fix #73956 Link use CC instead of CXX
 [2017-01-18 12:03 UTC] remi@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Tue Feb 21 14:01:44 2017 UTC