# git rev-parse -q --verify c93722674d73b5cf65c66426bc6b7e0051c64ef9^{commit} c93722674d73b5cf65c66426bc6b7e0051c64ef9 already have revision, skipping fetch # git checkout -q -f -B kisskb c93722674d73b5cf65c66426bc6b7e0051c64ef9 # git clean -qxdf # < git log -1 # commit c93722674d73b5cf65c66426bc6b7e0051c64ef9 # Author: Joel Stanley # Date: Tue Dec 11 08:58:54 2018 +1030 # # powerpc: Discard .branch_lt section # # When building a 32 bit powerpc kernel with Binutils 2.31.1 this warning # is emitted: # # powerpc-linux-gnu-ld: warning: orphan section `.branch_lt' from # `arch/powerpc/kernel/head_44x.o' being placed in section `.branch_lt' # # As of binutils commit 2d7ad24e8726 ("Support PLT16 relocs against local # symbols")[1], 32 bit targets can produce .branch_lt sections in their # output. # # These sections should be empty for the kernel build so discard them for # both PPC64 and PPC32. # # [1] https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=commitdiff;h=2d7ad24e8726ba4c45c9e67be08223a146a837ce # Signed-off-by: Joel Stanley # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 c93722674d73b5cf65c66426bc6b7e0051c64ef9 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- mpc8272_ads_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/kernel/head_32.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_32.S:994: Warning: invalid register expression INFO: Uncompressed kernel (size 0x565934) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5552f0) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-4.20.0-rc2-gc93722674d73 Created: Sat Dec 15 04:24:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2806487 Bytes = 2740.71 KiB = 2.68 MiB Load Address: 00600000 Entry Point: 006008a0 Image Name: Linux-4.20.0-rc2-gc93722674d73 Created: Sat Dec 15 04:24:56 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2775088 Bytes = 2710.05 KiB = 2.65 MiB Load Address: 00000000 Entry Point: 00000000 Completed OK # rm -rf /kisskb/build/powerpc-next_mpc8272_ads_defconfig_powerpc-gcc5 # Build took: 0:00:47.623851