Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752278AbbKIOhk (ORCPT ); Mon, 9 Nov 2015 09:37:40 -0500 Received: from mout.kundenserver.de ([212.227.126.130]:57270 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751682AbbKIOhd convert rfc822-to-8bit (ORCPT ); Mon, 9 Nov 2015 09:37:33 -0500 From: Arnd Bergmann To: Andreas Schwab Cc: linux-arm-kernel@lists.infradead.org, Yury Norov , LKML , Andrew Pinski Subject: Re: [RFC PATCH v6 00/17] ILP32 for ARM64 Date: Mon, 09 Nov 2015 15:36:58 +0100 Message-ID: <22080083.1SbhEYEXOu@wuerfel> User-Agent: KMail/4.11.5 (Linux/3.16.0-10-generic; KDE/4.11.5; x86_64; ; ) In-Reply-To: References: <1446507046-24604-1-git-send-email-ynorov@caviumnetworks.com> <5795162.dlSUXvq6vJ@wuerfel> MIME-Version: 1.0 Content-Transfer-Encoding: 8BIT Content-Type: text/plain; charset="utf-8" X-Provags-ID: V03:K0:Uvvidgycbe3lVYc3QTyBbCJYDL7X57K2REljOBsMtFcJCZ77LGM TvLGfcVa3sauhSHHcvC2OFE+hrCTs5jdnVwh93hJguuN+y2y+NOx3WqrKlh3v8Xzn/lc+Jh 1n2l5t274qfiSb+kZkSnc6u2erCO5LxsBxaAPEEQfRkz95tIWF5KyekDn4NTSIJJBQo+NNV te8V16we+9H9o146zMeMA== X-UI-Out-Filterresults: notjunk:1;V01:K0:hpCwrjyfxaI=:Gza/bWagb3ylHhdO7klkwe VuRmwLttsBLfM2sl35NP+QEnb2XbkY/4BbpY7n28eFyZ/S4FEpZUozQuYW34CGt8mMg5RIUr4 aidTA1L2q8sucXYcUyuSYuYqaIYuzUlKP6QTWufDZrLy7TlIhF0+qfWvTYnlANKNtaUVNUsZI TqnV2MWs/fyPJF3cxfYnCho9uVibRnTIrMUurF7hgtUDz6XPOtUD5QE9JqWnNGl6+Dh4cJuAZ JYFWBNeMV3dJ/54kYidbZlsaguM2p0GWoAcBpxsV3AbomXXVLn2NchyVvO6hIOPdry8nGyxI6 H7aDCfNGoRnaWosZQKQfPeQETYuW1H6vD0cM2IuiFU67cGCs0+spegEFCPvuXko+jo9JLfC1/ lJRwH1HPxvpLq40tSW+KcOcBpjVMJuoF1gU3rmNZ+XjOlbM1OSaqOOahx3tnjpP7+UphZL3ch ELE3ouN3c1O1xXJz6q3kSPyrGMK1XkRdQC5CQ1DL3gJBPcTaMKgGrmF/hDoxuCpp/ZUGIBNAh flhhkGtq+QzYk9w9Ld6lG2cFpiUmSoBWH6T8WTxkdiUY4Z2IyFDfUBllVCBDCJBWfn8gU15RZ tiEit/VOPI91klk+WJk+dCbv/TwrNqtGUN6au7It3X5GkMV1AqLrh3l/zcqV6cdRhMG3G/kmH 0ge693sKlgdGxGVxqri2DvNymwUp1DPD04T+NX0Wq2bcY3zeVhQCcmUHwjH1WbnEUSA7VCora H/gA/27IuZ8h9Opr Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1189 Lines: 33 On Monday 09 November 2015 15:33:51 Andreas Schwab wrote: > Arnd Bergmann writes: > > > On Monday 09 November 2015 14:23:59 Andreas Schwab wrote: > >> Yury Norov writes: > >> > >> > This is what I run: > >> > https://github.com/norov/glibc/tree/thunderx-ilp32-32time_toff_t > >> > >> That doesn't work for me: > >> > >> ../sysdeps/unix/sysv/linux/generic/sysdep.h:24:22: error: ‘__NR_llseek’ undeclar > >> ed (first use in this function) > >> ../sysdeps/unix/sysv/linux/aarch64/sysdep.h:41:32: error: ‘__NR_fcntl64’ undeclared (first use in this function) > >> > > > > Did you re-export the kernel headers that you use as the base? > > I'm using the patched 4.3 kernel headers. Ok. > Why is defining __BITS_PER_LONG to 64 unconditionally? It should not, that is a bug. I don't know how Yury built his glibc, but it can't work if __BITS_PER_LONG is wrong. Arnd -- 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/