Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1458693

Re: linux-next: build failure after merge of Linus' tree

From Doug Ledford <dledford@redhat.com>
Newsgroups linux.kernel
Subject Re: linux-next: build failure after merge of Linus' tree
Date 2016-08-09 14:50 +0200
Message-ID <s4eDL-7BJ-15@gated-at.bofh.it> (permalink)
References <s3I1b-3cp-1@gated-at.bofh.it> <s3UOK-3af-41@gated-at.bofh.it> <s4b3c-5fC-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On 8/9/2016 4:54 AM, Leon Romanovsky wrote:
> On Mon, Aug 8, 2016 at 6:37 PM, Doug Ledford <dledford@redhat.com> wrote:
>> On 8/7/2016 9:58 PM, Stephen Rothwell wrote:
>>> Hi all,
>>>
>>> With Linus' tree, today's linux-next build (powerpc allyesconfig) failed
>>> like this:
>>>
>>> drivers/infiniband/sw/built-in.o:(.opd+0x1698): multiple definition of `copy_data'
>>> drivers/infiniband/hw/built-in.o:(.opd+0xe5f8): first defined here
>>> drivers/infiniband/sw/built-in.o:(.opd+0x1320): multiple definition of `rxe_av_from_attr'
>>> drivers/infiniband/hw/built-in.o:(.opd+0xe280): first defined here
>>
>> This looks very suspicious.  I think you are picking up two copies of
>> the rxe code.  One from Linus tree and one from probably Leon's tree.
>> The thing is, the rxe driver is an entirely software RoCE driver.  So,
>> after I picked it up, I moved it from drivers/infiniband/hw to
>> drivers/infiniband/sw where it more correctly belongs.  Leon's tree
>> doesn't have that move, and since you pull Leon's tree into your -next
>> process, with the allyesconfig you are trying to build two copies of it
>> and put them both statically into the kernel, hence all of the double
>> definitions.  Leon needs to drop his copy of the rxe driver and let the
>> one in Linus' tree be the only one in existence.
> 
> Doug,
> Just to be clear on this point and on my flow.
> I'm resetting my ->next branches on the same day of your email
> announcement of acceptance.

Ok, thanks for the clarification.  As it turned out, I needed to reset
my for-next tag.


-- 
Doug Ledford <dledford@redhat.com>
    GPG Key ID: 0E572FDD

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

linux-next: build failure after merge of Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-08-08 04:00 +0200
  Re: linux-next: build failure after merge of Linus' tree Doug Ledford <dledford@redhat.com> - 2016-08-08 17:40 +0200
    Re: linux-next: build failure after merge of Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-08-09 00:00 +0200
      Re: linux-next: build failure after merge of Linus' tree Doug Ledford <dledford@redhat.com> - 2016-08-09 01:40 +0200
        Re: linux-next: build failure after merge of Linus' tree Stephen Rothwell <sfr@canb.auug.org.au> - 2016-08-09 02:00 +0200
    Re: linux-next: build failure after merge of Linus' tree Leon Romanovsky <leon@kernel.org> - 2016-08-09 11:00 +0200
      Re: linux-next: build failure after merge of Linus' tree Doug Ledford <dledford@redhat.com> - 2016-08-09 14:50 +0200

csiph-web