All of lore.kernel.org
 help / color / mirror / Atom feed
* Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
@ 2007-08-02  9:54 John Sigler
  2007-08-02 10:35 ` Satyam Sharma
  2007-08-02 11:50 ` Sergio Monteiro Basto
  0 siblings, 2 replies; 3+ messages in thread
From: John Sigler @ 2007-08-02  9:54 UTC (permalink / raw)
  To: linux-rt-users; +Cc: linux-kernel

Hello,

I'm trying to build a 2.6.22.1-rt9 kernel for a P3.

I used 'make xconfig' to create .config
http://linux.kernel.free.fr/latency/config-2.6.22.1-rt9-adlink

I get the following warning:

   LD      vmlinux
   SYSMAP  System.map
   SYSMAP  .tmp_System.map
   MODPOST vmlinux
WARNING: kernel/built-in.o(.text+0x19152): Section mismatch: reference 
to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
   AS      arch/i386/boot/bootsect.o
   LD      arch/i386/boot/bootsect
   AS      arch/i386/boot/setup.o
   LD      arch/i386/boot/setup
   AS      arch/i386/boot/compressed/head.o
   CC      arch/i386/boot/compressed/misc.o
   OBJCOPY arch/i386/boot/compressed/vmlinux.bin
   GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
   LD      arch/i386/boot/compressed/piggy.o
   LD      arch/i386/boot/compressed/vmlinux
   OBJCOPY arch/i386/boot/vmlinux.bin
   HOSTCC  arch/i386/boot/tools/build
   BUILD   arch/i386/boot/bzImage
Root device is (3, 1)
Boot sector 512 bytes.
Setup is 7082 bytes.
System is 1142 kB
Kernel: arch/i386/boot/bzImage is ready  (#1)
   Building modules, stage 2.
   MODPOST 0 modules


I also get the following warnings (which seem less severe)

   CC      drivers/pci/pci.o
   CC      drivers/pci/quirks.o
   CC      drivers/pci/pci-driver.o
   CC      drivers/pci/search.o
drivers/pci/search.c: In function `pci_find_slot':
drivers/pci/search.c:99: warning: `pci_find_device' is deprecated 
(declared at include/linux/pci.h:477)
drivers/pci/search.c: At top level:
drivers/pci/search.c:434: warning: `pci_find_device' is deprecated 
(declared at drivers/pci/search.c:241)
drivers/pci/search.c:434: warning: `pci_find_device' is deprecated 
(declared at drivers/pci/search.c:241)
   CC      drivers/pci/pci-sysfs.o
   CC      drivers/pci/rom.o


Finally, I note that X86_CMPXCHG64 is no longer defined since its 
specification was changed between 2.6.20 and 2.6.22.

  config X86_CMPXCHG64
     bool
-   depends on !M386 && !M486
+   depends on X86_PAE
     default y

Will this have an impact on spinlocks? RCU? something else?

Regards.

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

* Re: Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
  2007-08-02  9:54 Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head') John Sigler
@ 2007-08-02 10:35 ` Satyam Sharma
  2007-08-02 11:50 ` Sergio Monteiro Basto
  1 sibling, 0 replies; 3+ messages in thread
From: Satyam Sharma @ 2007-08-02 10:35 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-rt-users, linux-kernel



On Thu, 2 Aug 2007, John Sigler wrote:

> Hello,
> 
> I'm trying to build a 2.6.22.1-rt9 kernel for a P3.
> 
> I used 'make xconfig' to create .config
> http://linux.kernel.free.fr/latency/config-2.6.22.1-rt9-adlink
> 
> I get the following warning:
> 
>   LD      vmlinux
>   SYSMAP  System.map
>   SYSMAP  .tmp_System.map
>   MODPOST vmlinux
> WARNING: kernel/built-in.o(.text+0x19152): Section mismatch: reference to
> .init.text: (between 'kthreadd' and 'init_waitqueue_head')

This is a bogus warning, already taken care of in 2.6.23-rc1-latestgit.

> Finally, I note that X86_CMPXCHG64 is no longer defined since its
> specification was changed between 2.6.20 and 2.6.22.
> 
>  config X86_CMPXCHG64
>     bool
> -   depends on !M386 && !M486
> +   depends on X86_PAE
>     default y
> 
> Will this have an impact on spinlocks? RCU? something else?

No idea about this one.

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

* Re: Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
  2007-08-02  9:54 Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head') John Sigler
  2007-08-02 10:35 ` Satyam Sharma
@ 2007-08-02 11:50 ` Sergio Monteiro Basto
  1 sibling, 0 replies; 3+ messages in thread
From: Sergio Monteiro Basto @ 2007-08-02 11:50 UTC (permalink / raw)
  To: John Sigler; +Cc: linux-rt-users, linux-kernel

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

On Thu, 2007-08-02 at 11:54 +0200, John Sigler wrote:
> Hello,
> 
> I'm trying to build a 2.6.22.1-rt9 kernel for a P3.
> 
> I used 'make xconfig' to create .config
> http://linux.kernel.free.fr/latency/config-2.6.22.1-rt9-adlink
> 
> I get the following warning:
> 
>    LD      vmlinux
>    SYSMAP  System.map
>    SYSMAP  .tmp_System.map
>    MODPOST vmlinux
> WARNING: kernel/built-in.o(.text+0x19152): Section mismatch: reference 
> to .init.text: (between 'kthreadd' and 'init_waitqueue_head')
>    AS      arch/i386/boot/bootsect.o
>    LD      arch/i386/boot/bootsect
>    AS      arch/i386/boot/setup.o
>    LD      arch/i386/boot/setup
>    AS      arch/i386/boot/compressed/head.o
>    CC      arch/i386/boot/compressed/misc.o
>    OBJCOPY arch/i386/boot/compressed/vmlinux.bin
>    GZIP    arch/i386/boot/compressed/vmlinux.bin.gz
>    LD      arch/i386/boot/compressed/piggy.o
>    LD      arch/i386/boot/compressed/vmlinux
>    OBJCOPY arch/i386/boot/vmlinux.bin
>    HOSTCC  arch/i386/boot/tools/build
>    BUILD   arch/i386/boot/bzImage
> Root device is (3, 1)
> Boot sector 512 bytes.
> Setup is 7082 bytes.
> System is 1142 kB
> Kernel: arch/i386/boot/bzImage is ready  (#1)
>    Building modules, stage 2.
>    MODPOST 0 modules
> 
> 
> I also get the following warnings (which seem less severe)
> 
>    CC      drivers/pci/pci.o
>    CC      drivers/pci/quirks.o
>    CC      drivers/pci/pci-driver.o
>    CC      drivers/pci/search.o
> drivers/pci/search.c: In function `pci_find_slot':
> drivers/pci/search.c:99: warning: `pci_find_device' is deprecated 
> (declared at include/linux/pci.h:477)
> drivers/pci/search.c: At top level:
> drivers/pci/search.c:434: warning: `pci_find_device' is deprecated 
> (declared at drivers/pci/search.c:241)
> drivers/pci/search.c:434: warning: `pci_find_device' is deprecated 
> (declared at drivers/pci/search.c:241)
>    CC      drivers/pci/pci-sysfs.o
>    CC      drivers/pci/rom.o
> 
> 
> Finally, I note that X86_CMPXCHG64 is no longer defined since its 
> specification was changed between 2.6.20 and 2.6.22.
> 
>   config X86_CMPXCHG64
>      bool
> -   depends on !M386 && !M486
> +   depends on X86_PAE
>      default y

this patch resolve the warning ? 
I always got this warning but don't care much about it 

-- 
Sérgio M. B.

[-- Attachment #2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2192 bytes --]

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

end of thread, other threads:[~2007-08-02 11:50 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-02  9:54 Section mismatch: reference to .init.text: (between 'kthreadd' and 'init_waitqueue_head') John Sigler
2007-08-02 10:35 ` Satyam Sharma
2007-08-02 11:50 ` Sergio Monteiro Basto

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.