Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp2248181imm; Sat, 13 Oct 2018 13:39:18 -0700 (PDT) X-Google-Smtp-Source: ACcGV61GQ6pjy5eGCl6hIICQ16c5ok/EyuxAsWnptiXh6BGdPza/RIk7sKVBOV1rFqI0Hx/yLnj9 X-Received: by 2002:a17:902:7c0b:: with SMTP id x11-v6mr10919555pll.60.1539463158756; Sat, 13 Oct 2018 13:39:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539463158; cv=none; d=google.com; s=arc-20160816; b=vk0n7QcdJVq1q0/s6Q5Fj6Tgh3X7Eweh0ldYxgNqN8wsAe7K5Ps/QwFUQu3AUwa2Df iLVZYhfX8y/w4HScX7RbXmmTXJHXMVC6I2CYR1+ieox7d+9403PDObLWupSsonLIJ6t/ MRSj/AZWwxJiN8SEjVRKYtapIZsWYhgsl4RMHDiFzWCLvdNJ32oypEatP9TSIiZ0HFe7 zrQDv/ArMKIKtB80YJHrl1wLZxPV9Ak2XyquPTKdm2o2Z6GNFKGhlJXQkVA8WfSBLxJL SrymlFHV/YwmCBN86RNOT8iaBVjSmHBVnXw8daUGxIYGkpGQNIGIxJYM/gFTL0CLidui bG2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:mime-version:user-agent:date:message-id:subject :from:to; bh=Wcgq5L+89ZLPng/zdPryq+CNAUD0MD2vFe8xZpiC4J8=; b=LLoA1c6kE2Uug2c3x5dT+4qPYW+VLKJOfQ69Owsezy0Nr/eLhFzAQPOCb1lPeinYEI BklxNoy0VJLaofkhxPiAnxbn389gdu0L3wi7v1wK/sB50wcM6rrs4YGmzqIhfrKe2X/e Rjm8QyTCmyuU3Rl+9D5oCWDv21qu4MDsBrBiu+Rh2j7MQqm7QsY+AXA2jtumEgUCkxS0 5TO/PkPR5QHuXJAkj7PFTPrGFmPY8C+B7TBcRY7fPQ9nTr08a00OhDtlL/QalMIreA0m 7zlcpyoMeXXQowYNjBfXr+9Lu1KhPbAYvP8oh0y+KmoZc09fYSpNHptPYNOn8BBFaFAq wUPA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k135-v6si5863375pfd.168.2018.10.13.13.39.03; Sat, 13 Oct 2018 13:39:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725990AbeJNERL (ORCPT + 99 others); Sun, 14 Oct 2018 00:17:11 -0400 Received: from mx2.cyber.ee ([193.40.6.72]:58149 "EHLO mx2.cyber.ee" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725732AbeJNERL (ORCPT ); Sun, 14 Oct 2018 00:17:11 -0400 To: linux-kernel@vger.kernel.org, linuxppc-dev@lists.ozlabs.org From: Meelis Roos Subject: 32-bit poweroc compile failure in v4.19-rc7-166-g7ec21823634d Message-ID: <17d36e6c-f99a-abfb-12cd-fa4b14bc7e09@linux.ee> Date: Sat, 13 Oct 2018 23:38:39 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.2.1 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: et-EE Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I tried to test the fix to 32-bit poweroc boot hang but found that current git does not compile on 32bit poweroc at all for me: CC arch/powerpc/kernel/ptrace.o In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./include/linux/rcupdate.h:44, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from arch/powerpc/kernel/ptrace.c:19: In function ‘memcpy’, inlined from ‘user_regset_copyin’ at ./include/linux/regset.h:295:4, inlined from ‘vr_set’ at arch/powerpc/kernel/ptrace.c:619:9: ./include/linux/string.h:345:9: error: ‘__builtin_memcpy’ offset [-527, -529] is out of the bounds [0, 16] of object ‘vrsave’ with type ‘union ’ [-Werror=array-bounds] return __builtin_memcpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/kernel/ptrace.c: In function ‘vr_set’: arch/powerpc/kernel/ptrace.c:614:5: note: ‘vrsave’ declared here } vrsave; ^~~~~~ In file included from ./include/linux/bitmap.h:9, from ./include/linux/cpumask.h:12, from ./include/linux/rcupdate.h:44, from ./include/linux/rculist.h:11, from ./include/linux/pid.h:5, from ./include/linux/sched.h:14, from arch/powerpc/kernel/ptrace.c:19: In function ‘memcpy’, inlined from ‘user_regset_copyout’ at ./include/linux/regset.h:270:4, inlined from ‘vr_get’ at arch/powerpc/kernel/ptrace.c:572:9: ./include/linux/string.h:345:9: error: ‘__builtin_memcpy’ offset [-527, -529] is out of the bounds [0, 16] of object ‘vrsave’ with type ‘union ’ [-Werror=array-bounds] return __builtin_memcpy(p, q, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ arch/powerpc/kernel/ptrace.c: In function ‘vr_get’: arch/powerpc/kernel/ptrace.c:567:5: note: ‘vrsave’ declared here } vrsave; ^~~~~~ cc1: all warnings being treated as errors make[1]: *** [scripts/Makefile.build:306: arch/powerpc/kernel/ptrace.o] Error 1 make: *** [Makefile:1052: arch/powerpc/kernel] Error 2 -- Meelis Roos