Gentoo Archives: gentoo-hardened

From: Alexander Gabert <pappy@g.o>
To: "Peter S. Mazinger" <ps.m@×××.net>
Cc: gentoo-hardened@g.o
Subject: [gentoo-hardened] Re: -DPIC not defined in hardened gcc-3.3.2
Date: Tue, 02 Dec 2003 20:42:06
Message-Id: 1070397828.9384.0.camel@camille.external
In Reply to: [gentoo-hardened] -DPIC not defined in hardened gcc-3.3.2 by "Peter S. Mazinger"
1 we can do that if you want
2
3 regression testing underway
4
5 thanks,
6
7 Alex
8
9 On Tue, 2003-12-02 at 20:41, Peter S. Mazinger wrote:
10 > Hello!
11 >
12 > I am trying to build rpm-4.0.4 with hardened-gcc-3.3.2 and it works only
13 > with nopie out of the box (against uclibc, sorry, it's not really gentoo
14 > related - only hardened -, but the embedded list is also an unproper place
15 > to ask for now). The problem is coming from the fact, that PIC is not
16 > defined (checked sources and #ifdef PIC is used).
17 > Should -DPIC (and -Dpic) not be added to gcc's specs, or is this only
18 > the program's fault not using __PIC__ (or __pic__)?
19 >
20 > I have attached my diff between original gcc-3.3.2 and what I used.
21 >
22 > Thanks, Peter
23 --
24 Alexander Gabert <pappy@g.o>
25 http://www.gentoo.org/proj/en/hardened
26
27
28 --
29 gentoo-hardened@g.o mailing list

Replies

Subject Author
[gentoo-hardened] Re: -DPIC not defined in hardened gcc-3.3.2 "Peter S. Mazinger" <ps.m@×××.net>