From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RGJYu-0006HZ-ER for garchives@archives.gentoo.org; Tue, 18 Oct 2011 23:59:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 02B6A21C071; Tue, 18 Oct 2011 23:59:00 +0000 (UTC) Received: from heron.networksolutions.com (heron.networksolutions.com [205.178.190.224]) by pigeon.gentoo.org (Postfix) with ESMTP id CA06921C071 for ; Tue, 18 Oct 2011 23:59:00 +0000 (UTC) Received: from NSIVA-EXCHANGE1.CORPIT.NSI.NET (nsivaex1-b.corpit.nsi.net [10.216.32.73]) by heron.networksolutions.com (8.12.10/8.12.10) with ESMTP id p9INwxmR002788 for ; Tue, 18 Oct 2011 19:59:00 -0400 (EDT) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: [gentoo-catalyst] Setting cflags for a single package in spec file Date: Tue, 18 Oct 2011 19:58:59 -0400 Message-ID: In-Reply-To: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [gentoo-catalyst] Setting cflags for a single package in spec file Thread-Index: AcyN1Ugy2QP2kODMRIW0tnuL7zQHIQAHEO3w References: From: "Garrity, Christopher" To: X-Archives-Salt: X-Archives-Hash: e2371563a90ea6c3e81f019348d7b69c https://bugs.gentoo.org/show_bug.cgi?id=3D357083=20 does not manifest during compile. tftp -c get foo ... segs on "get" -----Original Message----- From: Matt Turner [mailto:mattst88@gentoo.org]=20 Sent: Tuesday, October 18, 2011 4:34 PM To: gentoo-catalyst@lists.gentoo.org Subject: Re: [gentoo-catalyst] Setting cflags for a single package in spec file On Tue, Oct 18, 2011 at 4:04 PM, Garrity, Christopher wrote: > > Thanks, that did it! > > # grep confdir catalyst-netboot2.spec > portage_confdir: /etc/portage > > # find /etc/portage/env -type f -exec cat {} \; -print > CFLAGS=3D"-mtune=3Dcore2 -march=3Dcore2 -pipe -fomit-frame-pointer" > CHOST=3D"x86_64-pc-linux-gnu" > CXXFLAGS=3D"${CFLAGS}" > /etc/portage/env/net-ftp/tftp-hpa > > My tftp client no longer segs :) Great to hear! Speaking of which, I don't see any bugs reported in the Gentoo bug tracker. How can I reproduce the seg fault you're seeing? I just compiled tftp-hpa-5.1 with gcc-4.5.3-r1. Thanks, Matt