Buildresult: powerpc-next/mpc885_ads_defconfig/powerpc-gcc5 built on Mar 5 2018, 12:59
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Mar 5 2018, 12:59
Duration:
0:00:36.090292
Builder:
ka2
Revision:
powerpc: Keep const vars out of writable .sdata (
26a7f2efa8557bc235ef632d477b1aef6612bbc8)
Target:
powerpc-next/mpc885_ads_defconfig/powerpc-gcc5
Branch:
powerpc-next
Compiler:
powerpc-gcc5
(powerpc64-linux-gcc (GCC) 5.3.0)
Config:
mpc885_ads_defconfig
(
download
)
Log:
Download original
Possible warnings (1)
arch/powerpc/boot/mpc8xx.c:27:26: warning: variable 'div' set but not used [-Wunused-but-set-variable]
Full Log
# git rev-parse -q --verify 26a7f2efa8557bc235ef632d477b1aef6612bbc8^{commit} 26a7f2efa8557bc235ef632d477b1aef6612bbc8 already have revision, skipping fetch # git checkout -q -f -B kisskb 26a7f2efa8557bc235ef632d477b1aef6612bbc8 # git clean -qxdf # git log -1 commit 26a7f2efa8557bc235ef632d477b1aef6612bbc8 Author: Segher Boessenkool <segher@kernel.crashing.org> Date: Wed Feb 28 17:02:49 2018 -0800 powerpc: Keep const vars out of writable .sdata Newer gcc will support "-mno-readonly-in-sdata"[1], which makes sure that the optimization on PPC32 for variables getting moved into the .sdata section will not apply to const variables (which must be in .rodata). This was originally noticed in mm/rodata_test.c when rodata_test_data was not static: c0695034 g O .data 00000004 rodata_test_data After this patch with an updated compiler, this is correctly in .rodata. [1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82411 Reported-by: Christophe Leroy <christophe.leroy@c-s.fr> Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org> Signed-off-by: Kees Cook <keescook@chromium.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 26a7f2efa8557bc235ef632d477b1aef6612bbc8 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc885_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/mpc8xx.c: In function 'mpc885_get_clock': /kisskb/src/arch/powerpc/boot/mpc8xx.c:27:26: warning: variable 'div' set but not used [-Wunused-but-set-variable] int mfi, mfn, mfd, pdf, div; ^ Image Name: Linux-4.16.0-rc3-g26a7f2e Created: Mon Mar 5 13:00:15 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 1863114 Bytes = 1819.45 kB = 1.78 MB Load Address: 00400000 Entry Point: 004001a8 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc885_ads_defconfig_powerpc-5.3 # Build took: 0:00:36.090292
© Michael Ellerman 2006-2018.