Gentoo Archives: gentoo-hardened

From: Brian Kroth <bpkroth@××××.edu>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] Anyone running chrooted bind-9.3.4+hardened+grsecurity?
Date: Mon, 19 Feb 2007 21:36:01
Message-Id: 45DA17C4.7040800@wisc.edu
In Reply to: Re: [gentoo-hardened] Anyone running chrooted bind-9.3.4+hardened+grsecurity? by "Dale E. Pontius"
1 Thanks. I've added a new post to the bug to show what I did.
2
3 Brian
4
5 Dale E. Pontius wrote:
6 > Brian Kroth wrote:
7 >> I had also seen this in the bug. Do you know if there's a way to
8 >> specify per package CFLAG customizations in portage?
9 >>
10 >> Also, does anyone know if this is being fixed on bind's end of things?
11 >>
12 >> Thanks,
13 >> Brian
14 >>
15 >> Akos Szalkai wrote:
16 >>>> I recently upgraded to bind-9.3.4 via portage, and it now keeps core
17 >>>> dumping on me. Anyone running chrooted
18 >>>> bind-9.3.4+hardended+grsecurity having this problem?
19 >>> Yes, it also happens to non-chrooted bind. This is bug #158664.
20 >>> Basically, using -O instead of -O2 (gcc optimization) solved it for me.
21 >>>
22 >>> Akos
23 >>>
24 > I've done this on my laptop a few times, and am not too familiar. But I
25 > have the file:
26 > /etc/portage/env/dev-libs/beecrypt-3.1.0-r2
27 > and the contents are:
28 > CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer"
29 > This is on a Pentium-M laptop, but it won't compiler unless I set
30 > "march=pentium3". With this structure I've changed march= for just the
31 > one version of the package. I've experimented with having an unversioned
32 > package and it works, too. In this particular case, I now have
33 > beecrypt-4.1.2-r1 and apparently it has compiled just fine with my
34 > default "march=pentiumm". I believe it overrides the whole CFLAGS
35 > environment variable, not piece by piece.
36 >
37 > Dale Pontius
38
39 --
40 *******************************************************************************
41 Brian Kroth
42 Systems Administrator
43 UW Health Sciences Learning Center
44 750 Highland Avenue
45 Madison, WI 53705
46 608.261.1932
47 bpkroth@××××.edu
48 --
49 gentoo-hardened@g.o mailing list