netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "Michał Mirosław" <mirq-linux@rere.qmqm.pl>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
	"David S. Miller" <davem@davemloft.net>,
	sparclinux@vger.kernel.org
Subject: Re: [PATCH net-next 5/6] net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI
Date: Wed, 4 Jan 2017 20:59:08 +0800	[thread overview]
Message-ID: <201701042013.pYV9gNGd%fengguang.wu@intel.com> (raw)
In-Reply-To: <b4e1dcbeed867f958e90551263865d4eb046ae25.1483492355.git.mirq-linux@rere.qmqm.pl>

[-- Attachment #1: Type: text/plain, Size: 3258 bytes --]

Hi Michał,

[auto build test ERROR on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Micha-Miros-aw/Prepare-BPF-for-VLAN_TAG_PRESENT-cleanup/20170104-190258
config: sparc64-allmodconfig (attached as .config)
compiler: sparc64-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705
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=sparc64 

All error/warnings (new ones prefixed by >>):

   In file included from include/linux/compiler.h:58:0,
                    from include/uapi/linux/stddef.h:1,
                    from include/linux/stddef.h:4,
                    from include/uapi/linux/posix_types.h:4,
                    from include/uapi/linux/types.h:13,
                    from include/linux/types.h:5,
                    from include/linux/list.h:4,
                    from include/linux/module.h:9,
                    from include/linux/moduleloader.h:5,
                    from arch/sparc/net/bpf_jit_comp.c:1:
   arch/sparc/net/bpf_jit_comp.c: In function 'bpf_jit_compile':
>> include/linux/compiler-gcc.h:159:2: error: 'struct sk_buff' has no member named '__pkt_vlan_present_offset'; did you mean '__pkt_type_offset'?
     __builtin_offsetof(a, b)
     ^
   include/linux/stddef.h:16:32: note: in expansion of macro '__compiler_offsetof'
    #define offsetof(TYPE, MEMBER) __compiler_offsetof(TYPE, MEMBER)
                                   ^~~~~~~~~~~~~~~~~~~
>> arch/sparc/net/bpf_jit_comp.c:228:26: note: in expansion of macro 'offsetof'
    do { unsigned int _off = offsetof(STRUCT, FIELD);   \
                             ^~~~~~~~
>> arch/sparc/net/bpf_jit_comp.c:270:2: note: in expansion of macro '__emit_load8'
     __emit_load8(r_SKB, struct sk_buff, FIELD, DEST)
     ^~~~~~~~~~~~
>> arch/sparc/net/bpf_jit_comp.c:611:5: note: in expansion of macro '__emit_skb_load8'
        __emit_skb_load8(__pkt_vlan_present_offset, r_A);
        ^~~~~~~~~~~~~~~~

vim +159 include/linux/compiler-gcc.h

cb984d10 Joe Perches    2015-06-25  153  #  error Your version of gcc miscompiles the __weak directive
cb984d10 Joe Perches    2015-06-25  154  # endif
cb984d10 Joe Perches    2015-06-25  155  #endif
cb984d10 Joe Perches    2015-06-25  156  
cb984d10 Joe Perches    2015-06-25  157  #define __used			__attribute__((__used__))
cb984d10 Joe Perches    2015-06-25  158  #define __compiler_offsetof(a, b)					\
cb984d10 Joe Perches    2015-06-25 @159  	__builtin_offsetof(a, b)
cb984d10 Joe Perches    2015-06-25  160  
0d025d27 Josh Poimboeuf 2016-08-30  161  #if GCC_VERSION >= 40100
cb984d10 Joe Perches    2015-06-25  162  # define __compiletime_object_size(obj) __builtin_object_size(obj, 0)

:::::: The code at line 159 was first introduced by commit
:::::: cb984d101b30eb7478d32df56a0023e4603cba7f compiler-gcc: integrate the various compiler-gcc[345].h files

:::::: TO: Joe Perches <joe@perches.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 48625 bytes --]

  reply	other threads:[~2017-01-04 13:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-04  1:18 [PATCH net-next 0/6] Prepare BPF for VLAN_TAG_PRESENT cleanup Michał Mirosław
2017-01-04  1:18 ` [PATCH net-next 1/6] net/skbuff: add macros for VLAN_PRESENT bit Michał Mirosław
2017-01-04  1:18 ` [PATCH net-next 2/6] net/bpf_jit: ARM: split VLAN_PRESENT bit handling from VLAN_TCI Michał Mirosław
2017-01-04  1:18 ` [PATCH net-next 5/6] net/bpf_jit: SPARC: " Michał Mirosław
2017-01-04 12:59   ` kbuild test robot [this message]
2017-01-04  1:18 ` [PATCH net-next 6/6] net/bpf: " Michał Mirosław
2017-01-04  1:18 ` [PATCH net-next 4/6] net/bpf_jit: PPC: " Michał Mirosław
2017-01-04  1:18 ` [PATCH net-next 3/6] net/bpf_jit: MIPS: " Michał Mirosław
2017-01-04 20:11 ` [PATCH net-next 0/6] Prepare BPF for VLAN_TAG_PRESENT cleanup Daniel Borkmann
2017-01-04 21:30   ` Michał Mirosław
  -- strict thread matches above, loose matches on Subject: below --
2018-11-10 18:58 [PATCH net-next 0/6] Remove VLAN.CFI overload Michał Mirosław
2018-11-10 18:58 ` [PATCH net-next 5/6] net/bpf_jit: SPARC: split VLAN_PRESENT bit handling from VLAN_TCI Michał Mirosław

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=201701042013.pYV9gNGd%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=davem@davemloft.net \
    --cc=kbuild-all@01.org \
    --cc=mirq-linux@rere.qmqm.pl \
    --cc=netdev@vger.kernel.org \
    --cc=sparclinux@vger.kernel.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 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).