Bug #78553 [Opn->Csd]: opcache.so: undefined symbol: shm_unlink

From: Date: Thu, 07 Nov 2019 11:01:40 +0000
Subject: Bug #78553 [Opn->Csd]: opcache.so: undefined symbol: shm_unlink
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-223628@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=78553&edit=1 ID: 78553 Updated by: nikic@php.net Reported by: bugreports at gmail dot com Summary: opcache.so: undefined symbol: shm_unlink -Status: Open +Status: Closed Type: Bug Package: Compile Failure Operating System: Linux PHP Version: 7.4Git-2019-09-17 (Git) -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: As far as I understood, this has been fixed by the revert of the PIC related changes, so closing here. Previous Comments: ------------------------------------------------------------------------ [2019-10-11 10:17:06] bugreports at gmail dot com FWIW: Dmitry Stogov Revert "Fixed CLI/CGI/FPM build, when they are Dmitry Stogov Revert "Don't buid static libaraies when only DSO required" Dmitry Stogov Revert "Link executable files using non PIC object... - add '-Wl,--as-needed' to LDFLAGS again - https://git.php.net/?p=php-src.git;a=commit;h=1bb1a1ee285e0a41247f2f60e8f0f03e8a1d9325 ------------------------------------------------------------------------ [2019-10-03 23:46:07] bugreports at gmail dot com still the same with current 7.4 HEAD while "-Wl,--as-needed" works for years and is still fine with 7.2/7.3- distributions are moving to "-Wl,--as-needed" for good reasons ------------------------------------------------------------------------ [2019-10-01 22:03:55] vytas dot LT at gmail dot com Confirmed on 7.4.0RC3 Fedora 30, Remi build, CLI ------------------------------------------------------------------------ [2019-09-22 19:22:42] bugreports at gmail dot com still the same with todays GIT "No such file or directory" should be fixed too because it's nonsense in that context [22-Sep-2019 19:17:00 UTC] PHP Warning: Failed loading Zend extension 'opcache' (tried: /BUILD/php-7.4.0/modules/opcache (/BUILD/php-7.4.0/modules/opcache: cannot open shared object file: No such file or directory), /BUILD/php-7.4.0/modules/opcache.so (/BUILD/php-7.4.0/modules/opcache.so: undefined symbol: shm_unlink)) in Unknown on line 0 ------------------------------------------------------------------------ [2019-09-19 13:18:51] bugreports at gmail dot com it's "-Wl,--as-needed" in LDFLAGS what got broken in the past weeks on the 7.4 tree, using it for years everywhere and distributions are on their way to make it default for the sake of minimize uneeded package dependencies ------------------------------------------------------------------------ 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=78553 -- Edit this bug report at https://bugs.php.net/bug.php?id=78553&edit=1

« previous php.bugs (#223628) next »