From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 731E21F5AE for ; Thu, 23 Jul 2020 20:52:15 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 7751B3857C40; Thu, 23 Jul 2020 20:52:14 +0000 (GMT) Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id 6A5B93858D38 for ; Thu, 23 Jul 2020 20:52:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 6A5B93858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=joseph_myers@mentor.com IronPort-SDR: vz65wN6CfalpgL8JSnfiLOn4s3nxs5oB9QVOzYKDekFvHLdAbU+uK97mqfktWTcI0lkhh9xmTE 9pp8Hhq+mdr6vEYg6BKjQmVJ2HCYyQVsnUpBKvQT3VtMzagfK2JzqGQ/XvaGv7pZePLd4KY8vz F8Ao++1fPjCTrIfZVUMpYHw5S4UTpYgwq1CRs7TpOgbiVaSJ9zA4tj2222r4SQBCeryeCNCaYC VefvM4jkSqzDmDdcd76r0EsjH8NDg3ttNYF0WdAiNzBDYjamvrtOO3W3jJlXjbH/g5uOt289Rp /Tw= X-IronPort-AV: E=Sophos;i="5.75,388,1589270400"; d="scan'208";a="53402984" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa1.mentor.iphmx.com with ESMTP; 23 Jul 2020 12:51:55 -0800 IronPort-SDR: 5sWFkIQyyZHPhf6EbPGMG0UH3ZBHZB6keXJyErH9zU2nyLiugrIwFkaYQeRxyJ6WVRDSDfxyZW yLDZQUTRtpcyhg0lkkyBPAxrTetXEl+0ERuy8V2g0frHEPw3EA27LQdKyw4zUKwPvOh2LTbOEK gXrmQntfaLKp8C4zwfKOvlCkBnqF3pOPGn+Shc0RbSk6zIRYs47MmisyoKwCNgJjCMLxrT3noI wKp0PYWIV3ZM3R78ktHBZ2/s1cq5JmLESFOeerKCgHLqXeznFFzaKmZUAVBpyuTFEWzelxIzOw 6G8= Date: Thu, 23 Jul 2020 20:51:50 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Adhemerval Zanella Subject: Re: [PATCH 03/16] linux: Consolidate xstat{64} In-Reply-To: <20200723194641.1949404-4-adhemerval.zanella@linaro.org> Message-ID: References: <20200723194641.1949404-1-adhemerval.zanella@linaro.org> <20200723194641.1949404-4-adhemerval.zanella@linaro.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: svr-ies-mbx-02.mgc.mentorg.com (139.181.222.2) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alistair Francis , libc-alpha@sourceware.org Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" On Thu, 23 Jul 2020, Adhemerval Zanella via Libc-alpha wrote: > Also the non-LFS mips is an outlier and it has its own implementation > since _STAT_VER_LINUX requires a different conversion function (it uses > the kernel_stat as the syscall argument since its exported ABI is > different than the kernel one for both non-LFS and LFS implementation). The other key MIPS peculiarity is that n64 has struct stat and struct stat64 with different layout even though off_t etc. are 64-bit by default. And thus n64 cannot use sysdeps/unix/sysv/linux/wordsize-64 (not sure if any other incompatibilities prevent use of that directory). -- Joseph S. Myers joseph@codesourcery.com