Buildresult: kbuild/pmac32_defconfig+SMP/powerpc-gcc5 built on Oct 4 2023, 04:05
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Oct 4 2023, 04:05
Duration:
0:01:20.805112
Builder:
ka7
Revision:
modpost: factor out the common boilerplate of section_rel(a) (
367df0e19c67af934839ab98d7003ef5f3f2b02f)
Target:
kbuild/pmac32_defconfig+SMP/powerpc-gcc5
Branch:
kbuild
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.5.0 / GNU ld (GNU Binutils) 2.29.1.20170915)
Config:
pmac32_defconfig+SMP
(
download
)
Log:
Download original
Possible warnings (4)
.config:4482:warning: override: reassigning to symbol SMP scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
Full Log
# git rev-parse -q --verify 367df0e19c67af934839ab98d7003ef5f3f2b02f^{commit} 367df0e19c67af934839ab98d7003ef5f3f2b02f already have revision, skipping fetch # git checkout -q -f -B kisskb 367df0e19c67af934839ab98d7003ef5f3f2b02f # git clean -qxdf # < git log -1 # commit 367df0e19c67af934839ab98d7003ef5f3f2b02f # Author: Masahiro Yamada <masahiroy@kernel.org> # Date: Sun Oct 1 14:47:36 2023 +0900 # # modpost: factor out the common boilerplate of section_rel(a) # # The first few lines of section_rel() and section_rela() are the same. # They both retrieve the index of the section to which the relocaton # applies, and skip known-good sections. This common code should be moved # to check_sec_ref(). # # Avoid ugly casts when computing 'start' and 'stop', and also make the # Elf_Rel and Elf_Rela pointers const. # # Signed-off-by: Masahiro Yamada <masahiroy@kernel.org> # Reviewed-by: Nick Desaulniers <ndesaulniers@google.com> # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 367df0e19c67af934839ab98d7003ef5f3f2b02f # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- pmac32_defconfig # Added to kconfig CONFIG_SMP=y # < make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- help # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- olddefconfig .config:4482:warning: override: reassigning to symbol SMP # make -s -j 32 ARCH=powerpc O=/kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- In file included from /kisskb/src/scripts/mod/modpost.c:23: /kisskb/src/scripts/mod/modpost.c: In function ‘section_rela’: /kisskb/src/scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | __endian(&(x), &(__x), sizeof(__x)); \ | ^~~~~~ /kisskb/src/scripts/mod/modpost.c:1437:14: note: in expansion of macro ‘TO_NATIVE’ 1437 | r_offset = TO_NATIVE(rela->r_offset); | ^~~~~~~~~ /kisskb/src/scripts/mod/modpost.h:56:52: note: expected ‘void *’ but argument is of type ‘const Elf32_Addr *’ {aka ‘const unsigned int *’} 56 | static inline void __endian(const void *src, void *dest, unsigned int size) | ~~~~~~^~~~ /kisskb/src/scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | __endian(&(x), &(__x), sizeof(__x)); \ | ^~~~~~ /kisskb/src/scripts/mod/modpost.c:1440:11: note: in expansion of macro ‘TO_NATIVE’ 1440 | taddr = TO_NATIVE(rela->r_addend); | ^~~~~~~~~ /kisskb/src/scripts/mod/modpost.h:56:52: note: expected ‘void *’ but argument is of type ‘const Elf32_Sword *’ {aka ‘const int *’} 56 | static inline void __endian(const void *src, void *dest, unsigned int size) | ~~~~~~^~~~ /kisskb/src/scripts/mod/modpost.c: In function ‘section_rel’: /kisskb/src/scripts/mod/modpost.h:66:17: warning: passing argument 2 of ‘__endian’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] 66 | __endian(&(x), &(__x), sizeof(__x)); \ | ^~~~~~ /kisskb/src/scripts/mod/modpost.c:1472:14: note: in expansion of macro ‘TO_NATIVE’ 1472 | r_offset = TO_NATIVE(rel->r_offset); | ^~~~~~~~~ /kisskb/src/scripts/mod/modpost.h:56:52: note: expected ‘void *’ but argument is of type ‘const Elf32_Addr *’ {aka ‘const unsigned int *’} 56 | static inline void __endian(const void *src, void *dest, unsigned int size) | ~~~~~~^~~~ Completed OK # rm -rf /kisskb/build/kbuild_pmac32_defconfig+SMP_powerpc-gcc5 # Build took: 0:01:20.805112
© Michael Ellerman 2006-2018.