# git rev-parse -q --verify 3758347012bc8e8f98e8af2af99c6b24b172277f^{commit} 3758347012bc8e8f98e8af2af99c6b24b172277f already have revision, skipping fetch # git checkout -q -f -B kisskb 3758347012bc8e8f98e8af2af99c6b24b172277f # git clean -qxdf # < git log -1 # commit 3758347012bc8e8f98e8af2af99c6b24b172277f # Author: Michael Ellerman # Date: Mon Jan 14 22:24:36 2019 +1100 # # powerpc/syscalls: Use the number when building SPU syscall table # # Currently the macro that inserts entries into the SPU syscall table # doesn't actually use the "nr" (syscall number) parameter. # # This does work, but it relies on the exact right number of syscall # entries being emitted in order for the syscal numbers to line up with # the array entries. If for example we had two entries with the same # syscall number we wouldn't get an error, it would just cause all # subsequent syscalls to be off by one in the spu_syscall_table. # # So instead change the macro to assign to the specific entry of the # array, meaning any numbering overlap will be caught by the compiler. # # Signed-off-by: Michael Ellerman # < /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 3758347012bc8e8f98e8af2af99c6b24b172277f # < make -s -j 80 ARCH=powerpc O=/kisskb/build/mpe_ppc40x_defconfig_powerpc-gcc5 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-5.5.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc40x_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/mpe_ppc40x_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_40x.S: Assembler messages: /kisskb/src/arch/powerpc/kernel/head_40x.S:883: Warning: invalid register expression INFO: Uncompressed kernel (size 0x53f708) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f708) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x52f028) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f708) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x53f708) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2662075 Bytes = 2599.68 KiB = 2.54 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2693371 Bytes = 2630.25 KiB = 2.57 MiB Load Address: 00600000 Entry Point: 006017dc Image Name: Linux-5.0.0-rc2-g3758347012bc Created: Mon Jan 14 23:24:17 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2691686 Bytes = 2628.60 KiB = 2.57 MiB Load Address: 00600000 Entry Point: 00601a18 Completed OK # rm -rf /kisskb/build/mpe_ppc40x_defconfig_powerpc-gcc5 # Build took: 0:00:45.237157