Bug #75941 [NEW]: Fix compile failure on Solaris with clang
| From: | jdolecek at NetBSD dot org | Date: | Thu, 08 Feb 2018 23:58:54 +0000 |
| Subject: | Bug #75941 [NEW]: Fix compile failure on Solaris with clang | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-213880@lists.php.net to get a copy of this message | ||
From: jdolecek at NetBSD dot org
Operating system: SunOS, Solaris, pkgsrc
PHP version: 7.2.2
Package: Compile Failure
Bug Type: Bug
Bug description:Fix compile failure on Solaris with clang
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 bug report at https://bugs.php.net/bug.php?id=75941&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75941&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75941&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75941&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75941&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75941&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75941&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75941&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75941&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75941&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75941&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75941&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75941&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75941&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75941&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75941&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75941&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75941&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75941&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75941&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75941&r=mysqlcfg