Gentoo Archives: gentoo-hardened

From: "Peter S. Mazinger" <ps.m@×××.net>
To: Alexander Gabert <pappy@g.o>
Cc: gentoo-hardened@g.o
Subject: [gentoo-hardened] Re: -DPIC not defined in hardened gcc-3.3.2
Date: Fri, 05 Dec 2003 03:39:48
Message-Id: Pine.LNX.4.44.0312051033540.29084-100000@lnx.bridge.net
In Reply to: [gentoo-hardened] Re: -DPIC not defined in hardened gcc-3.3.2 by Alexander Gabert
1 On Tue, 2 Dec 2003, Alexander Gabert wrote:
2
3 > we can do that if you want
4 tcp_wrappers needs -DPIC too. (in portage zlib-1.2.1 one patch adds
5 DPIC too, but only -fPIC is really needed, (not tested for this
6 version, but for all up to 1.2.0.7)
7
8 Peter
9
10 >
11 > regression testing underway
12 >
13 > thanks,
14 >
15 > Alex
16 >
17 > On Tue, 2003-12-02 at 20:41, Peter S. Mazinger wrote:
18 > > Hello!
19 > >
20 > > I am trying to build rpm-4.0.4 with hardened-gcc-3.3.2 and it works only
21 > > with nopie out of the box (against uclibc, sorry, it's not really gentoo
22 > > related - only hardened -, but the embedded list is also an unproper place
23 > > to ask for now). The problem is coming from the fact, that PIC is not
24 > > defined (checked sources and #ifdef PIC is used).
25 > > Should -DPIC (and -Dpic) not be added to gcc's specs, or is this only
26 > > the program's fault not using __PIC__ (or __pic__)?
27 > >
28 > > I have attached my diff between original gcc-3.3.2 and what I used.
29 > >
30 > > Thanks, Peter
31 >
32
33 --
34 Peter S. Mazinger <ps.m@×××.net> ID: 0xA5F059F2 NIC: IXUYHSKQLI
35 Key fingerprint = 92A4 31E1 56BC 3D5A 2D08 BB6E C389 975E A5F0 59F2
36
37
38 ____________________________________________________________________
39 Miert fizetsz az internetert? Korlatlan, ingyenes internet hozzaferes a FreeStarttol.
40 Probald ki most! http://www.freestart.hu
41
42 --
43 gentoo-hardened@g.o mailing list