From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753473AbbFVQlc (ORCPT ); Mon, 22 Jun 2015 12:41:32 -0400 Received: from tex.lwn.net ([70.33.254.29]:46602 "EHLO vena.lwn.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752043AbbFVQlZ (ORCPT ); Mon, 22 Jun 2015 12:41:25 -0400 Date: Mon, 22 Jun 2015 10:41:24 -0600 From: Jonathan Corbet To: Paul Gortmaker Cc: , , Andy Lutomirski Subject: Re: [PATCH] Documentation/vDSO: don't build tests when cross compiling Message-ID: <20150622104124.62299220@lwn.net> In-Reply-To: <1434849028-26733-1-git-send-email-paul.gortmaker@windriver.com> References: <1434849028-26733-1-git-send-email-paul.gortmaker@windriver.com> Organization: LWN.net X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-redhat-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 20 Jun 2015 21:10:28 -0400 Paul Gortmaker wrote: > The following was seen in linux-next build coverage, which is somewhat > unique since it uses powerpc host to cross compile x86: > > Documentation/vDSO/vdso_standalone_test_x86.c:49:2: error: impossible > register constraint in 'asm' > make[4]: *** [Documentation/vDSO/vdso_standalone_test_x86.o] Error 1 > > It probably makes sense to just skip building these tests when > we are cross compiling. So I guess I'm not totally averse to applying these; getting rid of build errors is a good thing. But I do get the feeling like it's papering over the real problem. As a general rule, cross-compiling works; what's special about these programs that makes it fail? Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in Please read the FAQ at http://www.tux.org/lkml/