[oe] [meta-oe][PATCH 1/2] grpc: don't use unexisting gettid function on glibc 2.29, it has been implemented only in 2.30 https://sourceware.org/git/?p=glibc.git; a=commit; h=1d0fc213824eaa2a8f8c4385daaa698ee8fb7c92 Signed-off-by: Francesco Mocci <francesco.mocci at abinsula.com> Signed-off-by: Gianfranco Costamagna <locutusofborg at debian.org>

Khem Raj raj.khem at gmail.com
Fri Sep 6 14:20:40 UTC 2019


Please adjust the commit message so that there is a
Small summary line followed by empty line and finally the detailed
description

On Fri, Sep 6, 2019 at 4:19 AM Gianfranco Costamagna <
costamagna.gianfranco at gmail.com> wrote:

> ---
>  .../grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch    | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git
> a/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch
> b/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch
> index c6afff2d2..4f9b115ec 100644
> ---
> a/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch
> +++
> b/meta-networking/recipes-devtools/grpc/grpc/0001-Define-gettid-only-for-glibc-2.30.patch
> @@ -20,7 +20,7 @@ index 561276f0c2..25a74864a1 100644
>   #include <time.h>
>   #include <unistd.h>
>
> -+#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 29)
> ++#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 30)
>  +#include <unistd.h>
>  +#else
>   static long gettid(void) { return syscall(__NR_gettid); }
> @@ -38,7 +38,7 @@ index 08116b3ab5..d3d3025111 100644
>
>  -#ifndef NDEBUG
>  +#if !defined(DEBUG)
> -+#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 29)
> ++#if defined(__GLIBC__) && (__GLIBC_MINOR__ >= 30)
>  +#include <unistd.h>
>  +#else
>   static long gettid(void) { return syscall(__NR_gettid); }
> --
> 2.17.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list