DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Multiple compilation failures in recent commits on branch master.
@ 2018-10-17 23:44 Dan Gora
  2018-10-17 23:51 ` Dan Gora
  0 siblings, 1 reply; 2+ messages in thread
From: Dan Gora @ 2018-10-17 23:44 UTC (permalink / raw)
  To: dev

Hi All,

I sent a patch yesterday to fix a compilation failure in the
test_external_mem test and I pulled origin yesterday and now there is
another compilation failure which was introduced in commit
c3e0a706fd7595733cf51 (net/dpaa2: read hardware provided MAC for DPNI
devices):

/home/dg/Network_Fastpaths/dpdk/latest/drivers/net/dpaa2/dpaa2_ethdev.c:1849:9:
error: missing initializer for field ‘addr_bytes’ of ‘struct
ether_addr’ [-Werror=missing-
field-initializers]
 struct ether_addr phy_mac = {}, prime_mac = {};
        ^
In file included from
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:158:0,
                from
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ethdev_driver.h:18,
                from
/home/dg/Network_Fastpaths/dpdk/latest/drivers/net/dpaa2/dpaa2_ethdev.c:12:
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ether.h:58:10:
note: ‘addr_bytes’ declared here
 uint8_t addr_bytes[ETHER_ADDR_LEN]; /**< Addr bytes in tx order */
         ^
/home/dg/Network_Fastpaths/dpdk/latest/drivers/net/dpaa2/dpaa2_ethdev.c:1849:9:
error: missing initializer for field ‘addr_bytes’ of ‘struct
ether_addr’ [-Werror=missing-
field-initializers]
 struct ether_addr phy_mac = {}, prime_mac = {};
        ^
In file included from
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ethdev.h:158:0,
                from
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ethdev_driver.h:18,
                from
/home/dg/Network_Fastpaths/dpdk/latest/drivers/net/dpaa2/dpaa2_ethdev.c:12:
/home/dg/Network_Fastpaths/dpdk/latest/x86_64-native-linuxapp-gcc/include/rte_ether.h:58:10:
note: ‘addr_bytes’ declared here
 uint8_t addr_bytes[ETHER_ADDR_LEN]; /**< Addr bytes in tx order */
         ^
cc1: all warnings being treated as errors

Is something up where the automated compilation tests are not working?
 Is gcc 4.8.5 not supported any more?

I'm using stock OpenSuse 42.3 with gcc 4.8.5:

=> gcc --version
gcc (SUSE Linux) 4.8.5
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [dpdk-dev] Multiple compilation failures in recent commits on branch master.
  2018-10-17 23:44 [dpdk-dev] Multiple compilation failures in recent commits on branch master Dan Gora
@ 2018-10-17 23:51 ` Dan Gora
  0 siblings, 0 replies; 2+ messages in thread
From: Dan Gora @ 2018-10-17 23:51 UTC (permalink / raw)
  To: dev

Ok, never mind.. I see that it was fixed right after I pulled yesterday...

commit 41c24ea294fe6c69ee8c1b814c2475af0e74d821 (net/dpaa2: fix MAC
address initialization)


On Wed, Oct 17, 2018 at 8:44 PM Dan Gora <dg@adax.com> wrote:
>
> Hi All,
>
> I sent a patch yesterday to fix a compilation failure in the
> test_external_mem test and I pulled origin yesterday and now there is
> another compilation failure which was introduced in commit
> c3e0a706fd7595733cf51 (net/dpaa2: read hardware provided MAC for DPNI
> devices):

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-17 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-17 23:44 [dpdk-dev] Multiple compilation failures in recent commits on branch master Dan Gora
2018-10-17 23:51 ` Dan Gora

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).