From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dan.rpsys.net (dan.rpsys.net [93.97.175.187]) by mail.openembedded.org (Postfix) with ESMTP id A472D6E92F for ; Wed, 26 Feb 2014 12:01:01 +0000 (UTC) Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu4) with ESMTP id s1QC0uQg021429; Wed, 26 Feb 2014 12:00:57 GMT X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Gb3JPqa-EDmY; Wed, 26 Feb 2014 12:00:56 +0000 (GMT) Received: from [192.168.3.10] (rpvlan0 [192.168.3.10]) (authenticated bits=0) by dan.rpsys.net (8.14.4/8.14.4/Debian-2.1ubuntu1) with ESMTP id s1QC0rX7021412 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 26 Feb 2014 12:00:55 GMT Message-ID: <1393416046.31769.111.camel@ted> From: Richard Purdie To: Gary Thomas Date: Wed, 26 Feb 2014 12:00:46 +0000 In-Reply-To: <530DD29A.9030807@mlbassoc.com> References: <1393414543.31769.110.camel@ted> <530DD29A.9030807@mlbassoc.com> X-Mailer: Evolution 3.8.4-0ubuntu1 Mime-Version: 1.0 Cc: openembedded-core@lists.openembedded.org Subject: Re: [PATCH] security-flags: Deal with powerpc build issues X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Feb 2014 12:01:05 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2014-02-26 at 04:40 -0700, Gary Thomas wrote: > On 2014-02-26 04:35, Richard Purdie wrote: > > > > > > Building powerpc machines with the standard security flags generated numerous > > build failures. Use a reduced set of flags for now to avoid linker issues > > and other compile failures. > > > > Signed-off-by: Richard Purdie > > --- > > diff --git a/meta/conf/distro/include/security_flags.inc b/meta/conf/distro/include/security_flags.inc > > index e7d4933a..b5489d8 100644 > > --- a/meta/conf/distro/include/security_flags.inc > > +++ b/meta/conf/distro/include/security_flags.inc > > @@ -2,6 +2,14 @@ SECURITY_CFLAGS ?= "-fstack-protector-all -pie -fpie -D_FORTIFY_SOURCE=2" > > SECURITY_NO_PIE_CFLAGS ?= "-fstack-protector-all -D_FORTIFY_SOURCE=2" > > SECURITY_LDFLAGS ?= "-Wl,-z,relro,-z,now" > > > > +# powerpc does not get on with pie for reasons not looked into as yet > > +SECURITY_CFLAGS_powerpc = "-fstack-protector-all -D_FORTIFY_SOURCE=2" > > +# Deal with ppc specific linker failures when using the cflags > > +SECURITY_CFLAGS_pn-dbus_powerpc = "" > > +SECURITY_CFLAGS_pn-dbus-ptest_powerpc = "" > > +SECURITY_CFLAGS_pn-libmatchbox_powerpc = "" > > +SECURITY_CFLAGS_pn-webkit-gtk = "" > > The change for webkit doesn't seem to be PowerPC specific? If it needs > to be here, shouldn't it be in a separate change, or at least documented > in the change log? Sorry, I'll make that powerpc specific, it was meant to be... Cheers, Richard