From: David Marchand <david.marchand@redhat.com>
To: dev@dpdk.org
Cc: thomas@monjalon.net, David Christensen <drc@linux.vnet.ibm.com>
Subject: [dpdk-dev] [PATCH] eal/ppc: add missing header inclusion
Date: Fri, 17 Apr 2020 17:25:16 +0200 [thread overview]
Message-ID: <20200417152516.21375-1-david.marchand@redhat.com> (raw)
Compilation is broken on ppc:
CC otx2_rx.o
In file included from .../drivers/net/octeontx2/otx2_rx.c:5:0:
.../builds/ppc_64-power8-linux-gcc/include/rte_vect.h:29:17:
error: expected declaration specifiers or ‘...’ before numeric constant
} __rte_aligned(16) rte_xmm_t;
^~
compilation terminated due to -Wfatal-errors.
Fixes: f35e5b3e07b2 ("replace alignment attributes")
Signed-off-by: David Marchand <david.marchand@redhat.com>
---
lib/librte_eal/ppc/include/rte_vect.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lib/librte_eal/ppc/include/rte_vect.h b/lib/librte_eal/ppc/include/rte_vect.h
index a0dabf02eb..1d6c29be02 100644
--- a/lib/librte_eal/ppc/include/rte_vect.h
+++ b/lib/librte_eal/ppc/include/rte_vect.h
@@ -7,7 +7,9 @@
#define _RTE_VECT_PPC_64_H_
#include <altivec.h>
+
#include "generic/rte_vect.h"
+#include "rte_common.h"
#ifdef __cplusplus
extern "C" {
--
2.23.0
next reply other threads:[~2020-04-17 15:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-17 15:25 David Marchand [this message]
2020-04-17 15:41 ` [dpdk-dev] [PATCH] eal/ppc: add missing header inclusion Thomas Monjalon
2020-04-17 15:46 ` David Marchand
2020-04-18 22:20 ` David Christensen
2020-04-19 6:57 ` David Marchand
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=20200417152516.21375-1-david.marchand@redhat.com \
--to=david.marchand@redhat.com \
--cc=dev@dpdk.org \
--cc=drc@linux.vnet.ibm.com \
--cc=thomas@monjalon.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 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.