* [dpdk-stable] [dpdk-dev] [PATCH] bus/fslmc: fix build issue with latest glib-headers
@ 2018-02-06 17:14 Jerin Jacob
2018-02-06 17:30 ` Thomas Monjalon
0 siblings, 1 reply; 2+ messages in thread
From: Jerin Jacob @ 2018-02-06 17:14 UTC (permalink / raw)
To: dev
Cc: thomas, hemant.agrawal, shreyansh.jain, jianbo.liu, Jerin Jacob, stable
Fix the following build error with latest glib-headers(
Part of aarch64-linux-gnu-gcc-7.3.0 toolchain)
In file included from /tmp/drivers/bus/fslmc/mc/fsl_mc_sys.h:30:0,
from /tmp/drivers/bus/fslmc/mc/dpmng.c:7:
/usr/aarch64-linux-gnu/usr/include/libio.h:21:2: error:
#warning "<libio.h> is deprecated; use <stdio.h> instead." [-Werror=cpp]
Fixes: 3af733ba8da8 ("bus/fslmc: introduce MC object functions")
Cc: stable@dpdk.org
Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
---
Since fslmc is part of the default armv8 config now, With out this patch
it breaks all armv8 build with latest toolchain
---
drivers/bus/fslmc/mc/fsl_mc_sys.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/bus/fslmc/mc/fsl_mc_sys.h b/drivers/bus/fslmc/mc/fsl_mc_sys.h
index a48da1071..d0c7b39f8 100644
--- a/drivers/bus/fslmc/mc/fsl_mc_sys.h
+++ b/drivers/bus/fslmc/mc/fsl_mc_sys.h
@@ -27,7 +27,6 @@ struct fsl_mc_io {
#else /* __linux_driver__ */
#include <stdio.h>
-#include <libio.h>
#include <stdint.h>
#include <errno.h>
#include <sys/uio.h>
--
2.16.1
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-stable] [dpdk-dev] [PATCH] bus/fslmc: fix build issue with latest glib-headers
2018-02-06 17:14 [dpdk-stable] [dpdk-dev] [PATCH] bus/fslmc: fix build issue with latest glib-headers Jerin Jacob
@ 2018-02-06 17:30 ` Thomas Monjalon
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Monjalon @ 2018-02-06 17:30 UTC (permalink / raw)
To: Jerin Jacob; +Cc: stable, dev, hemant.agrawal, shreyansh.jain, jianbo.liu
06/02/2018 18:14, Jerin Jacob:
> Fix the following build error with latest glib-headers(
> Part of aarch64-linux-gnu-gcc-7.3.0 toolchain)
>
> In file included from /tmp/drivers/bus/fslmc/mc/fsl_mc_sys.h:30:0,
> from /tmp/drivers/bus/fslmc/mc/dpmng.c:7:
> /usr/aarch64-linux-gnu/usr/include/libio.h:21:2: error:
> #warning "<libio.h> is deprecated; use <stdio.h> instead." [-Werror=cpp]
>
> Fixes: 3af733ba8da8 ("bus/fslmc: introduce MC object functions")
> Cc: stable@dpdk.org
>
> Signed-off-by: Jerin Jacob <jerin.jacob@caviumnetworks.com>
> ---
>
> Since fslmc is part of the default armv8 config now, With out this patch
> it breaks all armv8 build with latest toolchain
Applied, thanks
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-02-06 17:30 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 17:14 [dpdk-stable] [dpdk-dev] [PATCH] bus/fslmc: fix build issue with latest glib-headers Jerin Jacob
2018-02-06 17:30 ` Thomas Monjalon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).