Bug #75941 [Opn->Csd]: Fix compile failure on Solaris with clang
| From: | git@php.net | Date: | Wed, 29 Sep 2021 09:46:43 +0000 |
| Subject: | Bug #75941 [Opn->Csd]: Fix compile failure on Solaris with clang | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236911@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=75941&edit=1
ID: 75941
Updated by: git@php.net
Reported by: jdolecek at NetBSD dot org
Summary: Fix compile failure on Solaris with clang
-Status: Open
+Status: Closed
Type: Bug
Package: Compile Failure
Operating System: SunOS, Solaris, pkgsrc
PHP Version: 7.2.2
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of jdolecek-zz (author) and nikic (committer)
Revision: https://github.com/php/php-src/commit/26d28c3b429eedd655925f16369ba1f3237143c4
Log: Fix bug #75941: Fix compile failure on Solaris with clang
Previous Comments:
------------------------------------------------------------------------
[2021-09-28 19:49:40] jdolecek at NetBSD dot org
Created new PR for this:
https://github.com/php/php-src/pull/7525
------------------------------------------------------------------------
[2021-09-28 09:42:06] cmb@php.net
Please submit pull requests[1] instead of attaching patches for
better visibility.
[1] <https://github.com/php/php-src/pulls>
------------------------------------------------------------------------
[2018-02-08 23:58:53] jdolecek at NetBSD dot org
Description:
------------
NetBSD package system pkgsrc maintains several patches, which we'd like to feed upstream. This
is one of them.
The configure script assumes that libgcc needs to be linked if GCC=yes. However, that is set also
when the compilation is done using clang.
When the compilation is done using gcc, the compiler itself automatically adds the lib as needed.
There is no need to do this explicitly with any recent gcc, unless -nostdlib is used which php
doesn't.
That code was added in rev. 2fcd5025228 in 2002-07-23.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=75941&edit=1