Buildresult: linus/mips-allnoconfig/mips-gcc4.6 built on May 11 2020, 04:42
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
May 11 2020, 04:42
Duration:
0:00:15.072926
Builder:
ka2
Revision:
gcc-10: mark more functions __init to avoid section mismatch warnings (
e99332e7b4cda6e60f5b5916cf9943a79dbef902)
Target:
linus/mips-allnoconfig/mips-gcc4.6
Branch:
linus
Compiler:
mips-gcc4.6
(mips-linux-gcc (GCC) 4.6.3 / GNU ld (GNU Binutils) 2.22)
Config:
allnoconfig
(
download
)
Log:
Download original
Possible warnings (4)
kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] fs/namei.c:1805:10: warning: 'inode' may be used uninitialized in this function [-Wuninitialized] fs/namei.c:1805:10: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] mm/memory.c:1614:2: warning: 'err' may be used uninitialized in this function [-Wuninitialized]
Full Log
# git rev-parse -q --verify e99332e7b4cda6e60f5b5916cf9943a79dbef902^{commit} e99332e7b4cda6e60f5b5916cf9943a79dbef902 already have revision, skipping fetch # git checkout -q -f -B kisskb e99332e7b4cda6e60f5b5916cf9943a79dbef902 # git clean -qxdf # < git log -1 # commit e99332e7b4cda6e60f5b5916cf9943a79dbef902 # Author: Linus Torvalds <torvalds@linux-foundation.org> # Date: Sat May 9 17:50:03 2020 -0700 # # gcc-10: mark more functions __init to avoid section mismatch warnings # # It seems that for whatever reason, gcc-10 ends up not inlining a couple # of functions that used to be inlined before. Even if they only have one # single callsite - it looks like gcc may have decided that the code was # unlikely, and not worth inlining. # # The code generation difference is harmless, but caused a few new section # mismatch errors, since the (now no longer inlined) function wasn't in # the __init section, but called other init functions: # # Section mismatch in reference from the function kexec_free_initrd() to the function .init.text:free_initrd_mem() # Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memremap() # Section mismatch in reference from the function tpm2_calc_event_log_size() to the function .init.text:early_memunmap() # # So add the appropriate __init annotation to make modpost not complain. # In both cases there were trivially just a single callsite from another # __init function. # # Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux-ld --version # < git log --format=%s --max-count=1 e99332e7b4cda6e60f5b5916cf9943a79dbef902 # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- allnoconfig # < make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- help # make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- olddefconfig # make -s -j 48 ARCH=mips O=/kisskb/build/linus_mips-allnoconfig_mips-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/mips-linux/bin/mips-linux- /kisskb/src/arch/mips/vdso/Makefile:69: MIPS VDSO requires binutils >= 2.25 /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:204:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/namei.c: In function 'handle_dots': /kisskb/src/fs/namei.c:1805:10: warning: 'inode' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/namei.c:1805:10: warning: 'seq' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/memory.c: In function 'vm_insert_pages': /kisskb/src/mm/memory.c:1614:2: warning: 'err' may be used uninitialized in this function [-Wuninitialized] FIT description: Linux 5.7.0-rc4+ Created: Mon May 11 04:42:32 2020 Image 0 (kernel@0) Description: Linux 5.7.0-rc4+ Created: Mon May 11 04:42:32 2020 Type: Kernel Image Compression: gzip compressed Data Size: 650302 Bytes = 635.06 KiB = 0.62 MiB Architecture: MIPS OS: Linux Load Address: 0x80100000 Entry Point: 0x802222c0 Hash algo: sha1 Hash value: ffe57d837f6511038591d69369990199ef310d78 Default Configuration: 'conf@default' Configuration 0 (conf@default) Description: Generic Linux kernel Kernel: kernel@0 Completed OK # rm -rf /kisskb/build/linus_mips-allnoconfig_mips-gcc4.6 # Build took: 0:00:15.072926
© Michael Ellerman 2006-2018.