From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pw0-f47.google.com ([209.85.160.47]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1Q6wC7-0002Vw-JZ for openembedded-core@lists.openembedded.org; Tue, 05 Apr 2011 04:40:39 +0200 Received: by pwj9 with SMTP id 9so1724933pwj.6 for ; Mon, 04 Apr 2011 19:38:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=+z1r2nOkLBJ6EH49ItlU5uUosOMlO9U+ki/nOD9/y8Y=; b=k76R94h6mrVSJxaHtBhDFlGv5tL0ysu5v06AjBq/Sr9q4rGFn6UUaVghhwjpzh0rvD bnc9It0wWMTKDBWkUFqUkfyEV6rrdDnYOJcdiTV/zT4abuK+xyAWbPgnHXZKnnFWtI/G d4cG72sZcVqCYNi1ur9sekK169YHQ0UpbQ2wI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=goxOvq/azy6L798LFLsQJ1/VhEkOVTQmX+RG6mDvR+10kO1QFPmgqfofAbaatjJ5V1 JrLKg+FC8Zf/KN3Grz86YyzyJb9pYHiL49MJjPSd0VDdbPmENmgQknvwNEXJOOUhwNF/ NOZyK5NmasWEqvR20ykkW62edGTgK99TwdA1c= Received: by 10.142.163.2 with SMTP id l2mr6786610wfe.238.1301971113752; Mon, 04 Apr 2011 19:38:33 -0700 (PDT) Received: from [192.168.1.70] (99-57-141-118.lightspeed.sntcca.sbcglobal.net [99.57.141.118]) by mx.google.com with ESMTPS id w11sm8357191wfh.6.2011.04.04.19.38.31 (version=SSLv3 cipher=OTHER); Mon, 04 Apr 2011 19:38:32 -0700 (PDT) Message-ID: <4D9A80A5.70801@gmail.com> Date: Mon, 04 Apr 2011 19:38:29 -0700 From: Khem Raj User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: openembedded-core@lists.openembedded.org References: <43e615baf63929e99aacd8d2a0927c9d3f342fb6.1301665368.git.josh@linux.intel.com> <4D9A772C.4070409@gmail.com> In-Reply-To: <4D9A772C.4070409@gmail.com> Subject: Re: [PATCH 1/7] elfutils: fix builds with gcc 4.6 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, 05 Apr 2011 02:40:39 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 4/4/2011 6:58 PM, Khem Raj wrote: > On 4/1/2011 6:51 AM, Joshua Lock wrote: >> From: Joshua Lock >> >> gcc 4.6 (as used in Fedora 15) adds some extra warnings which are >> included with Werror. The new unused-but-set variable warning causes >> an error in libasm of elfutils. Work around this by removing >> unused-but-set from Werror. >> >> Signed-off-by: Joshua Lock >> --- >> meta/recipes-devtools/elfutils/elfutils_0.148.bb | 4 ++++ >> 1 files changed, 4 insertions(+), 0 deletions(-) >> >> diff --git a/meta/recipes-devtools/elfutils/elfutils_0.148.bb >> b/meta/recipes-devtools/elfutils/elfutils_0.148.bb >> index b2f700e..c395be8 100644 >> --- a/meta/recipes-devtools/elfutils/elfutils_0.148.bb >> +++ b/meta/recipes-devtools/elfutils/elfutils_0.148.bb >> @@ -40,6 +40,10 @@ SRC_URI += "\ >> >> inherit autotools >> >> +# GCC 4.6.0 raises an unused-but-set warning in libasm, for now remove >> +# this warning from Werror >> +CFLAGS_virtclass-native += "-Wno-error=unused-but-set-variable" >> + > > unused-but-set-variable is a new option in gcc 4.6 which means this will > cause problems with older gcc's as they wont recognize this option and > not all distros have gcc 4.6 > as base compiler. Have you tried compiling this patchset on a build > machine which has older gcc ? say 4.5 > may be this patch would help to get rid of using this option https://fedorahosted.org/pipermail/elfutils-devel/attachments/20110401/d91b26be/attachment.bin >> EXTRA_OECONF = "--program-prefix=eu-" >> >> do_configure_prepend() { >