Gentoo Archives: gentoo-hardened

From: Michael Schachtebeck <michael.schachtebeck@×××××××××××××××××××.de>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] gentoo-hardened and apache-2.0.49-r3
Date: Sun, 20 Jun 2004 14:16:11
Message-Id: 40D59C06.3070208@stud.uni-goettingen.de
In Reply to: Re: [gentoo-hardened] gentoo-hardened and apache-2.0.49-r3 by Ned Ludd
1 Hi.
2
3 Ned Ludd schrieb am 06/18/2004 09:52 PM:
4
5 > On Fri, 2004-06-18 at 13:09, Michael Schachtebeck wrote:
6 >
7 >>Configuring Apache Portable Runtime library ...
8 >>
9 >>[...]
10 >>
11 >>checking for C compiler default output file name... configure: error: C
12 >>compiler cannot create executables
13 >>See `config.log' for more details.
14 >>configure failed for srclib/apr
15 >>
16 >>!!! ERROR: net-www/apache-2.0.49-r3 failed.
17 >>!!! Function src_compile, Line 190, Exitcode 1
18 >
19 >>!!! bad ./configure please submit bug report to bugs.gentoo.org. Include
20 >>your config.layout.
21 >
22 > I guess you did not read the above.
23
24 Do you mean config.log? I did read it, but found no needfull information
25 there.
26
27 >>If I disable LDFLAGS="-pie" in /etc/make.conf, everything works fine...
28 >>Any ideas how to compile apache-2.0.49-r3 with LDFLAGS="-pie"?
29 >
30 > yep... use a gcc that enables this support automaticly. The way we
31 > handle this now is to remove all LDFLAGS add 'hardened' to your USE
32 > flags and then emerge gcc. Your problem will go away after that.
33
34 ok, I'll try it, thanks. Does the hardened USE flag only replace the
35 LDFLAG -pie, or even the CFLAGS -fPIC and -fstack-protector?
36
37 Michael.
38
39 --
40 gentoo-hardened@g.o mailing list

Replies