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: -
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: jdolecek at NetBSD dot org Assigned:
Status: Open Package: Compile Failure
PHP Version: 7.2.2 OS: SunOS, Solaris, pkgsrc
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
19 + 50 = ?
Subscribe to this entry?

 
 [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

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun Mar 24 00:01:27 2019 UTC