From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mga03.intel.com ([143.182.124.21]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SA1Dy-0004c9-C0 for openembedded-core@lists.openembedded.org; Tue, 20 Mar 2012 16:43:50 +0100 Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 20 Mar 2012 08:34:56 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.71,315,1320652800"; d="scan'208";a="79615758" Received: from unknown (HELO envy.home) ([10.255.15.194]) by AZSMGA002.ch.intel.com with ESMTP; 20 Mar 2012 08:33:56 -0700 Message-ID: <4F68A33A.7060604@linux.intel.com> Date: Tue, 20 Mar 2012 08:33:14 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120209 Thunderbird/10.0.1 MIME-Version: 1.0 To: Denys Dmytriyenko References: <1332202974-27977-1-git-send-email-denis@denix.org> <4F689BD8.4040201@linux.intel.com> <20120320152846.GA22965@denix.org> In-Reply-To: <20120320152846.GA22965@denix.org> X-Enigmail-Version: 1.4 Cc: Denys Dmytriyenko , Patches and discussions about the oe-core layer Subject: Re: [PATCH] rt-tests: fix dependency on eglibc, clean LDFLAGS passing X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Mar 2012 15:43:50 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 03/20/2012 08:28 AM, Denys Dmytriyenko wrote: > On Tue, Mar 20, 2012 at 08:01:44AM -0700, Darren Hart wrote: >> >> >> On 03/19/2012 05:22 PM, Denys Dmytriyenko wrote: >>> From: Denys Dmytriyenko >>> >>> Replace dependency on eglibc with virtual/libc >>> Pass LDFLAGS to TARGET_CC_ARCH, instead of CFLAGS as Makefile overrides it >>> >>> Signed-off-by: Denys Dmytriyenko >> >> Thanks Denys, >> >> Looking through the rt-tests sources I don't see TARGET_CC_ARCH >> anywhere. Have you confirmed that changes made there make their way into >> the actual build? > > Darren, > > TARGET_CC_ARCH is not an rt-tests specific variable, it's used in OE. > Although, TARGET_LDFLAGS might be more appropriate for this purpose, > historically TARGET_CC_ARCH was heavily used to pass distro LDFLAGS to the > app's build process - grepping it would show many such cases in OE-Core and > especially in meta-oe... OK, thanks for the context. Will you be resubmitting with TARGET_LDFLAGS? >> What was the problem you ran into? > > Not a problem per se, but it was not getting all the LDFLAGS being passed, > more specifically: > > -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed > > BTW, in Classic OE it was failing on GNU Hash QA check w/o this. > -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel