On Fri, May 08, 2020 at 10:42:22AM -0400, Claude Bing wrote:
> On 5/8/20 6:56 AM, Adrian Bunk wrote:
> > On Thu, May 07, 2020 at 02:28:06PM -0400, Claude Bing wrote:
> >> Explicitly specifying -lrt is required for opcache to be linked against
> >> the proper dependencies. Additionally, PHP disables libdl when it
> >> detects a cross-compilation environment for some reason. In order to
> >> load any type of extension, re-enabling libdl is required.
> >> ...
> >> +# link against librt (libc) if opcache is specified in order to avoid the
> >> +# following error:
> >> +# Failed loading
> >> /usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so:
> >> /usr/lib/php7/extensions/no-debug-non-zts-20190902/opcache.so: undefined
> >> symbol: shm_unlink
> >> +LDFLAGS += "${@ " -lrt " if bb.utils.contains('PACKAGECONFIG', 'opcache',
> >> 'true', 'false', d) else "" }"
> >
> > Is this actually a bug in 0001-opcache-config.m4-enable-opcache.patch
> > and should instead be fixed there?
>
> Yes, that does indeed fix the problem. Would you like me to reply to
> this thread with a new patch, or create a different thread?
>...
Your original patch is already in master, please submit a new patch in a
different thread that removes this workaround from php_7.4.4.bb and
fixes 0001-opcache-config.m4-enable-opcache.patch.
Thanks
Adrian
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#84268):
https://lists.openembedded.org/g/openembedded-devel/message/84268
Mute This Topic: https://lists.openembedded.org/mt/74056955/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-