Buildresult: powerpc-next/ppc44x_defconfig/powerpc-gcc8 built on Feb 14 2019, 21:38
kisskb
Revisions
|
Branches
|
Compilers
|
Configs
|
Build Results
|
Build Failures
|
Status:
OK
Date/Time:
Feb 14 2019, 21:38
Duration:
0:00:32.705980
Builder:
ka4
Revision:
powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning (
bc13f05ffaf016d42536571c2e9173f85cefd47a)
Target:
powerpc-next/ppc44x_defconfig/powerpc-gcc8
Branch:
powerpc-next
Compiler:
powerpc-gcc8
(powerpc64-linux-gcc (GCC) 8.1.0 / GNU ld (GNU Binutils) 2.30)
Config:
ppc44x_defconfig
(
download
)
Log:
Download original
Possible warnings (6)
arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge'
Full Log
# git rev-parse -q --verify bc13f05ffaf016d42536571c2e9173f85cefd47a^{commit} bc13f05ffaf016d42536571c2e9173f85cefd47a already have revision, skipping fetch # git checkout -q -f -B kisskb bc13f05ffaf016d42536571c2e9173f85cefd47a # git clean -qxdf # < git log -1 # commit bc13f05ffaf016d42536571c2e9173f85cefd47a # Author: Michael Ellerman <mpe@ellerman.id.au> # Date: Thu Feb 14 11:08:29 2019 +1100 # # powerpc/ptrace: Simplify vr_get/set() to avoid GCC warning # # GCC 8 warns about the logic in vr_get/set(), which with -Werror breaks # the build: # # In function ‘user_regset_copyin’, # inlined from ‘vr_set’ at arch/powerpc/kernel/ptrace.c:628:9: # include/linux/regset.h:295:4: error: ‘memcpy’ offset [-527, -529] is # out of the bounds [0, 16] of object ‘vrsave’ with type ‘union # <anonymous>’ [-Werror=array-bounds] # arch/powerpc/kernel/ptrace.c: In function ‘vr_set’: # arch/powerpc/kernel/ptrace.c:623:5: note: ‘vrsave’ declared here # } vrsave; # # This has been identified as a regression in GCC, see GCC bug 88273. # # However we can avoid the warning and also simplify the logic and make # it more robust. # # Currently we pass -1 as end_pos to user_regset_copyout(). This says # "copy up to the end of the regset". # # The definition of the regset is: # [REGSET_VMX] = { # .core_note_type = NT_PPC_VMX, .n = 34, # .size = sizeof(vector128), .align = sizeof(vector128), # .active = vr_active, .get = vr_get, .set = vr_set # }, # # The end is calculated as (n * size), ie. 34 * sizeof(vector128). # # In vr_get/set() we pass start_pos as 33 * sizeof(vector128), meaning # we can copy up to sizeof(vector128) into/out-of vrsave. # # The on-stack vrsave is defined as: # union { # elf_vrreg_t reg; # u32 word; # } vrsave; # # And elf_vrreg_t is: # typedef __vector128 elf_vrreg_t; # # So there is no bug, but we rely on all those sizes lining up, # otherwise we would have a kernel stack exposure/overwrite on our # hands. # # Rather than relying on that we can pass an explict end_pos based on # the sizeof(vrsave). The result should be exactly the same but it's # more obviously not over-reading/writing the stack and it avoids the # compiler warning. # # Reported-by: Meelis Roos <mroos@linux.ee> # Reported-by: Mathieu Malaterre <malat@debian.org> # Cc: stable@vger.kernel.org # Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux-ld --version # < git log --format=%s --max-count=1 bc13f05ffaf016d42536571c2e9173f85cefd47a # < make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- ppc44x_defconfig # make -s -j 120 ARCH=powerpc O=/kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/arch/powerpc/boot/dts/virtex440-ml510.dts:335.37-439.6: Warning (pci_bridge): /plb@0/plbv46-pci@85e00000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/virtex440-ml510.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' /kisskb/src/arch/powerpc/boot/dts/katmai.dts:322.26-361.5: Warning (pci_bridge): /plb/pciex@d00000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:363.26-402.5: Warning (pci_bridge): /plb/pciex@d20000000: node name is not "pci" or "pcie" /kisskb/src/arch/powerpc/boot/dts/katmai.dts:404.26-443.5: Warning (pci_bridge): /plb/pciex@d40000000: node name is not "pci" or "pcie" arch/powerpc/boot/dts/katmai.dtb: Warning (pci_device_bus_num): Failed prerequisite 'pci_bridge' INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5cba04) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) INFO: Uncompressed kernel (size 0x5bb2ec) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x600000) Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2907063 Bytes = 2838.93 KiB = 2.77 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2944760 Bytes = 2875.74 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006001b8 Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2944618 Bytes = 2875.60 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2944889 Bytes = 2875.87 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015bc Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2944866 Bytes = 2875.85 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 0060159c Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2945302 Bytes = 2876.27 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2945320 Bytes = 2876.29 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 0060158c Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2945528 Bytes = 2876.49 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006000c4 Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2945204 Bytes = 2876.18 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015a4 Image Name: Linux-5.0.0-rc2-gbc13f05ffaf0 Created: Thu Feb 14 21:39:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2944909 Bytes = 2875.89 KiB = 2.81 MiB Load Address: 00600000 Entry Point: 006015ac Completed OK # rm -rf /kisskb/build/powerpc-next_ppc44x_defconfig_powerpc-gcc8 # Build took: 0:00:32.705980
© Michael Ellerman 2006-2018.