php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75941 Fix compile failure on Solaris with clang
Submitted: 2018-02-08 23:58 UTC Modified: 2021-09-28 09:42 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jdolecek at NetBSD dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 7.2.2 OS: SunOS, Solaris, pkgsrc
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jdolecek at NetBSD dot org
New email:
PHP Version: OS:

 

 [2018-02-08 23:58 UTC] 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. 


Patches

php-configure-clang-solaris.diff (last revision 2018-02-08 23:59 UTC by jdolecek at NetBSD dot org)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-09-28 09:42 UTC] cmb@php.net
Please submit pull requests[1] instead of attaching patches for
better visibility.

[1] <https://github.com/php/php-src/pulls>
 [2021-09-28 19:49 UTC] jdolecek at NetBSD dot org
Created new PR for this:

https://github.com/php/php-src/pull/7525
 [2021-09-29 09:46 UTC] git@php.net
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
 [2021-09-29 09:46 UTC] git@php.net
-Status: Open +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 06:01:29 2024 UTC