From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757708AbcCRRjU (ORCPT ); Fri, 18 Mar 2016 13:39:20 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58531 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757611AbcCRRjQ (ORCPT ); Fri, 18 Mar 2016 13:39:16 -0400 Date: Fri, 18 Mar 2016 14:39:13 -0300 From: Arnaldo Carvalho de Melo To: Josh Poimboeuf Cc: Lucas Stach , Jiri Olsa , linux-kernel@vger.kernel.org, kernel@pengutronix.de, patchwork-lst@pengutronix.de, acme@kernel.org Subject: Re: [PATCH] tools lib api: respect CROSS_COMPILE for the linker Message-ID: <20160318173913.GE2701@redhat.com> References: <1458235670-27341-1-git-send-email-l.stach@pengutronix.de> <20160318162547.GA2701@redhat.com> <20160318163815.qe7f7cwzis4riwnj@treble.redhat.com> <20160318164339.y52gcjuyrvgtmpwf@treble.redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160318164339.y52gcjuyrvgtmpwf@treble.redhat.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.5.20 (2009-12-10) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Fri, Mar 18, 2016 at 11:43:39AM -0500, Josh Poimboeuf escreveu: > On Fri, Mar 18, 2016 at 11:38:15AM -0500, Josh Poimboeuf wrote: > > On Fri, Mar 18, 2016 at 01:25:47PM -0300, Arnaldo Carvalho de Melo wrote: > > > Em Thu, Mar 17, 2016 at 06:27:50PM +0100, Lucas Stach escreveu: > > > > This fixes cross compilation of libapi. > > > > > > Humm, I guess that tools/lib/subcmd/Makefile has the same problem? And > > > there are also other cases where LD is not being set with CROSS_COMPILE, > > > Jiri, is there something else at play here? > > > > > > /me needs to cross compile all this code... > > > > Yeah, I already fixed the libsubcmd issue with commit c1d45c3abd49 in > > tip/core/objtool. (Sorry, I probably should have CC'ed you and Jiri.) > > Hm, I wonder why the 0-day kbuild bot didn't catch this issue before, > since I know it does some cross-compiling. Does it not build perf? Unfortunately I don't think so, IIRC there was some discussion, with Jiri perhaps, about having it building perf, but I don't know how that ended up. - Arnaldo