All of lore.kernel.org
 help / color / mirror / Atom feed
From: Joshua Kinard <kumba@gentoo.org>
To: David Ahern <dsa@cumulusnetworks.com>
Cc: linux-mips@linux-mips.org
Subject: Re: Fwd: Re: [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key
Date: Mon, 5 Oct 2015 06:11:26 -0400	[thread overview]
Message-ID: <56124CCE.1080703@gentoo.org> (raw)
In-Reply-To: <560EAAF3.3040509@cumulusnetworks.com>

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

  reply	other threads:[~2015-10-05 10:11 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 15:27 [PATCH net-next 0/5] net: Add saddr op to l3mdev and vrf David Ahern
2015-10-01 15:27 ` [PATCH net-next 1/5] net: Rename FLOWI_FLAG_VRFSRC to FLOWI_FLAG_L3MDEV_SRC David Ahern
2015-10-01 15:27 ` [PATCH net-next 2/5] net: Add netif_is_l3_slave David Ahern
2015-10-05 14:44   ` David Ahern
2015-10-01 15:27 ` [PATCH net-next 3/5] net: Refactor path selection in __ip_route_output_key David Ahern
2015-10-02  6:20   ` kbuild test robot
2015-10-02 16:04     ` Fwd: " David Ahern
2015-10-05 10:11       ` Joshua Kinard [this message]
2015-10-05 13:38     ` David Miller
2015-10-05 14:08       ` David Ahern
2015-10-01 15:27 ` [PATCH net-next 4/5] net: Add source address lookup op for VRF David Ahern
2015-10-01 15:27 ` [PATCH net-next 5/5] net: Add l3mdev saddr lookup to raw_sendmsg David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56124CCE.1080703@gentoo.org \
    --to=kumba@gentoo.org \
    --cc=dsa@cumulusnetworks.com \
    --cc=linux-mips@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.