netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
@ 2008-04-21  6:22 Ingo Molnar
  2008-04-21  6:53 ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Ingo Molnar @ 2008-04-21  6:22 UTC (permalink / raw)
  To: David Miller, John W. Linville, Tomas Winkler
  Cc: linux-kernel, kaber, torvalds, akpm, netdev, netfilter-devel,
	Mohamed Abbas, Ian Schram, Rafael J. Wysocki


> and after i restarted last night's QA run, within a few iterations a 
> fourth build failure popped up:

and here's a fifth build failure in the networking code, triggered in 
our testing:

  net/built-in.o: In function `sctp_manip_pkt':
  nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
  nf_nat_proto_sctp.c:(.text+0x6d180): undefined reference to `crc32c_le'
  nf_nat_proto_sctp.c:(.text+0x6d196): undefined reference to `crc32c_le'
  nf_nat_proto_sctp.c:(.text+0x6d1c6): undefined reference to `crc32c_le'

  http://redhat.com/~mingo/misc/config-Mon_Apr_21_01_52_14_CEST_2008.bad

	Ingo

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
  2008-04-21  6:22 [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le' Ingo Molnar
@ 2008-04-21  6:53 ` David Miller
  2008-04-21  8:44   ` Adrian Bunk
  0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2008-04-21  6:53 UTC (permalink / raw)
  To: mingo
  Cc: linville, tomas.winkler, linux-kernel, kaber, torvalds, akpm,
	netdev, netfilter-devel, mabbas, ischram, rjw

From: Ingo Molnar <mingo@elte.hu>
Date: Mon, 21 Apr 2008 08:22:44 +0200

>   net/built-in.o: In function `sctp_manip_pkt':
>   nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
>   nf_nat_proto_sctp.c:(.text+0x6d180): undefined reference to `crc32c_le'
>   nf_nat_proto_sctp.c:(.text+0x6d196): undefined reference to `crc32c_le'
>   nf_nat_proto_sctp.c:(.text+0x6d1c6): undefined reference to `crc32c_le'
> 
>   http://redhat.com/~mingo/misc/config-Mon_Apr_21_01_52_14_CEST_2008.bad

Thanks for your report Ingo.

Patrick, I'm not so sure how to fix this, or even what's wrong.

NF_NAT_PROTO_SCTP does a proper select on LIBCRC32C, but somehow
NF_NAT_PROTO_SCTP=y and LIBCRC32C=m.

I notice that IP_SCTP=m in this config.  So perhaps the issue is the
case where two features do a select on an infrastructure config
option.  Maybe whoever does the last 'select' gets to decide if the
option gets set to 'y' or 'm'?

It's just a guess, as I still for the life of me can't figure out
how these dependencies get sorted by the kbuild system in situations
like this.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
  2008-04-21  6:53 ` David Miller
@ 2008-04-21  8:44   ` Adrian Bunk
  2008-04-21  8:59     ` David Miller
  0 siblings, 1 reply; 5+ messages in thread
From: Adrian Bunk @ 2008-04-21  8:44 UTC (permalink / raw)
  To: David Miller
  Cc: mingo, linville, tomas.winkler, linux-kernel, kaber, torvalds,
	akpm, netdev, netfilter-devel, mabbas, ischram, rjw

On Sun, Apr 20, 2008 at 11:53:54PM -0700, David Miller wrote:
> From: Ingo Molnar <mingo@elte.hu>
> Date: Mon, 21 Apr 2008 08:22:44 +0200
> 
> >   net/built-in.o: In function `sctp_manip_pkt':
> >   nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
> >   nf_nat_proto_sctp.c:(.text+0x6d180): undefined reference to `crc32c_le'
> >   nf_nat_proto_sctp.c:(.text+0x6d196): undefined reference to `crc32c_le'
> >   nf_nat_proto_sctp.c:(.text+0x6d1c6): undefined reference to `crc32c_le'
> > 
> >   http://redhat.com/~mingo/misc/config-Mon_Apr_21_01_52_14_CEST_2008.bad
> 
> Thanks for your report Ingo.
> 
> Patrick, I'm not so sure how to fix this, or even what's wrong.
> 
> NF_NAT_PROTO_SCTP does a proper select on LIBCRC32C, but somehow
> NF_NAT_PROTO_SCTP=y and LIBCRC32C=m.
>...

You added the select on Saturday after Pete Clements reported the same 
issue.

The select is not yet in Linus' tree.

cu
Adrian

-- 

       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
  2008-04-21  8:44   ` Adrian Bunk
@ 2008-04-21  8:59     ` David Miller
  2008-04-21 11:18       ` Patrick McHardy
  0 siblings, 1 reply; 5+ messages in thread
From: David Miller @ 2008-04-21  8:59 UTC (permalink / raw)
  To: bunk
  Cc: mingo, linville, tomas.winkler, linux-kernel, kaber, torvalds,
	akpm, netdev, netfilter-devel, mabbas, ischram, rjw

From: Adrian Bunk <bunk@kernel.org>
Date: Mon, 21 Apr 2008 11:44:02 +0300

> On Sun, Apr 20, 2008 at 11:53:54PM -0700, David Miller wrote:
> > From: Ingo Molnar <mingo@elte.hu>
> > Date: Mon, 21 Apr 2008 08:22:44 +0200
> > 
> > >   net/built-in.o: In function `sctp_manip_pkt':
> > >   nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
> > >   nf_nat_proto_sctp.c:(.text+0x6d180): undefined reference to `crc32c_le'
> > >   nf_nat_proto_sctp.c:(.text+0x6d196): undefined reference to `crc32c_le'
> > >   nf_nat_proto_sctp.c:(.text+0x6d1c6): undefined reference to `crc32c_le'
> > > 
> > >   http://redhat.com/~mingo/misc/config-Mon_Apr_21_01_52_14_CEST_2008.bad
> > 
> > Thanks for your report Ingo.
> > 
> > Patrick, I'm not so sure how to fix this, or even what's wrong.
> > 
> > NF_NAT_PROTO_SCTP does a proper select on LIBCRC32C, but somehow
> > NF_NAT_PROTO_SCTP=y and LIBCRC32C=m.
> >...
> 
> You added the select on Saturday after Pete Clements reported the same 
> issue.
> 
> The select is not yet in Linus' tree.

Thanks for catching that Adrian.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
  2008-04-21  8:59     ` David Miller
@ 2008-04-21 11:18       ` Patrick McHardy
  0 siblings, 0 replies; 5+ messages in thread
From: Patrick McHardy @ 2008-04-21 11:18 UTC (permalink / raw)
  To: David Miller
  Cc: bunk, mingo, linville, tomas.winkler, linux-kernel, torvalds,
	akpm, netdev, netfilter-devel, mabbas, ischram, rjw

David Miller wrote:
> From: Adrian Bunk <bunk@kernel.org>
> Date: Mon, 21 Apr 2008 11:44:02 +0300
> 
>> On Sun, Apr 20, 2008 at 11:53:54PM -0700, David Miller wrote:
>>> From: Ingo Molnar <mingo@elte.hu>
>>> Date: Mon, 21 Apr 2008 08:22:44 +0200
>>>
>>>>   net/built-in.o: In function `sctp_manip_pkt':
>>>>   nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le'
>>>>   nf_nat_proto_sctp.c:(.text+0x6d180): undefined reference to `crc32c_le'
>>>>   nf_nat_proto_sctp.c:(.text+0x6d196): undefined reference to `crc32c_le'
>>>>   nf_nat_proto_sctp.c:(.text+0x6d1c6): undefined reference to `crc32c_le'
>>>>
>>>>   http://redhat.com/~mingo/misc/config-Mon_Apr_21_01_52_14_CEST_2008.bad
>>> Thanks for your report Ingo.
>>>
>>> Patrick, I'm not so sure how to fix this, or even what's wrong.
>>>
>>> NF_NAT_PROTO_SCTP does a proper select on LIBCRC32C, but somehow
>>> NF_NAT_PROTO_SCTP=y and LIBCRC32C=m.
>>> ...
>> You added the select on Saturday after Pete Clements reported the same 
>> issue.
>>
>> The select is not yet in Linus' tree.
> 
> Thanks for catching that Adrian.

I've verified that Saturday's patch results in a correct looking
config, with

CONFIG_NF_NAT_PROTO_SCTP=y
CONFIG_LIBCRC32C=y


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-04-21 11:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-21  6:22 [build bug] nf_nat_proto_sctp.c:(.text+0x6d173): undefined reference to `crc32c_le' Ingo Molnar
2008-04-21  6:53 ` David Miller
2008-04-21  8:44   ` Adrian Bunk
2008-04-21  8:59     ` David Miller
2008-04-21 11:18       ` Patrick McHardy

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).