Re: [Buildroot] [PATCH 1/2] package/php: remove CFLAGS for OPcache extension

Titouan Christophe via buildroot <[email protected]>
Newsgroups net.busybox.buildroot
Message-ID <[email protected]>
On 30/07/26 20:35, Bernd Kuhls wrote:
> Buildroot commit aedf131da66d2f2ebce64788deab07be17ce33eb bumped the
> package to 8.5.0 which made opcache a mandatory dependency but kept the
> CFLAGS added in 2015 with buildroot commit
> e05476491720f96fcbeb926b4599d111efb598a6.
>
> As it turns out we need to remove the CFLAGS to fix the build with the
> bootlin-aarch64-glibc-old defconfig as detected by the Gitlab pipelines:
>
> ext/opcache/shared_alloc_posix.o: In function `create_segments':
> shared_alloc_posix.c:(.text+0xcc): undefined reference to `shm_open'
> shared_alloc_posix.c:(.text+0x11c): undefined reference to `shm_unlink'
> shared_alloc_posix.c:(.text+0x19c): undefined reference to `shm_unlink'
> shared_alloc_posix.c:(.text+0x1b8): undefined reference to `shm_unlink'
>
> as they seem to disturb the detection of librt.
>
> It is unclear which upstream commits added since 2015 fixed the original
> problem so a backport to LTS branches is not advised.
>
> Signed-off-by: Bernd Kuhls <[email protected]>

Applied to 2026.05.x, thanks

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.