Bug #77883 [Com]: Building with gcc-3.4.3 fails to export symbols

From: Date: Wed, 12 Jun 2019 12:29:15 +0000
Subject: Bug #77883 [Com]: Building with gcc-3.4.3 fails to export symbols
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-221239@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77883&edit=1 ID: 77883 Comment by: php at geoff dot dj Reported by: a dot hawkins at cabletime dot com Summary: Building with gcc-3.4.3 fails to export symbols Status: Open Type: Bug Package: *Compile Issues Operating System: Linux PHP Version: 7.3.4 Block user comment: N Private report: N New Comment: I've added the patch I used. Feel free to ignore. Previous Comments: ------------------------------------------------------------------------ [2019-06-12 12:21:59] php at geoff dot dj The following patch has been added/updated: Patch Name: HAS_VISIBILITY_CFLAGS Revision: 1560342119 URL: https://bugs.php.net/patch-display.php?bug=77883&patch=HAS_VISIBILITY_CFLAGS&revision=1560342119 ------------------------------------------------------------------------ [2019-04-12 14:56:27] a dot hawkins at cabletime dot com This version almost certainly isn't supported, no. I suspect the 'fix' would be to wrap the: AX_CHECK_COMPILE_FLAG([-fvisibility=hidden], [CFLAGS="$CFLAGS -fvisibility=hidden"]) inside a call to ax_gcc_func_attribute("visibility") and only check the compile flag if the attribute is supported. However, my autoconf skills are definitely sub-par... ------------------------------------------------------------------------ [2019-04-12 14:47:52] levim@php.net My previous statement does come with some caveats: the code/configuration needs to be simple. If it's an invasive change it won't get applied. Is this version of MontaVista (which I know nothing about) still supported? ------------------------------------------------------------------------ [2019-04-12 14:44:27] levim@php.net While I question the value of supporting this old of a GCC version on this new of a PHP version, if you can come up with a fix I don't see any reason not to patch it. ------------------------------------------------------------------------ [2019-04-12 14:37:01] spam2 at rhsoft dot net GCC 3.4.3 is not supported for PHP 7.3 and there is no point using a 15 years old environment and then expect the newest software to run on it ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=77883 -- Edit this bug report at https://bugs.php.net/bug.php?id=77883&edit=1

« previous php.bugs (#221239) next »