Gentoo Archives: gentoo-catalyst

From: "Garrity
To: gentoo-catalyst@l.g.o
Subject: RE: [gentoo-catalyst] Setting cflags for a single package in spec file
Date: Tue, 18 Oct 2011 23:59:12
Message-Id: F47C0C7786BB2640AE1624869EE4FA3205B06E52@NSIVA-EXCHANGE1.CORPIT.NSI.NET
In Reply to: Re: [gentoo-catalyst] Setting cflags for a single package in spec file by Matt Turner
1 https://bugs.gentoo.org/show_bug.cgi?id=357083
2
3 does not manifest during compile. tftp <host|ip> -c get foo ... segs on
4 "get"
5
6 -----Original Message-----
7 From: Matt Turner [mailto:mattst88@g.o]
8 Sent: Tuesday, October 18, 2011 4:34 PM
9 To: gentoo-catalyst@l.g.o
10 Subject: Re: [gentoo-catalyst] Setting cflags for a single package in
11 spec file
12
13 On Tue, Oct 18, 2011 at 4:04 PM, Garrity, Christopher
14 <Christopher.Garrity@××××××××××××××××.com> wrote:
15 >
16 > Thanks, that did it!
17 >
18 > # grep confdir catalyst-netboot2.spec
19 > portage_confdir: /etc/portage
20 >
21 > # find /etc/portage/env -type f -exec cat {} \; -print
22 > CFLAGS="-mtune=core2 -march=core2 -pipe -fomit-frame-pointer"
23 > CHOST="x86_64-pc-linux-gnu"
24 > CXXFLAGS="${CFLAGS}"
25 > /etc/portage/env/net-ftp/tftp-hpa
26 >
27 > My tftp client no longer segs :)
28
29 Great to hear!
30
31 Speaking of which, I don't see any bugs reported in the Gentoo bug
32 tracker. How can I reproduce the seg fault you're seeing? I just
33 compiled tftp-hpa-5.1 with gcc-4.5.3-r1.
34
35 Thanks,
36 Matt