Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1155453imu; Thu, 13 Dec 2018 10:12:39 -0800 (PST) X-Google-Smtp-Source: AFSGD/Vnwzbofna0d6b5yTLhhwSpwAWS1QJCRsjtwZI4n5H1GvWaBoCA3tpV/0H40od60IKeIzdw X-Received: by 2002:a62:5486:: with SMTP id i128mr24405625pfb.215.1544724759928; Thu, 13 Dec 2018 10:12:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544724759; cv=none; d=google.com; s=arc-20160816; b=hWDAtqd41mBfgwm1jkNmMirbGgG4Oo/jnk9TpGVFnI7J5wAeEMf/yEPvrC5852t94R 3EMfo+VyJQY5xJ0Fz4xHAI95iXETrVxCBt+2/nHCbe8/4gXi4+qiG6cRmVejh4lccmxt tehH+9RsWxo2AiCE2e4IbYYKN0PaYOiVYgqDnBObNRMOrbxyxbbV9TfEG/gN4m8uKdx2 Dk5rD6ylMSFm3cRgp9M7undRs7D+za2BOKC5Td6sz4UkXzvtGf/SucvewDGAS+rkRb+3 hZFVxxIbK0XYKOZFxG647degDg4mYJH6Enr7q5gSuBFcw4eGTcNshdJVJTrG5kHDPFvv xCeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=aLilZWu5pXc/mSPuBHOBO7v63VrEUEsVQ0P9gogkPcU=; b=eOd66HYw6G7BgmNGAbhdFWQiWYfcUBB5GTEM5UmgEXLpvy3PGQDnybx2PAyGrESTV0 8y2LqjNMocYYqKlkTSdwu9RIHQJNhgy91tOUn39ve+yCrAqEWxGFOXOc/wcd+aqDyhQX kwiOvD57mj6k0AXDPHz2jQciAfP/hJmK+Dmre+jae0QOsOWUoP6hlZ3aVmLoZ42QiFlZ 6hkrF4AUJawLgMl0JrV6pNp9IRkOruOSY0t7MbL1dHGrPgumpCl2wZ0liKmoP74AxOlS C8bPA/VRTP1yjMXQN6RuM8UpfMewGwhHAEoC+2wZeBDs7/kjLWubk1kfduzRqlJn7BPR bngA== 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 4si2071094pfg.280.2018.12.13.10.12.18; Thu, 13 Dec 2018 10:12:39 -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 S1729327AbeLMQCs (ORCPT + 99 others); Thu, 13 Dec 2018 11:02:48 -0500 Received: from 216-12-86-13.cv.mvl.ntelos.net ([216.12.86.13]:58934 "EHLO brightrain.aerifal.cx" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729020AbeLMQCs (ORCPT ); Thu, 13 Dec 2018 11:02:48 -0500 Received: from dalias by brightrain.aerifal.cx with local (Exim 3.15 #2) id 1gXTRi-0008Ka-00; Thu, 13 Dec 2018 16:02:42 +0000 Date: Thu, 13 Dec 2018 11:02:42 -0500 From: Rich Felker To: John Paul Adrian Glaubitz Cc: Andy Lutomirski , X86 ML , LKML , Linux API , "H. Peter Anvin" , Peter Zijlstra , Borislav Petkov , Florian Weimer , Mike Frysinger , "H. J. Lu" , x32@buildd.debian.org, Arnd Bergmann , Will Deacon , Catalin Marinas , Linus Torvalds Subject: Re: Can we drop upstream Linux x32 support? Message-ID: <20181213160242.GV23599@brightrain.aerifal.cx> References: <70bb54b2-8ed3-b5ee-c02d-6ef66c4f27eb@physik.fu-berlin.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <70bb54b2-8ed3-b5ee-c02d-6ef66c4f27eb@physik.fu-berlin.de> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Dec 11, 2018 at 11:29:14AM +0100, John Paul Adrian Glaubitz wrote: > I can't say anything about the syscall interface. However, what I do know > is that the weird combination of a 32-bit userland with a 64-bit kernel > interface is sometimes causing issues. For example, application code usually > expects things like time_t to be 32-bit on a 32-bit system. However, this > isn't the case for x32 which is why code fails to build. I don't see any basis for this claim about expecting time_t to be 32-bit. I've encountered some programs that "implicitly assume" this by virtue of assuming they can cast time_t to long to print it, or similar. IIRC this was an issue in busybox at one point; I'm not sure if it's been fixed. But any software that runs on non-Linux unices has long been corrected. If not, 2038 is sufficiently close that catching and correcting any such remaining bugs is more useful than covering them up and making the broken code work as expected. Rich