Gentoo Archives: gentoo-hardened

From: Marco Morales <soulse@×××××.com>
To: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] X won't start.
Date: Fri, 30 Jul 2004 21:49:49
Message-Id: 108c1f3604073014495107f4a2@mail.gmail.com
In Reply to: Re: [gentoo-hardened] X won't start. by pageexec@freemail.hu
1 how would be the /etc/make.conf in order to compile X in this case....?
2
3 On Tue, 13 Jul 2004 23:12:42 +0200, pageexec@××××××××.hu
4 <pageexec@××××××××.hu> wrote:
5 > > > Do you think the problem is with the new hardened gcc specs that
6 > > > automatically adds -fPIC if no -fPIC is found?
7 > > > This flipflop logic may be the cause for the .a library getting misbuilt
8 > > > as PIC with the gcc internal preparation function showing up in the
9 > > > object files...
10 > >
11 > > we do not enforce -fPIC, the enforcement is -fPIE (it should be somehow
12 > > different, not usable in shared libs)
13 >
14 > well, whichever it is, it makes those .o files PIC and then the elfloader
15 > will barf on those symbols. i guess -fPIE can end up being enforced if
16 > these modules are not compiled with -shared or whatever else your specs
17 > file logic would trigger on. as i said in the previous answer, the correct
18 > solution is to teach the elfloader to handle hidden symbols properly.
19 >
20 >
21 >
22 >
23 > --
24 > gentoo-hardened@g.o mailing list
25 >
26 >
27
28
29 --
30 Marco Morales
31 -------------------------------------------------------------
32 aka Soulse
33
34 "La posibilidad de realizar un sueño es lo que hace la vida interesante"
35 - Paulo Coelho
36
37 Mi blog: http://soulse.blogspot.com/
38 Site Feed: http://soulse.blogspot.com/atom.xml
39
40 --
41 gentoo-hardened@g.o mailing list