Re: net build error
From: Dmitry Vyukov
Date: Mon Dec 31 2018 - 05:44:58 EST
On Sun, Sep 23, 2018 at 10:14 AM Dmitry Vyukov <dvyukov@xxxxxxxxxx> wrote:
>
> On Sun, Sep 23, 2018 at 9:42 AM, syzbot
> <syzbot+a72ba31e3224309179d4@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
> > Hello,
> >
> > syzbot found the following crash on:
> >
> > HEAD commit: 474ff2600889 net-ethtool: ETHTOOL_GUFO did not and should ..
> > git tree: net
> > console output: https://syzkaller.appspot.com/x/log.txt?x=164c4059400000
> > kernel config: https://syzkaller.appspot.com/x/.config?x=5fa12be50bca08d8
> > dashboard link: https://syzkaller.appspot.com/bug?extid=a72ba31e3224309179d4
> > compiler: gcc (GCC) 8.0.1 20180413 (experimental)
> >
> > Unfortunately, I don't have any reproducer for this crash yet.
> >
> > IMPORTANT: if you fix the bug, please add the following tag to the commit:
> > Reported-by: syzbot+a72ba31e3224309179d4@xxxxxxxxxxxxxxxxxxxxxxxxx
>
> +netdev
>
> The root cause:
Turns out +David fixed this in September with:
#syz fix: rds: Fix build regression.
> net/rds/ib.o:(.data..percpu..shared_aligned+0x0): multiple definition
> of `rds_ib_stats'
> net/rds/rdma_transport.o:(.data..percpu..shared_aligned+0x0): first defined here
> net/rds/ib_cm.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_recv.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_ring.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_send.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_stats.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_sysctl.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_rdma.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_fmr.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> net/rds/ib_frmr.o:(.data..percpu..shared_aligned+0x0): multiple
> definition of `rds_ib_stats'
> net/rds/rdma_transport.o:/syzkaller/managers/upstream-net-this-kasan-gce/kernel/net/rds/rdma_transport.c:284:
> first defined here
> Makefile:1030: recipe for target 'vmlinux' failed
> make: *** [vmlinux] Error 1
>
>
> > ---
> > This bug is generated by a bot. It may contain errors.
> > See https://goo.gl/tpsmEJ for more information about syzbot.
> > syzbot engineers can be reached at syzkaller@xxxxxxxxxxxxxxxxx
> >
> > syzbot will keep track of this bug report. See:
> > https://goo.gl/tpsmEJ#bug-status-tracking for how to communicate with
> > syzbot.