Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757505AbcCRPtg (ORCPT ); Fri, 18 Mar 2016 11:49:36 -0400 Received: from mail-by2on0066.outbound.protection.outlook.com ([207.46.100.66]:57765 "EHLO na01-by2-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752558AbcCRPtd (ORCPT ); Fri, 18 Mar 2016 11:49:33 -0400 Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=caviumnetworks.com; Date: Fri, 18 Mar 2016 18:49:18 +0300 From: Yury Norov To: "Zhangjian (Bamvor)" CC: Andreas Schwab , , , , , , , , , , , , , , , , Bamvor Zhang Jian Subject: Re: [RFC5 PATCH v6 00/21] ILP32 for ARM64 Message-ID: <20160318154918.GA1595@yury-N73SV> References: <1452792198-10718-1-git-send-email-ynorov@caviumnetworks.com> <56AB3805.1040308@huawei.com> <20160129170929.GA3543@yury-N73SV> <56AC38F1.2030608@huawei.com> <20160218223506.GA7816@yury-N73SV> <20160225202855.GD16123@yury-N73SV> <56EBD84D.2060009@huawei.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <56EBD84D.2060009@huawei.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-Originating-IP: [95.143.213.121] X-ClientProxiedBy: AM2PR09CA0011.eurprd09.prod.outlook.com (25.161.22.149) To BLUPR07MB609.namprd07.prod.outlook.com (10.141.207.12) X-MS-Office365-Filtering-Correlation-Id: b3086dd1-f6f3-4f95-e0dd-08d34f44e442 X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;2:idboXOfZDWJQ5a3QNr1H5b+jf/kTeScE438tfQqAo2gdlG0QVeJos6FzHzW8GjICT+s0XNe6o6+blWQZ229xGd3MWNwcb0bXPf307sdcTK6/rOJNOu0FAIV5CMbunAwZvCtBSUFMiOjafbcbXdNdRFpyXVUXepmrb2GDbguM3chRXMvU+VfmTeYrE4rmF9la;3:t3k8j17dLItsiSFgizw2ytT+lDG8bztqn1bFo/+aJ+kEpbyfWmyoCtEcO1RLpWbOScB6IlRkNDvPUmhECw3whS7xtkPZ8mQSsSAlQl69O3PbOvlVUAzkGg1WVXMMRBsN X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;25:g6iLPWmtXSsv+j1iIr5D764ktsoUCINOy+dyC1LVqx2XPC6K7iokoL+7WhKtKqB/NajCVI6Isef7YkQqArZ5O1jPJR0GKicXl/LsfVo7bFP8D1NJqiK7CxenV9JtMBE/x78lN0PM2g7kvGrMU1D8DolssbS/tVIxGnjFQnPSKaDgKg7UhgKxbvqtewaRzGPvLK9jYskwDIxJar21pbuAArJy6fdSXp+xDiEsSjC2R7h7zsl+c5zPk/8jPC38pcOcGgkejaDNkivvOdFwFQkGtPlsobmSHmJOr6ZmPs8flK3vgddbeN2bt+H/wZ4yzGyD+KZCnGfRDONJnL+drKVKOJyDBqjdOnm7MWiK6H7Ut4y5cYm023dL2/z3KPtpZMawUL3J7a1zNj4yFKWySSapUkHC+cbhvASC/hZkssj4SEfL0XWDFpMGk5a0t++K+ruTEO+ore/CeWnKvpuTdFTGmHbtBRtJzv+s4rzBjwWAGjUaA1G3Nl5nnmwI1+SNCjDUGhgHfa2ZMHaywrnbO3oaZB5hjkSXbkHxTK/tMWNegrBPyTjxsTk4xQnvEwa33mk+BN2q0/YEidNop1u9/4YZ0FOYF3bGEmralOvWnY3BsKVwKB2bg9QfLN1f4e1+EwX9LgZlIJGbkzKAzdNT89OmbQ== X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;20:uIc4FQfGvzfp49GFzquunQJ73Fkb5a6e9dIvZpPepuygVw4Jr6CXk+opPcRkxdj6KLcuCFRZrhXvJEUyHWMO7XV5COfO6HP07f7boLAEHmUKtzW58QPKC7wOyc5sSHHViTApPRLvT6OlpJdytmjm9W2Whb+fsuSYe2mOmfiMvVVcd7L78Tt2kFxSdP0u1DbRq6EvGWTwK36JtPXgDatRf/pHyVBc94uDHelL7CaMrSv7IaRgUJ48eaw0GVICrZ5TwrbioWriu0K87KPvgESdWnnT/IlgUwwxurfDgZK4R9pMZ9FoHXQrM8JI0LodZFLB9/kMkT0TMZ3wuH2sdn2ySJZ5jJLBDzkBP9IM4jm9ZRJqqhu3f8g/5rJB7nZkmnpwqxIP8XfSUlFh8MtSVG6LnF1gKxeYPTIXExhLyBuHEvfMVDhv03eCOs5iPW2HuQDgO/Qmin5bUNcyQAdo+oAFfJ4E2g1RiZoI7c9XCy5Sb1tL0QHqg0Gvxt+79l/wSsqBVo4oAHNZ4TQkGNJjwa4q7q0NV5nr7iZy94wZ2knBHpvxhDSSC+KCXrSCI0XACUgLoS3PEtNKKBFrWXSrNxnrkXE7nQdnJVqOPZmr9TL5VWs= X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA-Test: BCL:0;PCL:0;RULEID:(601004)(2401047)(8121501046)(5005006)(3002001)(10201501046);SRVR:BLUPR07MB609;BCL:0;PCL:0;RULEID:;SRVR:BLUPR07MB609; X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;4:m8wprefGvdcq6v0mNm2L4PrW2I/nV74/hasSsMYRnn4Lp3vqj8/QihOBmAuQ5bUUP/9pkiauyg01NDm4lgkMqXeHSJSkWlOcRzgxu4nN6QCEWPzrK1sjSh5Az5ODzx70XWkSVGhRNr6hSsSFq4fnE4eFAZWYRbmYIXfSZI41ChCRBWiGu3qZhMAvBdI9KAzZj/GmbIPFni76F91vFHZLiZyGGSF3S2il93lfHpoWJ539Ew3duL2OzDLd1IBAhpmMbi6dhEQsdtbFgDL1QnKpdkHY4E4QBz+8Ve2hvqEfLIw40VklDpvHUAYGoTIW1wQAmcjG1QqgmEaHSGLLAMbVHXAFZLozDG6Khc4Ta4Lq82CMt4UjrwTpUH9WkG+4XQu/ X-Forefront-PRVS: 088552DE73 X-Forefront-Antispam-Report: SFV:NSPM;SFS:(10009020)(4630300001)(6069001)(6009001)(24454002)(77096005)(66066001)(47776003)(19580395003)(19580405001)(189998001)(81166005)(2950100001)(97756001)(76176999)(54356999)(50986999)(15975445007)(575784001)(83506001)(110136002)(33656002)(76506005)(4326007)(93886004)(5004730100002)(42186005)(6116002)(46406003)(92566002)(2906002)(33716001)(23726003)(1076002)(3846002)(5008740100001)(586003)(50466002)(1096002);DIR:OUT;SFP:1101;SCL:1;SRVR:BLUPR07MB609;H:localhost;FPR:;SPF:None;MLV:sfv;LANG:en; X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1;BLUPR07MB609;23:tUpoDoDTnx2d9FCZo6tjCNvBacBzQRjZBdc6ai8ctd?= =?us-ascii?Q?d/Uoj8ouSQ6KTLNG5umTSm16R8CXBfT1zk6sJTz8eTEiIy229CxT0BqMAc2A?= =?us-ascii?Q?fDxpRQD2tEo0aCHT3gmzg9bvXVw2ylLrbc+mm2F80MMaJp26XDQGz41dnyYQ?= =?us-ascii?Q?KIQPLI4b1BBZxDp5yOFNAbcv+vWtcPydxdCe+piQfWSY2pePW+stzB/oLLU+?= =?us-ascii?Q?I+TMsG8x6JjOrU1NnQaXhM+IO5RNWlAWcBpunr7Q2xJ30iVLOvaWzGkY078l?= =?us-ascii?Q?kV/03qSdfVWNDgZTptRoOfotNE7xqhI5NGUuOnpOAhdt++EgQ0GHXjaKyt7O?= =?us-ascii?Q?QSz7dy1iZXypu2jehq71nCH1BR84eMcd3o9Ra4FM6pfhpV9MVsq3YdMZSd7I?= =?us-ascii?Q?xN0fGXbRCXQI4XxzRZ2Unv9bAL/PWqNTYTkfVXPvJoAY4Bs3iZ4pUuHsK/Wv?= =?us-ascii?Q?3Ku9SxIgwje2jDV+DEzFRLoWi4ZEcd1YdF8Ksir1XrirWwIYz4cA2ajvWpDJ?= =?us-ascii?Q?lBScq8CqtJjI8STX7I9FjLIu6HOYbhIAQfKRm7mRI3PPRjgx/+C/Is+Qwc7u?= =?us-ascii?Q?EHCNWiYUH8jHOoPmv1JYslFrBtuXQQ8YvmZPXv69PW58ii+XstzsSJtNcH1J?= =?us-ascii?Q?9l8YG+DaPlHQhF/7Txrc2z5RJAEp3MtrdGc63ILkjSBgEJgJ3fJYDdlt5KpC?= =?us-ascii?Q?GQMs/Mrs8AYANfBN26k7eSMfCBKuiuX3wwhhm97VC2MiaOO9atzGSfzqMO0i?= =?us-ascii?Q?+FAeoZ4YbM9jGkHNZU3tC599YGGMg8w8sS8u5bWA3/QyqzNA6V0uUg42g3ek?= =?us-ascii?Q?FQepMTc1cQB//Oel+U402p4EJCI27/nTfcXV205mZC8eeVODNby+mvos44ZU?= =?us-ascii?Q?0mClKYXpCSK+E5yhl4CHTGqSsKy1ZpCK5kqKguaq0lJTBHfPWGtrws0yy6GV?= =?us-ascii?Q?+8pZV4JrnSg4yZU4dW7ePYfs31Tby3SZBPyF6dX4Bewcl7jFhECt9MUZ60fa?= =?us-ascii?Q?Ke1B8+RtD9dCYLNO4yuszX?= X-Microsoft-Exchange-Diagnostics: 1;BLUPR07MB609;5:5p9cqLkm+kauU5MWCNE5Jnvl+wLpoZ6goMEymydlopoUeevmbOd8iKXdW3Q0Si/G5ZUhh3+4eE0lKtZXHnV9VqzCG0HkctQSZDHmZGsk/owgJAHpm+4AOYekCMAAuzcsD99tFCwEvWlVI4rmkxxHZA==;24:vYCia5G9VBxphqLSxab4xki1O8OLhVY+t3witPYpPwElCKF4L0yukamBJrlOJC2ypMbNm9ht2H/UQ8SJB2o+7+biKK6782u+UeULoOIgu2U= SpamDiagnosticOutput: 1:23 SpamDiagnosticMetadata: NSPM X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Mar 2016 15:49:29.2205 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-Transport-CrossTenantHeadersStamped: BLUPR07MB609 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 3975 Lines: 107 On Fri, Mar 18, 2016 at 06:28:29PM +0800, Zhangjian (Bamvor) wrote: > Hi, Yury > > We are trying to test ilp32 in our arm64 board. But we got more > failure compare with you. So, I am wondering if we could align > the test environment with you. The source code we used: > Hi, I mostly use QEMU but Thunder X CPU works similarly. I also noticed that some tests fail sporadically, and some fail only in scenario. The current fail list, as for me, is at the bottom. Below links to my sources. > 1. glibc: the new-api branch of glibc from > git@code.huawei.com:gnu/norov_glibc.git. It has few bugfixes: https://github.com/norov/glibc/tree/new-api > > 2. Kernel: rfc5 from https://github.com/norov/linux.git. Is the > rc6 in your branch is the latest one? From the commit message, I > do not find any difference. Is it just a rebase? https://github.com/norov/linux/tree/pin1 This branch is v4.5 plus - Andrew's Thunder X patches (not mandatory); - http://comments.gmane.org/gmane.linux.kernel/2116021 - http://comments.gmane.org/gmane.linux.kernel/2162853 - current ILP32 (RFC5 + few fixes) > > 3. Toolchain 4.9.3, could you provide the binary of toolchain(both > cross and native, gcc, gdb...)? It may be very useful for me or > other guys who interested build their own filesystem from > buildroot or something. I use one Andrew gave me. AFAIK, he's preparing useful package. Andrew? I use this cross-toolchain. Find sys-root under aarch64-thunderx-linux-gnu/ https://drive.google.com/file/d/0B93nHerV55yNdXBlVTRLNzF0aFE/view?usp=sharing > > 4. LTP: master. Find LTP here: https://drive.google.com/file/d/0B93nHerV55yNSTlZX3drRTBCaEU/view?usp=sharing Notice that I configure it with command: echo $(PREFIX) /home/yury/work/toolchain/thunderx-tools/ ./configure --host=aarch64 --prefix=/home/yury/work/ltp/ltp \ CC=$(PREFIX)/bin/a arch64-thunderx-linux-gnu-gcc \ AR=$(PREFIX)/bin/aarch64-thunderx-linux-gnu-ar \ STRIP =$(PREFIX)/bin/aarch64-thunderx-linux-gnu-strip \ RANLIB=$(PREFIX)/bin/aarch64-thunderx-linux-gnu-ranlib \ CFLAGS=-mabi=ilp32 \ LDFLAGS=-mabi=ilp32 -Wl,--rpath=/root/sys-root/libilp32 \ -Wl,--dynamic-linker=/root/sys-root/libilp32/ld-2.21.90.so Notice that you don't need to place experimental sys-root to system paths, but path is hardcoded to '/root/sys-root' > > For the glibc part, I found that there are 11 patches of ilp32 in top, > but the original 28 patches of ilp32 is not in the top, there are more > than 900 patches between them(referece the list below). Are you > willing rebase all the ilp32 relative patches. It is very useful for > reviewing and debugging. I saw andrew request the account in glibc, > maybe it has already been in processs?). > I already told there's mess there, and I'd prefer to make things work first and then do cleanup. Yury. Total Tests: 787 Total Skipped Tests: 25 Total Failures: 24 float_bessel FAIL 137 float_exp_log FAIL 137 float_iperb FAIL 137 float_power FAIL 137 float_trigo FAIL 137 abort01 FAIL 2 clone02 FAIL 4 fcntl11 FAIL 4 fcntl21 FAIL 4 kill10 FAIL 2 kill11 FAIL 2 mmap16 FAIL 6 nftw01 FAIL 1 nftw6401 FAIL 1 open12 FAIL 2 pathconf01 FAIL 1 profil01 FAIL 11 rename11 FAIL 2 rmdir02 FAIL 2 umount2_01 FAIL 2 umount2_02 FAIL 2 umount2_03 FAIL 2 utime06 FAIL 2 mtest06 FAIL 11