linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* linux-next: build warnings after merge of the final tree
@ 2010-08-02  4:10 Stephen Rothwell
  2010-08-02  8:03 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2010-08-02  4:10 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: linux-next, linux-kernel, Benjamin Herrenschmidt

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

Hi all,

After merging the final tree, today's linux-next build (powerpc
allnoconfig with CONFIG_DEBUG_SECTION_MISMATCH=y) produced these warnings:

WARNING: mm/built-in.o(.text+0x24324): Section mismatch in reference from the function memblock_find_in_range() to the function .init.text:memblock_find_base()
The function memblock_find_in_range() references
the function __init memblock_find_base().
This is often because memblock_find_in_range lacks a __init 
annotation or the annotation of memblock_find_base is wrong.

WARNING: mm/built-in.o(.text+0x24610): Section mismatch in reference from the function memblock_double_array() to the function .init.text:memblock_free()
The function memblock_double_array() references
the function __init memblock_free().
This is often because memblock_double_array lacks a __init 
annotation or the annotation of memblock_free is wrong.

WARNING: mm/built-in.o(.text+0x24670): Section mismatch in reference from the function memblock_double_array() to the function .init.text:memblock_find_base()
The function memblock_double_array() references
the function __init memblock_find_base().
This is often because memblock_double_array lacks a __init 
annotation or the annotation of memblock_find_base is wrong.

WARNING: vmlinux.o(.text+0x10264): Section mismatch in reference from the function setup_initial_memory_limit() to the function .init.text:memblock_set_current_limit()
The function setup_initial_memory_limit() references
the function __init memblock_set_current_limit().
This is often because setup_initial_memory_limit lacks a __init 
annotation or the annotation of memblock_set_current_limit is wrong.

Introduced by the memblock series in the tip tree.
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* Re: linux-next: build warnings after merge of the final tree
  2010-08-02  4:10 Stephen Rothwell
@ 2010-08-02  8:03 ` Benjamin Herrenschmidt
  2010-08-02  8:51   ` Stephen Rothwell
  0 siblings, 1 reply; 9+ messages in thread
From: Benjamin Herrenschmidt @ 2010-08-02  8:03 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	linux-next, linux-kernel

On Mon, 2010-08-02 at 14:10 +1000, Stephen Rothwell wrote:
> Hi all,
> 
> After merging the final tree, today's linux-next build (powerpc
> allnoconfig with CONFIG_DEBUG_SECTION_MISMATCH=y) produced these warnings:

 .../...

> Introduced by the memblock series in the tip tree.

Ok, so those are my fault but none are deadly. I'll do a fixup patch on
top of this.

Cheers,
Ben.

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

* Re: linux-next: build warnings after merge of the final tree
  2010-08-02  8:03 ` Benjamin Herrenschmidt
@ 2010-08-02  8:51   ` Stephen Rothwell
  0 siblings, 0 replies; 9+ messages in thread
From: Stephen Rothwell @ 2010-08-02  8:51 UTC (permalink / raw)
  To: Benjamin Herrenschmidt
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	linux-next, linux-kernel

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

Hi Ben,

On Mon, 02 Aug 2010 18:03:50 +1000 Benjamin Herrenschmidt <benh@kernel.crashing.org> wrote:
>
> Ok, so those are my fault but none are deadly. I'll do a fixup patch on
> top of this.

OK, thanks.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 490 bytes --]

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

* linux-next: build warnings after merge of the final tree
@ 2011-12-14  7:15 Stephen Rothwell
  2011-12-14 16:32 ` Steven Rostedt
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2011-12-14  7:15 UTC (permalink / raw)
  To: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra
  Cc: linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

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

Hi all,

After merging the final tree, today's linux-next build (powerpc allyesconfig)
produced these warnings:

In file included from arch/powerpc/include/asm/asm-offsets.h:1:0,
                 from kernel/trace/trace_syscalls.c:9:
include/generated/asm-offsets.h:15:0: warning: "NMI_MASK" redefined [enabled by default]
include/linux/hardirq.h:56:0: note: this is the location of the previous definition
include/generated/asm-offsets.h:128:0: warning: "CLONE_VM" redefined [enabled by default]
include/linux/sched.h:8:0: note: this is the location of the previous definition
include/generated/asm-offsets.h:129:0: warning: "CLONE_UNTRACED" redefined [enabled by default]
include/linux/sched.h:22:0: note: this is the location of the previous definition
include/generated/asm-offsets.h:165:0: warning: "NSEC_PER_SEC" redefined [enabled by default]
include/linux/time.h:40:0: note: this is the location of the previous definition
include/generated/asm-offsets.h:173:0: warning: "PGD_TABLE_SIZE" redefined [enabled by default]
arch/powerpc/include/asm/pgtable-ppc64-4k.h:17:0: note: this is the location of the previous definition

Maybe caused by commit d5e553d6e0a4 ("trace: Include <asm/asm-offsets.h>
in trace_syscalls.c") from the tip tree.  These warnings may have been
here for a while as it is hard to catch the new ones among the flood.

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warnings after merge of the final tree
  2011-12-14  7:15 linux-next: build warnings after merge of the final tree Stephen Rothwell
@ 2011-12-14 16:32 ` Steven Rostedt
  2011-12-14 16:47   ` H. Peter Anvin
  0 siblings, 1 reply; 9+ messages in thread
From: Steven Rostedt @ 2011-12-14 16:32 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Thomas Gleixner, Ingo Molnar, H. Peter Anvin, Peter Zijlstra,
	linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

On Wed, 2011-12-14 at 18:15 +1100, Stephen Rothwell wrote:

> Maybe caused by commit d5e553d6e0a4 ("trace: Include <asm/asm-offsets.h>
> in trace_syscalls.c") from the tip tree.  These warnings may have been
> here for a while as it is hard to catch the new ones among the flood.
> 

hpa,

Was this change only needed for x86? If so, could you put that into
asm/ftrace.h instead?

-- Steve

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

* Re: linux-next: build warnings after merge of the final tree
  2011-12-14 16:32 ` Steven Rostedt
@ 2011-12-14 16:47   ` H. Peter Anvin
  2011-12-22  5:33     ` Stephen Rothwell
  0 siblings, 1 reply; 9+ messages in thread
From: H. Peter Anvin @ 2011-12-14 16:47 UTC (permalink / raw)
  To: Steven Rostedt
  Cc: Stephen Rothwell, Thomas Gleixner, Ingo Molnar, Peter Zijlstra,
	linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

On 12/14/2011 08:32 AM, Steven Rostedt wrote:
> On Wed, 2011-12-14 at 18:15 +1100, Stephen Rothwell wrote:
> 
>> Maybe caused by commit d5e553d6e0a4 ("trace: Include <asm/asm-offsets.h>
>> in trace_syscalls.c") from the tip tree.  These warnings may have been
>> here for a while as it is hard to catch the new ones among the flood.
>>
> 
> hpa,
> 
> Was this change only needed for x86? If so, could you put that into
> asm/ftrace.h instead?
> 

Yes (on both accounts).  It was part of the syscall changes; I'll move
the include.

	-hpa


-- 
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel.  I don't speak on their behalf.

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

* Re: linux-next: build warnings after merge of the final tree
  2011-12-14 16:47   ` H. Peter Anvin
@ 2011-12-22  5:33     ` Stephen Rothwell
  2012-01-04  8:06       ` Stephen Rothwell
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2011-12-22  5:33 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Steven Rostedt, Thomas Gleixner, Ingo Molnar, Peter Zijlstra,
	linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

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

Hi Peter,

On Wed, 14 Dec 2011 08:47:01 -0800 "H. Peter Anvin" <hpa@zytor.com> wrote:
>
> On 12/14/2011 08:32 AM, Steven Rostedt wrote:
> > On Wed, 2011-12-14 at 18:15 +1100, Stephen Rothwell wrote:
> > 
> >> Maybe caused by commit d5e553d6e0a4 ("trace: Include <asm/asm-offsets.h>
> >> in trace_syscalls.c") from the tip tree.  These warnings may have been
> >> here for a while as it is hard to catch the new ones among the flood.
> >>
> > 
> > hpa,
> > 
> > Was this change only needed for x86? If so, could you put that into
> > asm/ftrace.h instead?
> > 
> 
> Yes (on both accounts).  It was part of the syscall changes; I'll move
> the include.

Ping?
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warnings after merge of the final tree
  2011-12-22  5:33     ` Stephen Rothwell
@ 2012-01-04  8:06       ` Stephen Rothwell
  2012-01-04  9:23         ` hpanvin@gmail.com
  0 siblings, 1 reply; 9+ messages in thread
From: Stephen Rothwell @ 2012-01-04  8:06 UTC (permalink / raw)
  To: H. Peter Anvin
  Cc: Steven Rostedt, Thomas Gleixner, Ingo Molnar, Peter Zijlstra,
	linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

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

Hi again,

On Thu, 22 Dec 2011 16:33:04 +1100 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> On Wed, 14 Dec 2011 08:47:01 -0800 "H. Peter Anvin" <hpa@zytor.com> wrote:
> >
> > On 12/14/2011 08:32 AM, Steven Rostedt wrote:
> > > On Wed, 2011-12-14 at 18:15 +1100, Stephen Rothwell wrote:
> > > 
> > >> Maybe caused by commit d5e553d6e0a4 ("trace: Include <asm/asm-offsets.h>
> > >> in trace_syscalls.c") from the tip tree.  These warnings may have been
> > >> here for a while as it is hard to catch the new ones among the flood.
> > >>
> > > 
> > > hpa,
> > > 
> > > Was this change only needed for x86? If so, could you put that into
> > > asm/ftrace.h instead?
> > 
> > Yes (on both accounts).  It was part of the syscall changes; I'll move
> > the include.
> 
> Ping?

Can we please have this fixed ...
-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]

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

* Re: linux-next: build warnings after merge of the final tree
  2012-01-04  8:06       ` Stephen Rothwell
@ 2012-01-04  9:23         ` hpanvin@gmail.com
  0 siblings, 0 replies; 9+ messages in thread
From: hpanvin@gmail.com @ 2012-01-04  9:23 UTC (permalink / raw)
  To: Stephen Rothwell
  Cc: Steven Rostedt, Thomas Gleixner, Ingo Molnar, Peter Zijlstra,
	linux-next, linux-kernel, Benjamin Herrenschmidt, Paul Mackerras,
	linuxppc-dev

I thought it had been...?  Need to investigate (as baby permits...)

Stephen Rothwell <sfr@canb.auug.org.au> wrote:

>Hi again,
>
>On Thu, 22 Dec 2011 16:33:04 +1100 Stephen Rothwell
><sfr@canb.auug.org.au> wrote:
>>
>> On Wed, 14 Dec 2011 08:47:01 -0800 "H. Peter Anvin" <hpa@zytor.com>
>wrote:
>> >
>> > On 12/14/2011 08:32 AM, Steven Rostedt wrote:
>> > > On Wed, 2011-12-14 at 18:15 +1100, Stephen Rothwell wrote:
>> > > 
>> > >> Maybe caused by commit d5e553d6e0a4 ("trace: Include
><asm/asm-offsets.h>
>> > >> in trace_syscalls.c") from the tip tree.  These warnings may
>have been
>> > >> here for a while as it is hard to catch the new ones among the
>flood.
>> > >>
>> > > 
>> > > hpa,
>> > > 
>> > > Was this change only needed for x86? If so, could you put that
>into
>> > > asm/ftrace.h instead?
>> > 
>> > Yes (on both accounts).  It was part of the syscall changes; I'll
>move
>> > the include.
>> 
>> Ping?
>
>Can we please have this fixed ...
>-- 
>Cheers,
>Stephen Rothwell                    sfr@canb.auug.org.au
>http://www.canb.auug.org.au/~sfr/

-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

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

end of thread, other threads:[~2012-01-04  9:24 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-14  7:15 linux-next: build warnings after merge of the final tree Stephen Rothwell
2011-12-14 16:32 ` Steven Rostedt
2011-12-14 16:47   ` H. Peter Anvin
2011-12-22  5:33     ` Stephen Rothwell
2012-01-04  8:06       ` Stephen Rothwell
2012-01-04  9:23         ` hpanvin@gmail.com
  -- strict thread matches above, loose matches on Subject: below --
2010-08-02  4:10 Stephen Rothwell
2010-08-02  8:03 ` Benjamin Herrenschmidt
2010-08-02  8:51   ` Stephen Rothwell

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