* Fwd: Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key [not found] ` <201510021431.hGNWKbMp%fengguang.wu@intel.com> @ 2015-10-02 16:04 ` David Ahern 2015-10-05 10:11 ` Joshua Kinard [not found] ` <20151005.063836.1612675139838377064.davem@davemloft.net> 1 sibling, 1 reply; 3+ messages in thread From: David Ahern @ 2015-10-02 16:04 UTC (permalink / raw) To: linux-mips Hello: I could use some help understanding a message from a kbuild robot. I submitted this patch: https://patchwork.ozlabs.org/patch/525102/ Which moves existing code into a function that is exported for modules. The kbuild robot found this warning: ----- config: mips-nlm_xlp_defconfig (attached as .config) reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=mips All warnings (new ones prefixed by >>): >> mips-linux-gnu-ld: net/ipv4/.tmp_fib_semantics.o: warning: Inconsistent ISA between e_flags and .MIPS.abiflags ----- I have no idea what that message means. I tried googling and found this recent thread: http://www.linux-mips.org/archives/linux-mips/2015-05/msg00156.html and accompanying one: https://sourceware.org/bugzilla/show_bug.cgi?id=18401 Can someone shed light on what the message means, why my patch generated the message and better yet how to fix it? Thanks, David ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Fwd: Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key 2015-10-02 16:04 ` Fwd: Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key David Ahern @ 2015-10-05 10:11 ` Joshua Kinard 0 siblings, 0 replies; 3+ messages in thread From: Joshua Kinard @ 2015-10-05 10:11 UTC (permalink / raw) To: David Ahern; +Cc: linux-mips On 10/02/2015 12:04, David Ahern wrote: > Hello: > > I could use some help understanding a message from a kbuild robot. I submitted > this patch: > https://patchwork.ozlabs.org/patch/525102/ > > Which moves existing code into a function that is exported for modules. The > kbuild robot found this warning: > > ----- > > config: mips-nlm_xlp_defconfig (attached as .config) > reproduce: > wget > https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross > -O ~/bin/make.cross > chmod +x ~/bin/make.cross > # save the attached .config to linux build tree > make.cross ARCH=mips > > All warnings (new ones prefixed by >>): > >>> mips-linux-gnu-ld: net/ipv4/.tmp_fib_semantics.o: warning: Inconsistent ISA >>> between e_flags and .MIPS.abiflags > > ----- > > I have no idea what that message means. I tried googling and found this recent > thread: > http://www.linux-mips.org/archives/linux-mips/2015-05/msg00156.html > and accompanying one: > https://sourceware.org/bugzilla/show_bug.cgi?id=18401 > > Can someone shed light on what the message means, why my patch generated the > message and better yet how to fix it? > > Thanks, > David Dunno if your patch generated the message per-say, but it seems some platforms in the MIPS tree cause this message to appear. I.e., IP27 or IP32 builds (or IP30 out-of-tree) don't emit this error, but building IP28 systems in-tree will cause it to appear quite a bit. The message itself, I believe is complaining that the stated CPU ISA (mips1 ... mips4, mips32r2, r10000, etc) in one of the sections (e.g.,.MIPS.abiflags) doesn't match the equivalent ISA value in the other section (e.g., e_flags). I haven't seen any harmful side effects of it myself. Seems to be more of a warning than anything else, and as long as the ISA matches a supported CPU (e.g., r10000 is compatible with mips4), it can be ignored. It does clutter up the build, though. --J ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <20151005.063836.1612675139838377064.davem@davemloft.net>]
* Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key [not found] ` <20151005.063836.1612675139838377064.davem@davemloft.net> @ 2015-10-05 14:08 ` David Ahern 0 siblings, 0 replies; 3+ messages in thread From: David Ahern @ 2015-10-05 14:08 UTC (permalink / raw) To: David Miller, lkp; +Cc: kbuild-all, netdev, dsahern, linux-mips On 10/5/15 7:38 AM, David Miller wrote: > From: kbuild test robot <lkp@intel.com> > Date: Fri, 2 Oct 2015 14:20:30 +0800 > >> Hi David, >> >> [auto build test results on next-20151001 -- if it's inappropriate base, please ignore] >> >> config: mips-nlm_xlp_defconfig (attached as .config) >> reproduce: >> wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross >> chmod +x ~/bin/make.cross >> # save the attached .config to linux build tree >> make.cross ARCH=mips >> >> All warnings (new ones prefixed by >>): >> >>>> mips-linux-gnu-ld: net/ipv4/.tmp_fib_semantics.o: warning: Inconsistent ISA between e_flags and .MIPS.abiflags > > Frankly this looks like a build infrastructure or tools bug to me. > That's pretty much what I got back from Joshua on the linux-mips mailing list when I inquired about why a code move generates the warning: "Dunno if your patch generated the message per-say, but it seems some platforms in the MIPS tree cause this message to appear. I.e., IP27 or IP32 builds (or IP30 out-of-tree) don't emit this error, but building IP28 systems in-tree will cause it to appear quite a bit. The message itself, I believe is complaining that the stated CPU ISA (mips1 ... mips4, mips32r2, r10000, etc) in one of the sections (e.g.,.MIPS.abiflags) doesn't match the equivalent ISA value in the other section (e.g., e_flags). I haven't seen any harmful side effects of it myself. Seems to be more of a warning than anything else, and as long as the ISA matches a supported CPU (e.g., r10000 is compatible with mips4), it can be ignored. It does clutter up the build, though." ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-10-05 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <1443713247-11230-4-git-send-email-dsa@cumulusnetworks.com>
[not found] ` <201510021431.hGNWKbMp%fengguang.wu@intel.com>
2015-10-02 16:04 ` Fwd: Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key David Ahern
2015-10-05 10:11 ` Joshua Kinard
[not found] ` <20151005.063836.1612675139838377064.davem@davemloft.net>
2015-10-05 14:08 ` David Ahern
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox