Bug #77883 [NEW]: Building with gcc-3.4.3 fails to export symbols
| From: | a dot hawkins at cabletime dot com | Date: | Fri, 12 Apr 2019 14:33:38 +0000 |
| Subject: | Bug #77883 [NEW]: Building with gcc-3.4.3 fails to export symbols | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-220414@lists.php.net to get a copy of this message | ||
From: a dot hawkins at cabletime dot com
Operating system: Linux
PHP version: 7.3.4
Package: *Compile Issues
Bug Type: Bug
Bug description:Building with gcc-3.4.3 fails to export symbols
Description:
------------
When building with the following version of gcc:
andyh@778:/home/andyh/development/778-phpv7$ arm_v5t_le-gcc --version
arm_v5t_le-gcc (GCC) 3.4.3 (MontaVista 3.4.3-25.0.104.0600975
2006-07-06)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is
NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
configure.ac checks if the -fvisibility=hidden flag is acceptable to the
compiler. If it is, it uses it. However, this compiler supports this
flag, but doesn't support the attribute required to be able to export
symbols (this requires gcc v4 or above).
The result is that php builds, but it is not possible to load any
modules, as php's symbols aren't correctly exported.
This flag should only be used if the compiler *also* supports the
'visibility' function attribute.
--
Edit bug report at https://bugs.php.net/bug.php?id=77883&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=77883&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=77883&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=77883&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=77883&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=77883&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=77883&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=77883&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=77883&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=77883&r=support
Expected behavior: https://bugs.php.net/fix.php?id=77883&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=77883&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=77883&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=77883&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=77883&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=77883&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=77883&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=77883&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=77883&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=77883&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=77883&r=mysqlcfg