Gentoo Archives: gentoo-dev

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-dev@l.g.o
Subject: [gentoo-dev] Re: Re: Modular X and hardened
Date: Sun, 14 May 2006 08:44:50
Message-Id: e46q7j$bue$1@sea.gmane.org
In Reply to: Re: [gentoo-dev] Re: Modular X and hardened by Donnie Berkholz
1 Donnie Berkholz <spyderous@g.o> posted 4466C85A.8020109@g.o,
2 excerpted below, on Sat, 13 May 2006 23:04:10 -0700:
3
4 >> With regards to Duncan's (non-hardened) problem, adding:
5 >>
6 >> filter-ldflags -Wl,-z,now
7 >>
8 >> to x-modular.eclass as he suggests should be fine; his issue is
9 >> different to that with the hardened compiler in as much as he has added
10 >> the '-Wl,-z,now' to LDFLAGS as advised by the QA message and the above
11 >> filter will just remove it again; whereas to deal with the hardened
12 >> compiler we need to reliably add a flag to all the relevant link
13 >> commands (the bit that takes the effort is working out which are
14 >> relevant).
15 >
16 > Now I'm confused. Do you want this filter instead of the current
17 > situation, in addition to, or what? This is exactly why I asked for a
18 > patch.
19
20 That would be http://bugs.gentoo.org/show_bug.cgi?id=116698 .
21
22 It didn't have a patch included at the time, but I suggested it was
23 different, and described the appropriate patch (as described here) yet it
24 was marked duplicate.
25
26 Given the discussion, expect to see the bug reopened, with a reference to
27 this thread, and a patch.
28
29 Spyderous, IMO the two issues are separate, two different ways to
30 arrive at the same undesired result, so could be handled together or
31 separately. As the hardened one doesn't have a current fix, while the QA
32 message one does, and the latter really should be addressed before
33 stabilization, while the other is going to take awhile, it would appear
34 separate is best. Fix the one that's possible to fix now, leave the other
35 for later.
36
37 The LDFLAGS one (116698) would then be RESOLVED, FIXED, after application
38 of the patch, the hardened one (110506) could be RESOLVED, LATER, or
39 RESOLVED, UPSTREAM (given that there's a fair chance it'll be fixed for
40 7.2), if desired, or left open, depending on what's easiest to track.
41
42
43
44 --
45 Duncan - List replies preferred. No HTML msgs.
46 "Every nonfree program has a lord, a master --
47 and if you use the program, he is your master." Richard Stallman
48
49 --
50 gentoo-dev@g.o mailing list