Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp3972727ybl; Mon, 13 Jan 2020 05:57:03 -0800 (PST) X-Google-Smtp-Source: APXvYqzpku+jo0bTvJVMHG5dl/pFNSAKa8Q6QKQLHwdkXcS1MgcuEZhfC4YYXIsEj3iNu83Smflh X-Received: by 2002:aca:e106:: with SMTP id y6mr13103526oig.131.1578923823001; Mon, 13 Jan 2020 05:57:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578923822; cv=none; d=google.com; s=arc-20160816; b=o15mEdaIXDUakTV9Zcv+xnra7SZXZVU15gAVbmYvJgKAy+Te96Z3WbYh0IopgxMcuI MD7CWJVzOST8jJc/rfujGFY8l56r15sdFYntQUpvABJPEM/1s+tVYPM31paBu9mNP+oc A1lBjMaeXU2R6MGM9MrG4Rwtota7qX0yR657tmZwhQ+jOTed5uJZa2Vg30rXcovh50z8 v/hfxskxZnv47THazdLP/a0j4GQDj71kgsv4ct9j1xeA6aNBrK9ri+kjklmuhuVoJLZ7 KNsrvhfk2WT6vBMLQrrU0SfpNCA//T+hrO2AdF1Zs12c2Sc0BKVSTkVl+TifzxKgsVUV ugSA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version; bh=UbxtERNnQuJFyK9v08MZLWw6wksEUeLIuL1On3s31V0=; b=e56UmkkACHvrByVg8zHGpuE9W7ElFZLxitiyow/ujHbFNRnZBo7rpZm+C4Ae3vNaqh kcJPQvGtDcrWcfEgpPTVuI81X8rp8ppXkf81pz4+17DlJmHq1ZkNPQBjFN0VU04Y3wFo DJD7qF/hG0Ihh97E7DVUe2guhH73kRmRV7gA75pXqH1YUVc4Jaht0OGHTrnxHMKRgYQI JAKKjk+D4j6Ux47O5k9zlWkTUCBTCKvoTPTAEEVCpxw1vP+vG3d8koAAkaoQ0wCI0aIp 5BWxvNrBCKxZt88oMhh1NE7qAzxGluKCviSsV46JQ91VozOsux6XDHVd8KQyracwbHYX Ph+w== 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 s64si5623247oig.147.2020.01.13.05.56.51; Mon, 13 Jan 2020 05:57:02 -0800 (PST) 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 S1728865AbgAMNze (ORCPT + 99 others); Mon, 13 Jan 2020 08:55:34 -0500 Received: from mout.kundenserver.de ([217.72.192.73]:60239 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726074AbgAMNzd (ORCPT ); Mon, 13 Jan 2020 08:55:33 -0500 Received: from mail-qk1-f173.google.com ([209.85.222.173]) by mrelayeu.kundenserver.de (mreue106 [212.227.15.145]) with ESMTPSA (Nemesis) id 1MILnm-1iuFJg0qpA-00ELhD; Mon, 13 Jan 2020 14:55:32 +0100 Received: by mail-qk1-f173.google.com with SMTP id x1so8443156qkl.12; Mon, 13 Jan 2020 05:55:31 -0800 (PST) X-Gm-Message-State: APjAAAUoMeyZ4851b0bykETfwKLaoIzyy6SM0hdtkFvYJOuLM5VtjeM9 Z9G3LYyYUr0bF8rll+dwXq31DFKHay2Vrrc1pyU= X-Received: by 2002:a37:2f02:: with SMTP id v2mr15882483qkh.3.1578923731021; Mon, 13 Jan 2020 05:55:31 -0800 (PST) MIME-Version: 1.0 References: <20200109141459.21808-1-vincenzo.frascino@arm.com> <1a540ee4-6597-c79e-1bce-6592cb2f3eae@arm.com> <20200109165048.GB8247@magnolia> <435bcb71-9126-b1f1-3803-4977754b36ff@arm.com> In-Reply-To: <435bcb71-9126-b1f1-3803-4977754b36ff@arm.com> From: Arnd Bergmann Date: Mon, 13 Jan 2020 14:55:15 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] xfs: Fix xfs_dir2_sf_entry_t size check To: Vincenzo Frascino Cc: "Darrick J. Wong" , Eric Sandeen , linux-xfs , "linux-kernel@vger.kernel.org" , Christoph Hellwig Content-Type: text/plain; charset="UTF-8" X-Provags-ID: V03:K1:vvFFm/UvIgiFyFiiE52HR/hez2RRMgZKYxLJN87Nv1zqozfLmW7 Qz/5bISlCaBpSGGJh4Fe6ChfER/cS1ffNk+JFmFQLTRwOCIMgb3yNSrdnAQ4Z4ymtNBwSqG X7rISgiNgrE/JTc6pgaLnIxTtgaGGfdX3c0PVQtNdm9NmCKGJO8Y5E2K1Xbmei0/oi9A8+E 2uVNhuRNsV2x/W5KzV/rQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:/Mx5sHqj+xM=:dvR//8icbbKtjoXiS1bzCm zl2h3P69PLOjYZfiCUN/Fkeh5R1BZaebon5dKZZVSoFpNNHZVhSAP9sDts9zeywRMJHZBHtMk XkZwOH+Lb1/EQu5DR92jP6pTlaLXEfOl7kzPDaCAnt8wy7/OlxMKvLtLzOg1bv6sFQ5duI0OR Ksb7QZIpFaE9GUYzgQ+VJJv9ZOaKVHasKakYYEm0dB5i7v/oRzZuts/rjO1VMXwrs09m4IGpn p2bw/2bpGKXV6P2X+adfGbNo/AkIzghfMOmKSCnXzR8VeSbDFca3d2MNVYRogjU3yPD0ML08Y BOe1cpdZd9JjwZ9kOU5O4JXd9RhCw8fnLlD0P9uafGDefoJn0yYTsCaZlHihDGCIzZpbDvX4n WQrAILlgUFTeeYWZ52MLrMy1+W0qYDGyDAgdAYRHLZTv7B4tlQ2hAXkM6A5RXb7Gc1w0BP4Wh HcwBtIrqMZGSNaq+3tc+hqIEURgi/UvZmds7j1bFpGXseKdEEe5nwF82PcJsHoD3+angPW1K2 G+XwhZbhfGtJUrQL9xv1UhfTRXAiDPfhZuJ/OHG7O+vKv0F3MscYycoxk+wS5H9xp6U2gJ74Q D6WeTt16CMXXE9mdhnGYsE1ITjJTDKpDTNGuvPyb3tZiUTynwYwM3VaAdmNAXBq+cZ/AZlAta 6zIJ+7kK+vLCIiAv5gX2NVpSq6pjyrpfIi9kCGNTD84kJlzezddpgUWPLxXqccWClT7Zh7/8R A5oEcYuzOj6wG7dLj+trdedibEk1CVfv1X7uoKzA5v6HAHA8GhEBhj2mzB+6hV2KzPb9MjvBa dxek3wzbHCLVZxmDsDS2WbgKz9mxkGXnGEwdP90UcyObN66wushQQpHfAlUo9vep8iYu4WRhF lD6KtAHrNfmKOGh6QR/w== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jan 9, 2020 at 10:01 PM Vincenzo Frascino wrote: > > Hi Darrick, > > On 09/01/2020 16:50, Darrick J. Wong wrote: > > This sounds like gcc getting confused by the zero length array. Though > > it's odd that randconfig breaks, but defconfig doesn't? This sounds > > like one of the kernel gcc options causing problems. > > > > This is what I started suspecting as well. The important bit into the configuration is # CONFIG_AEABI is not set With ARM OABI (which you get when EABI is disabled), structures are padded to multiples of 32 bits. See commits 8353a649f577 ("xfs: kill xfs_dir2_sf_off_t") and aa2dd0ad4d6d ("xfs: remove __arch_pack"). Those could be partially reverted to fix it again, but it doesn't seem worth it as there is probably nobody running XFS on OABI machines (actually with the build failure we can be fairly sure there isn't ;-). I am testing randconfig builds with OABI and a few other things like ARCH_RPC disabled because of random issues like this. Arnd