2007-10-02 19:56:36

by Benoît Dejean

[permalink] [raw]
Subject: [2.6.23-rc9] MODPOST vmlinux.o 'Section mismatch' warnings

Hello,

i get the following warnings when compiling 2.6.23-rc9.
.config attached.

MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x14): Section mismatch: reference
to .init.text:prom_init (between '__start' and '__after_mmu_off')
WARNING: vmlinux.o(.text+0x2c): Section mismatch: reference
to .init.text:bootx_init (between '__start' and '__after_mmu_off')
WARNING: vmlinux.o(.text+0x40): Section mismatch: reference
to .init.text:early_init (between '__start' and '__after_mmu_off')
WARNING: vmlinux.o(.text+0x383c): Section mismatch: reference
to .init.text:machine_init (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x3844): Section mismatch: reference
to .init.text:MMU_init (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x3876): Section mismatch: reference
to .init.text:start_kernel (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x387a): Section mismatch: reference
to .init.text:start_kernel (between 'start_here' and 'set_context')
WARNING: vmlinux.o(.text+0x3a0e): Section mismatch: reference
to .init.data:disp_BAT (between 'setup_disp_bat' and 'load_up_fpu')
WARNING: vmlinux.o(.text+0x3a12): Section mismatch: reference
to .init.data:disp_BAT (between 'setup_disp_bat' and 'load_up_fpu')
WARNING: vmlinux.o(.text+0x1c58a): Section mismatch: reference
to .init.data:boot_command_line (between 'note_bootable_part' and
'pmac_show_cpuinfo')
WARNING: vmlinux.o(.text+0x1c592): Section mismatch: reference
to .init.data:boot_command_line (between 'note_bootable_part' and
'pmac_show_cpuinfo')
WARNING: vmlinux.o(.text+0x1c5fc): Section mismatch: reference
to .init.text:pmac_find_ide_boot (between 'note_bootable_part' and
'pmac_show_cpuinfo')
WARNING: vmlinux.o(.text+0x28774): Section mismatch: reference
to .init.text:btext_find_display (between 'udbg_adb_init_early' and
'udbg_adb_init')
WARNING: vmlinux.o(.text+0x28824): Section mismatch: reference
to .init.text:btext_find_display (between 'udbg_adb_init' and
'udbg_adb_getc_poll')
WARNING: vmlinux.o(.text+0x288b4): Section mismatch: reference
to .init.text:find_via_pmu (between 'udbg_adb_init' and
'udbg_adb_getc_poll')
WARNING: vmlinux.o(.text+0x288c8): Section mismatch: reference
to .init.text:find_via_cuda (between 'udbg_adb_init' and
'udbg_adb_getc_poll')
LD vmlinux

>> LC_ALL=C gcc -v
Using built-in specs.
Target: powerpc-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c
++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared
--with-system-zlib --libexecdir=/usr/lib --without-included-gettext
--enable-threads=posix --enable-nls
--with-gxx-include-dir=/usr/include/c++/4.2 --program-suffix=-4.2
--enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr
--disable-softfloat --enable-secureplt
--enable-targets=powerpc-linux,powerpc64-linux --with-cpu=default32
--disable-werror --with-long-double-128 --enable-checking=release
--build=powerpc-linux-gnu --host=powerpc-linux-gnu
--target=powerpc-linux-gnu
Thread model: posix
gcc version 4.2.1 (Debian 4.2.1-5)

>> ld -v
GNU ld (GNU Binutils for Debian) 2.18

--
Benoît Dejean <[email protected]>


Attachments:
.config (37.70 kB)