* [meta-virtualization][m-c-s][PATCH] glusterfs: fix failure on gcc10
@ 2020-05-20 1:31 hongxu
2020-05-22 2:12 ` Bruce Ashfield
0 siblings, 1 reply; 2+ messages in thread
From: hongxu @ 2020-05-20 1:31 UTC (permalink / raw)
To: meta-virtualization
Since oe-core upgraded gcc to 10.1, there is a failure
...
|../../../../../glusterfs-6.1/rpc/rpc-transport/socket/src/socket.c:4302:24:
error: implicit declaration of function 'EC_KEY_new_by_curve_name'
[-Werror=implicit-function-declaration]
| 4302 | ecdh = EC_KEY_new_by_curve_name(nid);
...
Add option -Wno-error=implicit-function-declaration to workaround
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
recipes-extended/glusterfs/glusterfs.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc
index a5677840..c209baa6 100644
--- a/recipes-extended/glusterfs/glusterfs.inc
+++ b/recipes-extended/glusterfs/glusterfs.inc
@@ -34,7 +34,7 @@ DEPENDS += "bison-native flex-native python3-native fuse libaio libtirpc libxml2
# rpc now comes from libtirpc instead of glibc
#
-CFLAGS += "-I${STAGING_INCDIR}/tirpc"
+CFLAGS += "-I${STAGING_INCDIR}/tirpc -Wno-error=implicit-function-declaration"
LDFLAGS += " -ltirpc"
EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
--
2.21.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [meta-virtualization][m-c-s][PATCH] glusterfs: fix failure on gcc10
2020-05-20 1:31 [meta-virtualization][m-c-s][PATCH] glusterfs: fix failure on gcc10 hongxu
@ 2020-05-22 2:12 ` Bruce Ashfield
0 siblings, 0 replies; 2+ messages in thread
From: Bruce Ashfield @ 2020-05-22 2:12 UTC (permalink / raw)
To: hongxu; +Cc: meta-virtualization
merged.
bruce
On Tue, May 19, 2020 at 9:32 PM hongxu <hongxu.jia@windriver.com> wrote:
>
> Since oe-core upgraded gcc to 10.1, there is a failure
> ...
> |../../../../../glusterfs-6.1/rpc/rpc-transport/socket/src/socket.c:4302:24:
> error: implicit declaration of function 'EC_KEY_new_by_curve_name'
> [-Werror=implicit-function-declaration]
> | 4302 | ecdh = EC_KEY_new_by_curve_name(nid);
> ...
> Add option -Wno-error=implicit-function-declaration to workaround
>
> Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
> ---
> recipes-extended/glusterfs/glusterfs.inc | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-extended/glusterfs/glusterfs.inc b/recipes-extended/glusterfs/glusterfs.inc
> index a5677840..c209baa6 100644
> --- a/recipes-extended/glusterfs/glusterfs.inc
> +++ b/recipes-extended/glusterfs/glusterfs.inc
> @@ -34,7 +34,7 @@ DEPENDS += "bison-native flex-native python3-native fuse libaio libtirpc libxml2
>
> # rpc now comes from libtirpc instead of glibc
> #
> -CFLAGS += "-I${STAGING_INCDIR}/tirpc"
> +CFLAGS += "-I${STAGING_INCDIR}/tirpc -Wno-error=implicit-function-declaration"
> LDFLAGS += " -ltirpc"
>
> EXTRA_OECONF = "ac_cv_file__etc_debian_version=no \
> --
> 2.21.0
>
>
--
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-22 2:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-20 1:31 [meta-virtualization][m-c-s][PATCH] glusterfs: fix failure on gcc10 hongxu
2020-05-22 2:12 ` Bruce Ashfield
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.