Gentoo Archives: gentoo-hardened

From: Markus Dittrich <markus@×××××××.edu>
To: Aaron Walker <ka0ttic@××××××.com>
Cc: gentoo-hardened@l.g.o
Subject: Re: [gentoo-hardened] hardened and X
Date: Sat, 08 May 2004 18:17:03
Message-Id: 20040508181611.GA1960@biohazard.ks.uiuc.edu
In Reply to: Re: [gentoo-hardened] hardened and X by Aaron Walker
1 Aaron,
2
3 I don't have access to my box right now hence I can't
4 check, but I think I compiled xorg statically, i.e.
5 with USE="static". Maybe you can give that a try.
6
7 Hope it works,
8 Markus
9
10
11
12 Aaron Walker <ka0ttic@××××××.com> writes:
13 > On Fri, 2004-05-07 at 16:19, pageexec@××××××××.hu wrote:
14 > > > I recall that I had the same problem at some point.
15 > > > The cause in my case was the pie flag, which enables
16 > > > the DoLoadableServer and MakeDllModules options in
17 > > > the Xorg config file.
18 > >
19 > > indeed, it's the pie option and the dlloader that will be used
20 > > by the X server to load modules (vs. the elfloader). this is
21 > > work in progress, we've got some results with the old xfree86
22 > > server back last year but now the whole game restarted with
23 > > the x.org server. there's http://bugs.gentoo.org/show_bug.cgi?id=49038
24 > > that you may want to keep an eye on, if those issues are resolved,
25 > > automatic PIE/dlloader will be ready to be deployed, until then
26 > > it's either without PIE or you've got manual work to do as you
27 > > can gather it in that bug report...
28 > >
29 >
30 > Well, I recompiled xorg with USE=-pie and now get:
31 >
32 > Duplicate symbol __i686.get_pc_thunk.bx in
33 > /usr/X11R6/lib/modules/fonts/libbitmap.a:bitmapmod.o
34 > Also defined in /usr/X11R6/lib/modules/fonts/libbitmap.a
35 >
36 > Fatal server error:
37 > Module load failure
38 >
39 > I recompiled again with USE=-pie -hardened but get the same results.
40 >
41 > I read through bug #49038 but am not really sure what relates to my
42 > situation. I dont have binutils-2.15 installed. I think 2.15 was taken
43 > out of ~x86 before I installed this morning, so 2.14.90.0.8-r1 is
44 > installed.
45 >
46 > What do I need to do to get X running? Hopefully I won't have to
47 > rebuild the entire system with USE=-pie -hardened...
48 >
49 > Thanks again for your help guys,
50 > Aaron
51 >
52 >
53 > --
54 > gentoo-hardened@g.o mailing list