Section mismatch: reference to .init.data:ino (between 'C.261.16921' and 'acpi_irq_model')

From: Len Brown <lenb_at_kernel.org>
Date: 2007-10-03 14:11:37
Tony,
Do you have any idea what these build warnings are from?
They clog up my build script output, which sucks up any warnings that include 'acpi'...

acpi_irq_model is just a standard global variable, so it seems to be an innocent bystander --
but I'm not sure what it is standing by...

smp_boot_data is .init -- but it seems to be declared and used properly,
so I don't know what the compiler warning is about.

__cpuinitdata node_to_pxm_map -- and it seems to be used properly,
so I've no clue why this one complains on allnoconfig
and sn2_defconfig.  They both exclude CPU_HOTPLUG -- but sim
and bigsur also don't, and they don't complain...

I'm building native on an FC7 ia64 box.

etc.

thanks,
-Len

[lenb@fusion acpi]$ gcc --version
gcc (GCC) 4.1.2 20070502 (Red Hat 4.1.2-12)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


[lenb@fusion acpi]$ /lab/bin/build.configs
Searching for old patches...
NONE
None present.
Applying Work In Progress patch...
KERNELRELEASE 2.6.23
Building ia64
MAKE is time make ARCH=ia64 CROSS_COMPILE=
Reading kernel config files from /lab/configs/ia64/2.6.23
SUMMARY: out.ia64/out
Tue Oct  2 23:14:15 EDT 2007
#1 errs.ACPI
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.227.15940' and 'acpi_irq_model')
Tue Oct  2 23:16:38 EDT 2007
#2 errs.ACPI.ACPI_DEBUG
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.227.15940' and 'acpi_irq_model')
Tue Oct  2 23:17:36 EDT 2007
#3 errs.ACPI.ACPI_DEBUG.ACPI_PROCFS
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.227.15940' and 'acpi_irq_model')
Tue Oct  2 23:18:29 EDT 2007
#4 errs.ACPI.ACPI_DEBUG.SMP
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.237.16180' and 'acpi_irq_model')
Tue Oct  2 23:20:54 EDT 2007
#5 errs.ACPI.ACPI_DEBUG.SMP.ACPI_PROCFS
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.237.16180' and 'acpi_irq_model')
Tue Oct  2 23:21:47 EDT 2007
#6 errs.ACPI.ACPI_PROCFS
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.227.15940' and 'acpi_irq_model')
Tue Oct  2 23:22:40 EDT 2007
#7 errs.ACPI.SMP
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.237.16180' and 'acpi_irq_model')
Tue Oct  2 23:23:39 EDT 2007
#8 errs.ACPI.SMP.ACPI_PROCFS
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x40): Section mismatch: reference to .init.data:ino (between 'C.237.16180' and 'acpi_irq_model')
Tue Oct  2 23:24:33 EDT 2007
#9 errs.allnoconfig
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.text+0x207990): Section mismatch: reference to .init.data:node_to_pxm_map (between 'node_to_pxm' and '__acpi_map_pxm_to_node')
WARNING: vmlinux.o(.text+0x207991): Section mismatch: reference to .init.data:node_to_pxm_map (between 'node_to_pxm' and '__acpi_map_pxm_to_node')
WARNING: vmlinux.o(.text+0x2079c0): Section mismatch: reference to .init.data:pxm_to_node_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x2079c1): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x2079e0): Section mismatch: reference to .init.data:pxm_to_node_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x2079e1): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x207b21): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x207b40): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x207be1): Section mismatch: reference to .init.data:node_to_pxm_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x207c00): Section mismatch: reference to .init.data:node_to_pxm_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
Tue Oct  2 23:25:20 EDT 2007
#10 errs.bigsur_defconfig
Cleaning...Building...Saving...Sizing...
Tue Oct  2 23:27:20 EDT 2007
#11 errs.defconfig
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x60): Section mismatch: reference to .init.data:ino (between 'C.239.16771' and 'acpi_irq_model')
WARNING: vmlinux.o(.sdata+0x70): Section mismatch: reference to .init.data:smp_boot_data (between 'C.239.16771' and 'acpi_irq_model')
Tue Oct  2 23:28:20 EDT 2007
#12 errs.sim_defconfig
Cleaning...Building...Saving...Sizing...
Tue Oct  2 23:29:53 EDT 2007
#13 errs.sn2_defconfig
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.text+0x4b0950): Section mismatch: reference to .init.data:node_to_pxm_map (between 'node_to_pxm' and '__acpi_map_pxm_to_node')
WARNING: vmlinux.o(.text+0x4b0951): Section mismatch: reference to .init.data:node_to_pxm_map (between 'node_to_pxm' and '__acpi_map_pxm_to_node')
WARNING: vmlinux.o(.text+0x4b0980): Section mismatch: reference to .init.data:pxm_to_node_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x4b0981): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x4b09a0): Section mismatch: reference to .init.data:pxm_to_node_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x4b09a1): Section mismatch: reference to .init.data:node_to_pxm_map (between '__acpi_map_pxm_to_node' and 'acpi_get_pxm')
WARNING: vmlinux.o(.text+0x4b0ae1): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x4b0b00): Section mismatch: reference to .init.data:pxm_to_node_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x4b0ba1): Section mismatch: reference to .init.data:node_to_pxm_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.text+0x4b0bc0): Section mismatch: reference to .init.data:node_to_pxm_map (between 'acpi_map_pxm_to_node' and 'acpi_get_node')
WARNING: vmlinux.o(.sdata+0x60): Section mismatch: reference to .init.data: (between 'C.261.16921' and 'acpi_irq_model')
WARNING: vmlinux.o(.sdata+0x68): Section mismatch: reference to .init.data: (between 'C.261.16921' and 'acpi_irq_model')
WARNING: vmlinux.o(.sdata+0x70): Section mismatch: reference to .init.data:ino (between 'C.261.16921' and 'acpi_irq_model')
WARNING: vmlinux.o(.sdata+0x80): Section mismatch: reference to .init.data:smp_boot_data (between 'C.261.16921' and 'acpi_irq_model')
Tue Oct  2 23:32:55 EDT 2007
#14 errs.tiger_defconfig
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x60): Section mismatch: reference to .init.data:ino (between 'C.238.16564' and 'acpi_irq_model')
Tue Oct  2 23:35:18 EDT 2007
#15 errs.zx1_defconfig
Cleaning...Building...Saving...Sizing...
WARNING: vmlinux.o(.sdata+0x60): Section mismatch: reference to .init.data:ino (between 'C.238.16581' and 'acpi_irq_model')
Tue Oct  2 23:37:19 EDT 2007
15 SUCCESS in 15 ATTEMPTS
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Oct 03 14:12:03 2007

This archive was generated by hypermail 2.1.8 : 2007-10-03 14:12:29 EST