From: Raslan Darawsheh <rasland@mellanox.com>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: "dev@dpdk.org" <dev@dpdk.org>,
Stephen Hemminger <sthemmin@microsoft.com>,
Thomas Monjalon <thomasm@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD
Date: Wed, 18 Apr 2018 07:00:45 +0000 [thread overview]
Message-ID: <AM4PR05MB1684862571A56A57EAFEF5CDC2B60@AM4PR05MB1684.eurprd05.prod.outlook.com> (raw)
In-Reply-To: <20180417092222.158cb849@xeon-e3>
I'm facing this on gcc version 5.4.0 on 64bit.
Kindest regards,
Raslan Darawsheh
-----Original Message-----
From: Stephen Hemminger [mailto:stephen@networkplumber.org]
Sent: Tuesday, April 17, 2018 7:22 PM
To: Raslan Darawsheh <rasland@mellanox.com>
Cc: dev@dpdk.org; Stephen Hemminger <sthemmin@microsoft.com>; Thomas Monjalon <thomasm@mellanox.com>
Subject: Re: [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD
On Tue, 17 Apr 2018 09:02:45 +0000
Raslan Darawsheh <rasland@mellanox.com> wrote:
> Hi Stephan,
>
> I've just tried to apply your patches on top of current master branch and I have the following two issues:
> 1- compilation is failing with the following error when compiling with RTE_TARGET=x86_64-native-linuxapp-gcc:
> /root/dpdk/x86_64-native-linuxapp-gcc/include/rte_common.h:122:30: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
> #define RTE_PTR_ADD(ptr, x) ((void*)((uintptr_t)(ptr) + (x)))
> ^
> /root/dpdk/buildtools/pmdinfogen/pmdinfogen.c:99:9: note: in expansion of macro 'RTE_PTR_ADD'
> return RTE_PTR_ADD(info->hdr,
> ^
> 2- compilation is also failing with the following errors when compiling with RTE_TARGET=i686-native-linuxapp-gcc
> CC linux/vmbus_uio.o
> /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c: In function 'rte_vmbus_map_device':
> /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:194:39: error: passing argument 2 of 'eal_parse_sysfs_value' from incompatible pointer type [-Werror=incompatible-pointer-types]
> if (eal_parse_sysfs_value(filename, &res->len) < 0) {
> ^
> In file included from /root/dpdk/drivers/bus/vmbus/linux/vmbus_bus.c:22:0:
> /root/dpdk/lib/librte_eal/common/eal_filesystem.h:123:5: note: expected 'long unsigned int *' but argument is of type 'uint64_t * {aka long long unsigned int *}'
> int eal_parse_sysfs_value(const char *filename, unsigned long *val);
>
>
> I noticed one additional new dependency which is uuid-dev and I think you might be missing the documentation of that.
>
> Kindest regards,
> Raslan Darawsheh
I rebased against dpdk.org master yesterday.
What version of Gcc? I don't see this on Gcc 7.3.0 and build on 64 bit.
Will update the documentation and fix a couple of typos.
prev parent reply other threads:[~2018-04-18 7:00 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-04-16 23:24 Stephen Hemminger
2018-04-16 23:24 ` [dpdk-dev] [PATCH v2 1/4] bus/vmbus: add hyper-v virtual bus support Stephen Hemminger
2018-04-16 23:24 ` [dpdk-dev] [PATCH v2 2/4] net/netvsc: add hyper-v netvsc network device Stephen Hemminger
2018-04-16 23:24 ` [dpdk-dev] [PATCH v2 3/4] net/netvsc: add documentation Stephen Hemminger
2018-04-17 13:49 ` Kovacevic, Marko
2018-04-16 23:24 ` [dpdk-dev] [PATCH v2 4/4] bus/vmbus and net/netvsc: add meson build support Stephen Hemminger
[not found] ` <DB7PR05MB4426AA62F409236670510004C3B70@DB7PR05MB4426.eurprd05.prod.outlook.com>
2018-04-17 9:02 ` [dpdk-dev] [PATCH v2 0/4] Hyper-V Netvsc PMD Raslan Darawsheh
2018-04-17 16:22 ` Stephen Hemminger
2018-04-18 7:00 ` Raslan Darawsheh [this message]
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=AM4PR05MB1684862571A56A57EAFEF5CDC2B60@AM4PR05MB1684.eurprd05.prod.outlook.com \
--to=rasland@mellanox.com \
--cc=dev@dpdk.org \
--cc=stephen@networkplumber.org \
--cc=sthemmin@microsoft.com \
--cc=thomasm@mellanox.com \
/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 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).