All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] perl: Undefine finitel for uclibc
@ 2015-08-19  5:54 Yen-Chin Lee
  2015-08-19  5:58 ` Khem Raj
  0 siblings, 1 reply; 2+ messages in thread
From: Yen-Chin Lee @ 2015-08-19  5:54 UTC (permalink / raw)
  To: openembedded-core

finitel is not implemented in uclibc and since its not posix, it wont be
implemented in future too.

Fixes perl 5.22 build error

perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel'
 | collect2: error: ld returned 1 exit status

Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
---
 meta/recipes-devtools/perl/perl_5.22.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index e3a7f41..3ce7849 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -134,6 +134,7 @@ do_configure() {
         if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
                        -e "s,\(d_futimes=\)'define',\1'undef',g" \
+                       -e "s,\(d_finitel=\)'define',\1'undef',g" \
                        -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
                        -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
                        -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
-- 
2.3.6



^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] perl: Undefine finitel for uclibc
  2015-08-19  5:54 [PATCH] perl: Undefine finitel for uclibc Yen-Chin Lee
@ 2015-08-19  5:58 ` Khem Raj
  0 siblings, 0 replies; 2+ messages in thread
From: Khem Raj @ 2015-08-19  5:58 UTC (permalink / raw)
  To: Yen-Chin Lee; +Cc: Patches and discussions about the oe-core layer

On Tue, Aug 18, 2015 at 10:54 PM, Yen-Chin Lee <coldnew.tw@gmail.com> wrote:
> finitel is not implemented in uclibc and since its not posix, it wont be
> implemented in future too.
>
> Fixes perl 5.22 build error
>
> perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel'
>  | collect2: error: ld returned 1 exit status

OK

>
> Signed-off-by: Yen-Chin Lee <coldnew.tw@gmail.com>
> ---
>  meta/recipes-devtools/perl/perl_5.22.0.bb | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
> index e3a7f41..3ce7849 100644
> --- a/meta/recipes-devtools/perl/perl_5.22.0.bb
> +++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
> @@ -134,6 +134,7 @@ do_configure() {
>          if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
>                  sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
>                         -e "s,\(d_futimes=\)'define',\1'undef',g" \
> +                       -e "s,\(d_finitel=\)'define',\1'undef',g" \
>                         -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
>                         -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
>                         -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
> --
> 2.3.6
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-19  5:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19  5:54 [PATCH] perl: Undefine finitel for uclibc Yen-Chin Lee
2015-08-19  5:58 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.