3.15-rc6 build / link failed fs/built-in mb_cache_entry problems
From: werner
Date: Sun May 25 2014 - 07:04:29 EST
building the kernel isnt successful,
problem with _mbÃcache_entry_release and _get
see below
there are also other errors
The whole compiler list and config, see enclosed
Since appr 3.10 , even if the kernels compile and build ,
on meanwhile 70% of the computers where I try to boot,
the booting process crashs on different positions.
Currently, the quality is rather bad, similar as it was
during the versions 2.6.30 ... 36 .
So it would be good, if the programmers would check
everything more careful (im not a programmer but only an
user)
Enclosed is a compiling list, someone could see through
this, and correct all problems, such as mismatches,
undefined variables, etc
W.Landgraf
..
CHECK include/asm-generic (35 files)
CHECK include/drm (18 files)
CHECK include/linux/byteorder (2 files)
CHECK include/linux/caif (2 files)
CHECK include/linux/can (5 files)
CHECK include/linux/dvb (8 files)
CHECK include/linux/hdlc (1 files)
CHECK include/linux/hsi (1 files)
CHECK include/linux/isdn (1 files)
CHECK include/linux/mmc (1 files)
CHECK include/linux/netfilter/ipset (4 files)
CHECK include/linux/netfilter (85 files)
CHECK include/linux/netfilter_arp (2 files)
CHECK include/linux/netfilter_bridge (18 files)
CHECK include/linux/netfilter_ipv4 (10 files)
CHECK include/linux/netfilter_ipv6 (12 files)
CHECK include/linux/nfsd (5 files)
CHECK include/linux/raid (2 files)
CHECK include/linux/spi (1 files)
CHECK include/linux/sunrpc (1 files)
CHECK include/linux/tc_act (8 files)
CHECK include/linux/tc_ematch (4 files)
CHECK include/linux/usb (10 files)
CHECK include/linux/wimax (1 files)
CHECK include/linux (393 files)
/usr/src/linux-3.15-rc6-i486-1sys/usr/include/linux/kexec.h:50:
userspace cannot reference function or variable defined in
the kernel
CHECK include/mtd (5 files)
CHECK include/rdma (6 files)
CHECK include/scsi/fc (4 files)
CHECK include/scsi (3 files)
CHECK include/sound (11 files)
CHECK include/video (3 files)
CHECK include/xen (4 files)
CHECK include/uapi (0 files)
CHECK include/asm (64 files)
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xa2889): Section mismatch in
reference from the function intel_scu_devices_create() to
the function .init.text:i2c_register_board_info()
The function intel_scu_devices_create() references
the function __init i2c_register_board_info().
This is often because intel_scu_devices_create lacks a
__init
annotation or the annotation of i2c_register_board_info is
wrong.
WARNING: vmlinux.o(.text+0x108c2e0): Section mismatch in
reference from the function acpi_sleep_dmi_check() to the
variable .init.data:acpisleep_dmi_table
The function acpi_sleep_dmi_check() references
the variable __initdata acpisleep_dmi_table.
This is often because acpi_sleep_dmi_check lacks a
__initdata
annotation or the annotation of acpisleep_dmi_table is
wrong.
WARNING: vmlinux.o(.data+0xbefa0): Section mismatch in
reference from the variable sim710_eisa_driver to the
function .init.text:sim710_eisa_probe()
The variable sim710_eisa_driver references
the function __init sim710_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
GEN .version
CC init/main.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
CC init/init_task.o
LD init/built-in.o
fs/built-in.o: In function `__mb_cache_entry_release':
mbcache.c:(.text+0xa0d5f): undefined reference to `log2'
mbcache.c:(.text+0xa0d6b): undefined reference to
`__fixunsdfsi'
mbcache.c:(.text+0xa0e22): undefined reference to `log2'
mbcache.c:(.text+0xa0e34): undefined reference to
`__fixunsdfsi'
mbcache.c:(.text+0xa0f4e): undefined reference to `log2'
mbcache.c:(.text+0xa0f60): undefined reference to
`__fixunsdfsi'
fs/built-in.o: In function `__mb_cache_entry_find':
mbcache.c:(.text+0xa107e): undefined reference to `log2'
mbcache.c:(.text+0xa108a): undefined reference to
`__fixunsdfsi'
mbcache.c:(.text+0xa115c): undefined reference to `log2'
mbcache.c:(.text+0xa116e): undefined reference to
`__fixunsdfsi'
mbcache.c:(.text+0xa11dc): undefined reference to `log2'
mbcache.c:(.text+0xa11e8): undefined reference to
`__fixunsdfsi'
mbcache.c:(.text+0xa126e): undefined reference to `log2'
mbcache.c:(.text+0xa1280): undefined reference to
`__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3bdc): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3bf1): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3d14): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3d26): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3da7): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3db3): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3e5e): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3e70): undefined reference to `__fixunsdfsi'
make: [vmlinux] Error 1 (ignored)
CC arch/x86/boot/a20.o
AS arch/x86/boot/bioscall.o
CC arch/x86/boot/cmdline.o
AS arch/x86/boot/copy.o
HOSTCC arch/x86/boot/mkcpustr
CPUSTR arch/x86/boot/cpustr.h
CC arch/x86/boot/cpu.o
CC arch/x86/boot/cpuflags.o
CC arch/x86/boot/cpucheck.o
CC arch/x86/boot/early_serial_console.o
CC arch/x86/boot/edd.o
make[1]: *** No rule to make target `vmlinux', needed by
`arch/x86/boot/voffset.h'.
LDS arch/x86/boot/compressed/vmlinux.lds
AS arch/x86/boot/compressed/head_32.o
CC arch/x86/boot/compressed/misc.o
CC arch/x86/boot/compressed/string.o
CC arch/x86/boot/compressed/cmdline.o
CC arch/x86/boot/compressed/early_serial_console.o
make[2]: *** No rule to make target `vmlinux', needed by
`arch/x86/boot/compressed/vmlinux.bin'.
HOSTCC arch/x86/boot/compressed/mkpiggy
CC arch/x86/boot/compressed/cpuflags.o
CC arch/x86/boot/compressed/aslr.o
make[2]: Target `arch/x86/boot/compressed/vmlinux' not
remade because of errors.
make[1]: [arch/x86/boot/compressed/vmlinux] Error 2
(ignored)
ZOFFSET arch/x86/boot/zoffset.h
nm: 'arch/x86/boot/compressed/vmlinux': No such file
CC arch/x86/boot/main.o
CC arch/x86/boot/mca.o
CC arch/x86/boot/memory.o
CC arch/x86/boot/pm.o
AS arch/x86/boot/pmjump.o
CC arch/x86/boot/printf.o
CC arch/x86/boot/regs.o
CC arch/x86/boot/string.o
CC arch/x86/boot/tty.o
CC arch/x86/boot/video.o
CC arch/x86/boot/video-mode.o
CC arch/x86/boot/version.o
CC arch/x86/boot/apm.o
CC arch/x86/boot/video-vga.o
CC arch/x86/boot/video-vesa.o
CC arch/x86/boot/video-bios.o
OBJCOPY arch/x86/boot/vmlinux.bin
objcopy: 'arch/x86/boot/compressed/vmlinux': No such file
make[1]: [arch/x86/boot/vmlinux.bin] Error 1 (ignored)
HOSTCC arch/x86/boot/tools/build
make[1]: Target `arch/x86/boot/bzImage' not remade because
of errors.
make: [bzImage] Error 2 (ignored)
Building modules, stage 2.
MODPOST 3521 modules
WARNING: drivers/net/ethernet/3com/3c509.o(.data+0x120):
Section mismatch in reference from the variable
el3_eisa_driver to the function
.init.text:el3_eisa_probe()
The variable el3_eisa_driver references
the function __init el3_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
WARNING: drivers/net/ethernet/3com/3c59x.o(.data+0x4c0):
Section mismatch in reference from the variable
vortex_eisa_driver to the function
.init.text:vortex_eisa_probe()
The variable vortex_eisa_driver references
the function __init vortex_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
WARNING:
drivers/net/ethernet/dec/tulip/de4x5.o(.data+0xc0):
Section mismatch in reference from the variable
de4x5_eisa_driver to the function
.init.text:de4x5_eisa_probe()
The variable de4x5_eisa_driver references
the function __init de4x5_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
WARNING: drivers/net/ethernet/hp/hp100.o(.data+0x40):
Section mismatch in reference from the variable
hp100_eisa_driver to the function
.init.text:hp100_eisa_probe()
The variable hp100_eisa_driver references
the function __init hp100_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or
name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one,
*_console
CC arch/x86/crypto/crc32-pclmul.mod.o
LD [M] arch/x86/crypto/crc32-pclmul.ko
CC arch/x86/crypto/crc32c-intel.mod.o
LD [M] arch/x86/crypto/crc32c-intel.ko
.....
---
Professional hosting for everyone - http://www.host.ru
Attachment:
linux-3.15-rc6-i486-1sys.log.bz2
Description: Binary data
Attachment:
config-3.15-rc6-i486-1sys.bz2
Description: Binary data
CHECK include/asm-generic (35 files)
CHECK include/drm (18 files)
CHECK include/linux/byteorder (2 files)
CHECK include/linux/caif (2 files)
CHECK include/linux/can (5 files)
CHECK include/linux/dvb (8 files)
CHECK include/linux/hdlc (1 files)
CHECK include/linux/hsi (1 files)
CHECK include/linux/isdn (1 files)
CHECK include/linux/mmc (1 files)
CHECK include/linux/netfilter/ipset (4 files)
CHECK include/linux/netfilter (85 files)
CHECK include/linux/netfilter_arp (2 files)
CHECK include/linux/netfilter_bridge (18 files)
CHECK include/linux/netfilter_ipv4 (10 files)
CHECK include/linux/netfilter_ipv6 (12 files)
CHECK include/linux/nfsd (5 files)
CHECK include/linux/raid (2 files)
CHECK include/linux/spi (1 files)
CHECK include/linux/sunrpc (1 files)
CHECK include/linux/tc_act (8 files)
CHECK include/linux/tc_ematch (4 files)
CHECK include/linux/usb (10 files)
CHECK include/linux/wimax (1 files)
CHECK include/linux (393 files)
/usr/src/linux-3.15-rc6-i486-1sys/usr/include/linux/kexec.h:50: userspace cannot reference function or variable defined in the kernel
CHECK include/mtd (5 files)
CHECK include/rdma (6 files)
CHECK include/scsi/fc (4 files)
CHECK include/scsi (3 files)
CHECK include/sound (11 files)
CHECK include/video (3 files)
CHECK include/xen (4 files)
CHECK include/uapi (0 files)
CHECK include/asm (64 files)
LINK vmlinux
LD vmlinux.o
MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0xa2889): Section mismatch in reference from the function intel_scu_devices_create() to the function .init.text:i2c_register_board_info()
The function intel_scu_devices_create() references
the function __init i2c_register_board_info().
This is often because intel_scu_devices_create lacks a __init
annotation or the annotation of i2c_register_board_info is wrong.
WARNING: vmlinux.o(.text+0x108c2e0): Section mismatch in reference from the function acpi_sleep_dmi_check() to the variable .init.data:acpisleep_dmi_table
The function acpi_sleep_dmi_check() references
the variable __initdata acpisleep_dmi_table.
This is often because acpi_sleep_dmi_check lacks a __initdata
annotation or the annotation of acpisleep_dmi_table is wrong.
WARNING: vmlinux.o(.data+0xbefa0): Section mismatch in reference from the variable sim710_eisa_driver to the function .init.text:sim710_eisa_probe()
The variable sim710_eisa_driver references
the function __init sim710_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
GEN .version
CC init/main.o
CHK include/generated/compile.h
UPD include/generated/compile.h
CC init/version.o
CC init/do_mounts.o
CC init/do_mounts_rd.o
CC init/do_mounts_initrd.o
CC init/do_mounts_md.o
LD init/mounts.o
CC init/initramfs.o
CC init/calibrate.o
CC init/init_task.o
LD init/built-in.o
fs/built-in.o: In function `__mb_cache_entry_release':
mbcache.c:(.text+0xa0d5f): undefined reference to `log2'
mbcache.c:(.text+0xa0d6b): undefined reference to `__fixunsdfsi'
mbcache.c:(.text+0xa0e22): undefined reference to `log2'
mbcache.c:(.text+0xa0e34): undefined reference to `__fixunsdfsi'
mbcache.c:(.text+0xa0f4e): undefined reference to `log2'
mbcache.c:(.text+0xa0f60): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `__mb_cache_entry_find':
mbcache.c:(.text+0xa107e): undefined reference to `log2'
mbcache.c:(.text+0xa108a): undefined reference to `__fixunsdfsi'
mbcache.c:(.text+0xa115c): undefined reference to `log2'
mbcache.c:(.text+0xa116e): undefined reference to `__fixunsdfsi'
mbcache.c:(.text+0xa11dc): undefined reference to `log2'
mbcache.c:(.text+0xa11e8): undefined reference to `__fixunsdfsi'
mbcache.c:(.text+0xa126e): undefined reference to `log2'
mbcache.c:(.text+0xa1280): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3bdc): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3bf1): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3d14): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3d26): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3da7): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3db3): undefined reference to `__fixunsdfsi'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3e5e): undefined reference to `log2'
fs/built-in.o: In function `mb_cache_entry_get':
(.text+0xa3e70): undefined reference to `__fixunsdfsi'
make: [vmlinux] Error 1 (ignored)
CC arch/x86/boot/a20.o
AS arch/x86/boot/bioscall.o
CC arch/x86/boot/cmdline.o
AS arch/x86/boot/copy.o
HOSTCC arch/x86/boot/mkcpustr
CPUSTR arch/x86/boot/cpustr.h
CC arch/x86/boot/cpu.o
CC arch/x86/boot/cpuflags.o
CC arch/x86/boot/cpucheck.o
CC arch/x86/boot/early_serial_console.o
CC arch/x86/boot/edd.o
make[1]: *** No rule to make target `vmlinux', needed by `arch/x86/boot/voffset.h'.
LDS arch/x86/boot/compressed/vmlinux.lds
AS arch/x86/boot/compressed/head_32.o
CC arch/x86/boot/compressed/misc.o
CC arch/x86/boot/compressed/string.o
CC arch/x86/boot/compressed/cmdline.o
CC arch/x86/boot/compressed/early_serial_console.o
make[2]: *** No rule to make target `vmlinux', needed by `arch/x86/boot/compressed/vmlinux.bin'.
HOSTCC arch/x86/boot/compressed/mkpiggy
CC arch/x86/boot/compressed/cpuflags.o
CC arch/x86/boot/compressed/aslr.o
make[2]: Target `arch/x86/boot/compressed/vmlinux' not remade because of errors.
make[1]: [arch/x86/boot/compressed/vmlinux] Error 2 (ignored)
ZOFFSET arch/x86/boot/zoffset.h
nm: 'arch/x86/boot/compressed/vmlinux': No such file
CC arch/x86/boot/main.o
CC arch/x86/boot/mca.o
CC arch/x86/boot/memory.o
CC arch/x86/boot/pm.o
AS arch/x86/boot/pmjump.o
CC arch/x86/boot/printf.o
CC arch/x86/boot/regs.o
CC arch/x86/boot/string.o
CC arch/x86/boot/tty.o
CC arch/x86/boot/video.o
CC arch/x86/boot/video-mode.o
CC arch/x86/boot/version.o
CC arch/x86/boot/apm.o
CC arch/x86/boot/video-vga.o
CC arch/x86/boot/video-vesa.o
CC arch/x86/boot/video-bios.o
OBJCOPY arch/x86/boot/vmlinux.bin
objcopy: 'arch/x86/boot/compressed/vmlinux': No such file
make[1]: [arch/x86/boot/vmlinux.bin] Error 1 (ignored)
HOSTCC arch/x86/boot/tools/build
make[1]: Target `arch/x86/boot/bzImage' not remade because of errors.
make: [bzImage] Error 2 (ignored)
Building modules, stage 2.
MODPOST 3521 modules
WARNING: drivers/net/ethernet/3com/3c509.o(.data+0x120): Section mismatch in reference from the variable el3_eisa_driver to the function .init.text:el3_eisa_probe()
The variable el3_eisa_driver references
the function __init el3_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/net/ethernet/3com/3c59x.o(.data+0x4c0): Section mismatch in reference from the variable vortex_eisa_driver to the function .init.text:vortex_eisa_probe()
The variable vortex_eisa_driver references
the function __init vortex_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/net/ethernet/dec/tulip/de4x5.o(.data+0xc0): Section mismatch in reference from the variable de4x5_eisa_driver to the function .init.text:de4x5_eisa_probe()
The variable de4x5_eisa_driver references
the function __init de4x5_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
WARNING: drivers/net/ethernet/hp/hp100.o(.data+0x40): Section mismatch in reference from the variable hp100_eisa_driver to the function .init.text:hp100_eisa_probe()
The variable hp100_eisa_driver references
the function __init hp100_eisa_probe()
If the reference is valid then annotate the
variable with __init* or __refdata (see linux/init.h) or name the variable:
*_template, *_timer, *_sht, *_ops, *_probe, *_probe_one, *_console
CC arch/x86/crypto/crc32-pclmul.mod.o
LD [M] arch/x86/crypto/crc32-pclmul.ko
CC arch/x86/crypto/crc32c-intel.mod.o
LD [M] arch/x86/crypto/crc32c-intel.ko