Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-18 Thread Anders Darander
* Richard Purdie [111014 13:43]: > On Fri, 2011-10-14 at 12:47 +0200, Anders Darander wrote: > > * Anders Darander [111014 09:55]: > > > In our local tree, I've circumvented this race by applying a patch like > > > [3]. (Well, we could likely have put the lock in do_make_scripts() > > > instead o

Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-17 Thread Anders Darander
* Richard Purdie [111014 13:43]: > On Fri, 2011-10-14 at 12:47 +0200, Anders Darander wrote: > > * Anders Darander [111014 09:55]: > > > In our local tree, I've circumvented this race by applying a patch like > > > [3]. (Well, we could likely have put the lock in do_make_scripts() > > > instead o

Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-14 Thread Richard Purdie
On Fri, 2011-10-14 at 13:49 +0200, Koen Kooi wrote: > Op 14 okt. 2011, om 13:42 heeft Richard Purdie het volgende geschreven: > > > On Fri, 2011-10-14 at 12:47 +0200, Anders Darander wrote: > >> * Anders Darander [111014 09:55]: > >>> In our local tree, I've circumvented this race by applying a p

Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-14 Thread Koen Kooi
Op 14 okt. 2011, om 13:42 heeft Richard Purdie het volgende geschreven: > On Fri, 2011-10-14 at 12:47 +0200, Anders Darander wrote: >> * Anders Darander [111014 09:55]: >>> In our local tree, I've circumvented this race by applying a patch like >>> [3]. (Well, we could likely have put the lock i

Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-14 Thread Richard Purdie
On Fri, 2011-10-14 at 12:47 +0200, Anders Darander wrote: > * Anders Darander [111014 09:55]: > > In our local tree, I've circumvented this race by applying a patch like > > [3]. (Well, we could likely have put the lock in do_make_scripts() > > instead of module_do_compile(), as we have done curre

Re: [OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-14 Thread Anders Darander
* Anders Darander [111014 09:55]: > In our local tree, I've circumvented this race by applying a patch like > [3]. (Well, we could likely have put the lock in do_make_scripts() > instead of module_do_compile(), as we have done currently). Obviously, > I'm not proposing to apply this patch, as it d

[OE-core] [RFC] Preventing race when compiling external kernel modules

2011-10-14 Thread Anders Darander
Hi, As I've detailed in [1] (originally in [2], but [1] shows a more typical error), we're experiencing a race when including several external modules in our image. The race occurs during the compile step of the modules. Usually the problem shows up when compiling (or calculating the dependencie