Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-08-02 Thread Michael Ellerman
On Fri, 2015-07-31 at 09:29 -0700, Greg Kroah-Hartman wrote: > On Fri, Jul 31, 2015 at 05:01:01PM +1000, Michael Ellerman wrote: > > It's obviously possible that some samples build with that configuration, but > > building against another arch'es kernel headers just seems like it's asking > > for

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-31 Thread Greg Kroah-Hartman
On Fri, Jul 31, 2015 at 05:01:01PM +1000, Michael Ellerman wrote: > It's obviously possible that some samples build with that configuration, but > building against another arch'es kernel headers just seems like it's asking > for > trouble. Even if we can build the samples, they will never run corr

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-31 Thread Michael Ellerman
On Thu, 2015-07-30 at 16:23 +0200, David Herrmann wrote: > Hi > > On Thu, Jul 30, 2015 at 3:50 PM, Paul Gortmaker > wrote: > > On 2015-07-29 12:31 PM, David Herrmann wrote: > >> Hi > >> > >> On Wed, Jul 29, 2015 at 6:19 PM, Paul Gortmaker > >> wrote: > >>> Hi David, > >>> > >>> Does it make sens

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-30 Thread Michael Ellerman
On Fri, 2015-07-31 at 09:55 +1000, Stephen Rothwell wrote: > Hi Paul, > > On Thu, 30 Jul 2015 11:32:05 -0400 Paul Gortmaker > wrote: > > > > Well, it only shows up when we cross compile for mips. It does not > > seem to be showing up for any other arch (and we cover ~10 of them). > > Nor does i

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-30 Thread Stephen Rothwell
Hi Paul, On Thu, 30 Jul 2015 11:32:05 -0400 Paul Gortmaker wrote: > > Well, it only shows up when we cross compile for mips. It does not > seem to be showing up for any other arch (and we cover ~10 of them). > Nor does it show up for x86 builds. Also note that the main linux-next > build machi

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-30 Thread Paul Gortmaker
On 2015-07-30 10:23 AM, David Herrmann wrote: > Hi > > On Thu, Jul 30, 2015 at 3:50 PM, Paul Gortmaker > wrote: >> On 2015-07-29 12:31 PM, David Herrmann wrote: >>> Hi >>> >>> On Wed, Jul 29, 2015 at 6:19 PM, Paul Gortmaker >>> wrote: Hi David, Does it make sense to build this sam

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-30 Thread David Herrmann
Hi On Thu, Jul 30, 2015 at 3:50 PM, Paul Gortmaker wrote: > On 2015-07-29 12:31 PM, David Herrmann wrote: >> Hi >> >> On Wed, Jul 29, 2015 at 6:19 PM, Paul Gortmaker >> wrote: >>> Hi David, >>> >>> Does it make sense to build this sample when cross compiling? >>> >>> The reason I ask is that it

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-30 Thread Paul Gortmaker
On 2015-07-29 12:31 PM, David Herrmann wrote: > Hi > > On Wed, Jul 29, 2015 at 6:19 PM, Paul Gortmaker > wrote: >> Hi David, >> >> Does it make sense to build this sample when cross compiling? >> >> The reason I ask is that it has been breaking the linux-next build of >> allmodconfig for a while

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-29 Thread Michael Ellerman
On Wed, 2015-07-29 at 12:19 -0400, Paul Gortmaker wrote: > Hi David, > > Does it make sense to build this sample when cross compiling? > > The reason I ask is that it has been breaking the linux-next build of > allmodconfig for a while now, with: > > HOSTCC samples/kdbus/kdbus-workers > sampl

Re: samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-29 Thread David Herrmann
Hi On Wed, Jul 29, 2015 at 6:19 PM, Paul Gortmaker wrote: > Hi David, > > Does it make sense to build this sample when cross compiling? > > The reason I ask is that it has been breaking the linux-next build of > allmodconfig for a while now, with: > > HOSTCC samples/kdbus/kdbus-workers > sampl

samples/kdbus/kdbus-workers.c and cross compiling MIPS

2015-07-29 Thread Paul Gortmaker
Hi David, Does it make sense to build this sample when cross compiling? The reason I ask is that it has been breaking the linux-next build of allmodconfig for a while now, with: HOSTCC samples/kdbus/kdbus-workers samples/kdbus/kdbus-workers.c: In function ‘prime_new’: samples/kdbus/kdbus-work