Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S937990AbdD0Noy (ORCPT ); Thu, 27 Apr 2017 09:44:54 -0400 Received: from resqmta-po-01v.sys.comcast.net ([96.114.154.160]:48678 "EHLO resqmta-po-01v.sys.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754593AbdD0Nop (ORCPT ); Thu, 27 Apr 2017 09:44:45 -0400 Reply-To: shuah@kernel.org Subject: Re: [PATCH 1/1] selftests: breakpoints: allow to cross-compile for aarch64/arm64 References: <20170322180458.15567-1-fathi.boudra@linaro.org> To: Fathi Boudra Cc: "linux-kernel@vger.kernel.org" , Pratyush Anand , linux-kselftest@vger.kernel.org, shuah Khan From: Shuah Khan Message-ID: <0dd96239-5fa1-afda-2727-db46f8bb9171@kernel.org> Date: Thu, 27 Apr 2017 07:44:43 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfMjAcXeOgMZQgAuSIwG1Z5rZVDyQy685+C7WjJXST2MjtJ1tQ5TyMxQK82xvogBzsnfR0Y4FQyfLWnOokuhAD+P/3zFtV7ZsmR4LpYM2/IDr589I7gdh +PMxrXyMBwgXzlzHzCeYgPacHK5mRd7Z7Aw2tyxxtc4eu57oEeSwQhTkdJCPuSCDwf9Zn+QN1tbAs7UyxbDXRCfwSyb9yc5Jyk6WtoGKFGOCWJS+vVHNUZSa jfaIMF5g5rhcQMKsFsUm4QZmj2zjWVN69I0XrMpE6mkkhkkPRbsQfrwsU5LpXLFPxO49RF+k1PoBzrmqI6DkpnjWK1WI0DbyvDKzv4B6qm8= Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 795 Lines: 22 On 04/19/2017 11:31 AM, Fathi Boudra wrote: > gentle ping > > On 22 March 2017 at 20:04, Fathi Boudra wrote: >> To build breakpoint_test_arm64, ARCH value is only tested for "aarch64". >> It covers only the native build because it's computed from uname -m output. >> For cross-compilation, ARCH is set to arm64 and prevent to cross-compile >> the test. >> Fix the test to allow both native and cross-compilation of the test. >> >> Note: glibc is missing several of the TRAP_* constants in the userspace >> definitions. Specifically TRAP_BRANCH and TRAP_HWBKPT. >> See https://sourceware.org/bugzilla/show_bug.cgi?id=21286 >> >> Signed-off-by: Fathi Boudra >> --- Applied to linux-kselftest next. thanks for the patch. -- Shuah