Gentoo Archives: gentoo-hardened

From: Michael Ihde <ihde@××××.edu>
To: gentoo-hardened@l.g.o, method@g.o
Subject: Re: [gentoo-hardened] LiveCD install oddity
Date: Tue, 02 Mar 2004 22:56:15
Message-Id: 40451108.5020005@uiuc.edu
In Reply to: Re: [gentoo-hardened] LiveCD install oddity by Michael Ihde
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 Joshua,
5
6 l try to get time for it tomorrow night. For sure by Friday.
7 |
8 | |> Also, did you add -fPIC to your CFLAGS because that definately
9 | |> shouldn't happen unless you are doing it for a specific reason (ie:
10 | |> to build et_dyn binaries) which should be done by hardened-gcc or xgcc
11 | |> without the CFLAG..
12 |
13 | No, I didn't change anything in make.conf. I was using only the
14 | defaults provided by stage1.
15 |
16
17 ~From what I can tell the -fPIC is being added by the ncurses configure
18 script...not in portage.
19
20 By looking at the Makefile after ncurses runs configure
21
22 I see this line
23 CFLAGS_SHARED = $(CCFLAGS) -fPIC
24
25 in
26 /var/tmp/portage/ncurses-5.3-r5/work/ncurses-5.3/ncurses
27
28 and many other Makefile in the other subdirectories.
29
30 Echoing the CFLAGS in the ncurses ebuild shows that right before the
31 make call the CFLAGS are set to "-O2 -mcpu=i686 -fomit-frame-pointer"
32 which seems reasonable.
33
34 Hope this helps track down the problem.
35
36 ~Michael
37
38 gentoo-hardened@g.o mailing list
39
40
41 -----BEGIN PGP SIGNATURE-----
42 Version: GnuPG v1.2.2 (Cygwin)
43 Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
44
45 iD8DBQFARREI4u+TsXnyGiQRAnCLAKCCgo1SAryfB17PH3wbpXZLXrnaowCfUsgD
46 sFWFHpAj4EXTf+bCsbTK7lE=
47 =+ImJ
48 -----END PGP SIGNATURE-----
49
50 --
51 gentoo-hardened@g.o mailing list