DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] librte_table build race with SYMLINK-FILE?
@ 2016-04-11 10:46 Simon Kågström
  2016-04-11 18:15 ` Stephen Hemminger
  0 siblings, 1 reply; 4+ messages in thread
From: Simon Kågström @ 2016-04-11 10:46 UTC (permalink / raw)
  To: dev, bruce.richardson, jerin.jacob, jianbo.liu

Hi!

I'm upgrading from DPDK 2.1 to 16.04-rc4, and have a new build issue
which I didn't see before. It's in the librte_table and happens from
time to time (unfrequently) in my out-of-tree build. It looks like a
race between comilation and SYMLINK-FILE:

[...]
== Build lib/librte_table
  CC rte_table_lpm_ipv6.o
  CC rte_table_lpm.o
  CC rte_table_acl.o
  CC rte_table_hash_key8.o
In file included from [...]lib/librte_table/rte_table_lpm.c:43:0:
[...]/dpdk.build/include/rte_lpm.h:484:25: fatal error: rte_lpm_sse.h:
No such file or directory
 #include "rte_lpm_sse.h"
                         ^
compilation terminated.
  CC rte_table_hash_key16.o
[...]

In this case, rte_lpm_sse.h is optionally symlinked if we're not on ARM.
I've tried patching away the issue by unconditionally symlinking the
_{neon,sse}.h files, and while I don't see the problem after that, I
don't really see why it would improve the situation.

Does anyone else see this as well?

// Simon

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

* Re: [dpdk-dev] librte_table build race with SYMLINK-FILE?
  2016-04-11 10:46 [dpdk-dev] librte_table build race with SYMLINK-FILE? Simon Kågström
@ 2016-04-11 18:15 ` Stephen Hemminger
  2016-04-11 18:53   ` Thomas Monjalon
  0 siblings, 1 reply; 4+ messages in thread
From: Stephen Hemminger @ 2016-04-11 18:15 UTC (permalink / raw)
  To: Simon Kågström; +Cc: dev, bruce.richardson, jerin.jacob, jianbo.liu

On Mon, 11 Apr 2016 12:46:16 +0200
Simon Kågström <simon.kagstrom@netinsight.net> wrote:

> Hi!
> 
> I'm upgrading from DPDK 2.1 to 16.04-rc4, and have a new build issue
> which I didn't see before. It's in the librte_table and happens from
> time to time (unfrequently) in my out-of-tree build. It looks like a
> race between comilation and SYMLINK-FILE:
> 
> [...]
> == Build lib/librte_table
>   CC rte_table_lpm_ipv6.o
>   CC rte_table_lpm.o
>   CC rte_table_acl.o
>   CC rte_table_hash_key8.o
> In file included from [...]lib/librte_table/rte_table_lpm.c:43:0:
> [...]/dpdk.build/include/rte_lpm.h:484:25: fatal error: rte_lpm_sse.h:
> No such file or directory
>  #include "rte_lpm_sse.h"
>                          ^
> compilation terminated.
>   CC rte_table_hash_key16.o
> [...]
> 
> In this case, rte_lpm_sse.h is optionally symlinked if we're not on ARM.
> I've tried patching away the issue by unconditionally symlinking the
> _{neon,sse}.h files, and while I don't see the problem after that, I
> don't really see why it would improve the situation.
> 
> Does anyone else see this as well?
> 
> // Simon

The issue is a missing dependency in the mk file for LPM.

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

* Re: [dpdk-dev] librte_table build race with SYMLINK-FILE?
  2016-04-11 18:15 ` Stephen Hemminger
@ 2016-04-11 18:53   ` Thomas Monjalon
  2016-04-12 12:05     ` Simon Kågström
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Monjalon @ 2016-04-11 18:53 UTC (permalink / raw)
  To: Stephen Hemminger, Simon Kågström
  Cc: dev, bruce.richardson, jerin.jacob, jianbo.liu

2016-04-11 11:15, Stephen Hemminger:
> On Mon, 11 Apr 2016 12:46:16 +0200
> Simon Kågström <simon.kagstrom@netinsight.net> wrote:
> > In file included from [...]lib/librte_table/rte_table_lpm.c:43:0:
> > [...]/dpdk.build/include/rte_lpm.h:484:25: fatal error: rte_lpm_sse.h:
> > No such file or directory
> >  #include "rte_lpm_sse.h"
> 
> The issue is a missing dependency in the mk file for LPM.

There is already this line:
DEPDIRS-$(CONFIG_RTE_LIBRTE_TABLE) += lib/librte_lpm

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

* Re: [dpdk-dev] librte_table build race with SYMLINK-FILE?
  2016-04-11 18:53   ` Thomas Monjalon
@ 2016-04-12 12:05     ` Simon Kågström
  0 siblings, 0 replies; 4+ messages in thread
From: Simon Kågström @ 2016-04-12 12:05 UTC (permalink / raw)
  To: Thomas Monjalon, Stephen Hemminger
  Cc: dev, bruce.richardson, jerin.jacob, jianbo.liu

On 2016-04-11 20:53, Thomas Monjalon wrote:
> 2016-04-11 11:15, Stephen Hemminger:
>> On Mon, 11 Apr 2016 12:46:16 +0200
>> Simon Kågström <simon.kagstrom@netinsight.net> wrote:
>>> In file included from [...]lib/librte_table/rte_table_lpm.c:43:0:
>>> [...]/dpdk.build/include/rte_lpm.h:484:25: fatal error: rte_lpm_sse.h:
>>> No such file or directory
>>>  #include "rte_lpm_sse.h"
>>
>> The issue is a missing dependency in the mk file for LPM.
> 
> There is already this line:
> DEPDIRS-$(CONFIG_RTE_LIBRTE_TABLE) += lib/librte_lpm

Sorry, this whole issue might have been caused by my old configuration
being carried over to 16.04. I'll let you know if I run into it again!

// Simon

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

end of thread, other threads:[~2016-04-12 12:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-04-11 10:46 [dpdk-dev] librte_table build race with SYMLINK-FILE? Simon Kågström
2016-04-11 18:15 ` Stephen Hemminger
2016-04-11 18:53   ` Thomas Monjalon
2016-04-12 12:05     ` Simon Kågström

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