From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] package/php: ffi needs dynamic library
Date: Sun, 23 Aug 2020 19:05:10 +0200 [thread overview]
Message-ID: <20200823170510.GI8728@scaer> (raw)
In-Reply-To: <20200823145320.3967619-1-fontaine.fabrice@gmail.com>
Fabrice, All,
On 2020-08-23 16:53 +0200, Fabrice Fontaine spake thusly:
> FFI support in php has been added with commit
> e16f05c0f00081d446ebee56d9f3ad3cf41da1ae, it depends on dynamic library
> otherwise the build will fail on:
>
> /home/buildroot/autobuild/instance-1/output-1/host/opt/ext-toolchain/bin/../lib/gcc/arm-buildroot-linux-uclibcgnueabi/5.5.0/../../../../arm-buildroot-linux-uclibcgnueabi/bin/ld: ext/ffi/ffi.o: in function `zim_FFI_cdef':
> ffi.c:(.text+0xe78): undefined reference to `DL_LOAD'
>
> Fixes:
> - http://autobuild.buildroot.org/results/3380b7b6777d1c5fcb53c855b003466fa3bf2079
>
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Your 3 php-related patches applied to master, thanks.
Regards,
Yann E. MORIN.
> ---
> package/php/Config.ext | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/package/php/Config.ext b/package/php/Config.ext
> index 33a6455366..3a86bf95b7 100644
> --- a/package/php/Config.ext
> +++ b/package/php/Config.ext
> @@ -424,12 +424,13 @@ config BR2_PACKAGE_PHP_EXT_XSL
>
> config BR2_PACKAGE_PHP_EXT_FFI
> bool "FFI"
> + depends on !BR2_STATIC_LIBS
> depends on BR2_TOOLCHAIN_HAS_THREADS
> select BR2_PACKAGE_LIBFFI
> help
> Foreign Function Interface support
>
> -comment "PHP FFI extension needs a toolchain w/ threads"
> - depends on !BR2_TOOLCHAIN_HAS_THREADS
> +comment "PHP FFI extension needs a toolchain w/ threads, dynamic library"
> + depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS
>
> endmenu
> --
> 2.28.0
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
prev parent reply other threads:[~2020-08-23 17:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-08-23 14:53 [Buildroot] [PATCH 1/1] package/php: ffi needs dynamic library Fabrice Fontaine
2020-08-23 17:05 ` Yann E. MORIN [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20200823170510.GI8728@scaer \
--to=yann.morin.1998@free.fr \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox