Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp3199552rwb; Mon, 16 Jan 2023 05:10:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXvdlGeOOi8xzAtsjwXhp5AkmEf3yhUB/e38+62ovxYyDIzTRG51RXMk4niwItDeQNcHvHKM X-Received: by 2002:a17:906:7188:b0:7c1:eb:b2a7 with SMTP id h8-20020a170906718800b007c100ebb2a7mr12196597ejk.13.1673874630737; Mon, 16 Jan 2023 05:10:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673874630; cv=none; d=google.com; s=arc-20160816; b=ghjSdjQ1E/EQdgi94iELWMXdFwEZFIW207qsC1zTX3BFexjxQH9aod9DGdvb6zlkPR o3i6WcFkYuKhD+Xb6FNoZZsfhZNDOFLwvtsyOqhMyFQTpNFx2hV+Hk6+1jOtmIxYVSYb T4E9ggxMk2WsWBc6hV81cegNuDlrq5ofaREyfBfa+ZU/jqRRnuWYc/Zbn5ej+h9f7101 KaKyenUNST/0gCUD2TQk5y5om5WFZJYOE3W5po7wC2zjjK/iu4HE52ljDbq3A/3h6Exs DuFSAU91mkkvIwFyFTZZMk7bLfAyfuRKzsDKp3moJvFP1lMKbJj6EYMWla6r/0K+oLJG zhdQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:message-id:in-reply-to :subject:cc:to:from:date; bh=Ws8mmpvHuo5pbS6Xz3In4/7XcfMojomXc994GUa8bcE=; b=N0nrmxaaeBtQORPfRnUTJlABJtvePu2VxrDzeDpmZbKD98MX9VUsT0x36QqPabPuKO QQFutydqjdj4uH+da66BycqI+jQn7PRs1NLpLFOLLEuyVlPO/7n5GsSL3lAOExSKgYvZ tCFdvX91WgSPtOJGNIyfkjX0qp9lpui9CcIX4YNdcwlGHEzPkiHbDYPO2JKgLskJjlGT HnsqBhJlfriA+ItGXPi5Hy1z6rv/1G4tVMeagLzEdrhel6Rhz3zMubCi8nn+4ySIcSkq ozFEpAMGzFU1ssx/jlgDO2KB6avjlG5w+DG1Is59IziiQILUHZNZ+hP3bK8niF2qvKz8 oOMw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id a21-20020a1709066d5500b007c0d5b8443dsi24149738ejt.776.2023.01.16.05.10.18; Mon, 16 Jan 2023 05:10:30 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230281AbjAPMgm (ORCPT + 51 others); Mon, 16 Jan 2023 07:36:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:32930 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230254AbjAPMgi (ORCPT ); Mon, 16 Jan 2023 07:36:38 -0500 Received: from albert.telenet-ops.be (albert.telenet-ops.be [IPv6:2a02:1800:110:4::f00:1a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 261071E299 for ; Mon, 16 Jan 2023 04:36:36 -0800 (PST) Received: from ramsan.of.borg ([IPv6:2a02:1810:ac12:ed50:ca8:1fb3:6247:f214]) by albert.telenet-ops.be with bizsmtp id 9Qca2900R3ai2CG06QcacG; Mon, 16 Jan 2023 13:36:35 +0100 Received: from geert (helo=localhost) by ramsan.of.borg with local-esmtp (Exim 4.95) (envelope-from ) id 1pHOj4-005TSs-Ln; Mon, 16 Jan 2023 13:36:34 +0100 Date: Mon, 16 Jan 2023 13:36:34 +0100 (CET) From: Geert Uytterhoeven To: linux-kernel@vger.kernel.org cc: linux-s390@vger.kernel.org Subject: Re: Build regressions/improvements in v6.2-rc4 In-Reply-To: <20230116122924.116745-1-geert@linux-m68k.org> Message-ID: <46ba7912-3df6-dff9-792-49f4eaadefec@linux-m68k.org> References: <20230116122924.116745-1-geert@linux-m68k.org> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 16 Jan 2023, Geert Uytterhoeven wrote: > JFYI, when comparing v6.2-rc4[1] to v6.2-rc3-8-g1fe4fd6f5cad346e[3], the summaries are: > - build errors: +1/-5 + /kisskb/src/include/linux/fortify-string.h: error: '__builtin_memcpy' reading 128 bytes from a region of size 0 [-Werror=stringop-overread]: => 57:33 s390x-gcc11/s390-allmodconfig /kisskb/src/arch/s390/kernel/setup.c: In function 'setup_lowcore_dat_on': /kisskb/src/include/linux/fortify-string.h:57:33: error: '__builtin_memcpy' reading 128 bytes from a region of size 0 [-Werror=stringop-overread] 57 | #define __underlying_memcpy __builtin_memcpy | ^ /kisskb/src/include/linux/fortify-string.h:578:9: note: in expansion of macro '__underlying_memcpy' 578 | __underlying_##op(p, q, __fortify_size); \ | ^~~~~~~~~~~~~ /kisskb/src/include/linux/fortify-string.h:623:26: note: in expansion of macro '__fortify_memcpy_chk' 623 | #define memcpy(p, q, s) __fortify_memcpy_chk(p, q, s, \ | ^~~~~~~~~~~~~~~~~~~~ /kisskb/src/arch/s390/kernel/setup.c:526:9: note: in expansion of macro 'memcpy' 526 | memcpy(abs_lc->cregs_save_area, S390_lowcore.cregs_save_area, | ^~~~~~ Looks like this was "'__builtin_memcpy' offset [0, 127] is out of the bounds [0, 0]" before. Gr{oetje,eeting}s, Geert -- Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds