Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752255AbbKPKSI (ORCPT ); Mon, 16 Nov 2015 05:18:08 -0500 Received: from relay1.mentorg.com ([192.94.38.131]:44503 "EHLO relay1.mentorg.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751526AbbKPKSD (ORCPT ); Mon, 16 Nov 2015 05:18:03 -0500 Date: Mon, 16 Nov 2015 10:16:35 +0000 From: Joseph Myers X-X-Sender: jsm28@digraph.polyomino.org.uk To: Chris Metcalf CC: Arnd Bergmann , , , Andrew Pinski , "Kapoor, Prasun" , Andreas Schwab , Nathan Lynch , LKML , Alexander Graf , Alexey Klimov , , Yury Norov , Andrew Pinski , David Daney , Catalin Marinas , Jan Dakinevich , Philipp Tomsich , Andrey Konovalov , , Mike Frysinger , Paul Eggert , Rich Felker Subject: Re: [PATCH v6 13/17] arm64:ilp32: add sys_ilp32.c and a separate table (in entry.S) to use it In-Reply-To: <5648B5E3.3060700@ezchip.com> Message-ID: References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> <6987238.kVeqDX1hGc@wuerfel> <4020288.s2KSidZP6C@wuerfel> <5648B5E3.3060700@ezchip.com> User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1406 Lines: 30 On Sun, 15 Nov 2015, Chris Metcalf wrote: > I've added Rich, Paul, Joseph, and Mike to the cc's as they are probably > a good subset of libc-alpha to help comment on these issues. My sense > is that right now, it wouldn't be possible to add a 32-bit architecture > with a non-32-bit default for _FILE_OFFSET_BITS. And, obviously, this > is why, when I added the tilegx32 APIs to glibc in 2011, I needed to > provide _FILE_OFFSET_BITS=32 support. x32 uses 64-bit off_t only. That's not a problem; the problems are tv_nsec not of type long, a bug we should avoid for all new ports (padding on tv_nsec is fine; treating that padding as a significant high part of a 64-bit value on input to glibc / kernel interfaces isn't), and maybe some other types being 64-bit unnecessarily, although as far as I know the suggested issues there are all theoretical. It's true that we don't have a very clear notion of what "wordsize-64" sysdeps directories mean in glibc for cases such as x32. See . -- Joseph S. Myers joseph@codesourcery.com -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/