1 |
On Mon, Feb 11, 2008 at 11:24:49PM +0100, Penguin Lover Alex Schuster squawked: |
2 |
> I emerged -e again, this time without distcc and ccache. All compiled fine, |
3 |
> except for media-video/mplayer-1.0_rc2_p24929-r1 (vf_decimate.c:26: error: |
4 |
> can't find a register in class `BREG' while reloading `asm') and |
5 |
|
6 |
http://bugs.gentoo.org/show_bug.cgi?id=175627 |
7 |
|
8 |
Like you found below, it can be avoided using vanilla GCC. |
9 |
That is why I still only have mplayer-1.0_rc1-r2, that one compiled |
10 |
okay. |
11 |
|
12 |
> I then decided to harden my desktop PC, too. I want to get some experience |
13 |
> with the hardened setup, and I want that machine to be able to act as a |
14 |
> distcc server for another hardened machine which will be set up soon. |
15 |
|
16 |
> x11-misc/xscreensaver-5.04: |
17 |
> lockward.c:59: error: syntax error before "uint8_t" |
18 |
|
19 |
Not a problem with hardened. |
20 |
http://bugs.gentoo.org/show_bug.cgi?id=208731 |
21 |
Meanwhile, downgrade to 5.03, that one works. |
22 |
|
23 |
> But most annoying is that the nvidia drivers do not seem to work. First, |
24 |
|
25 |
what card and which drivers? |
26 |
I have an old card that is not supported by drivers >= 1.0.9700, so |
27 |
... scratch that, I didn't notice that the versioning scheme changed. |
28 |
|
29 |
http://www.gentoo.org/doc/en/nvidia-guide.xml |
30 |
|
31 |
> they refused to compile telling me that this would do more harm than good |
32 |
> with a hardened setup. I put them into packages.unmask, now they compile |
33 |
> and the nvidia module loads, but still X has no GLX, xorg.0.log |
34 |
> says "Failed to initialize GLX extension (NVIDIA X driver not found)", |
35 |
|
36 |
This really does not sound like a hardened issue... I need to upgrade |
37 |
my drivers to the 96.* to see if I can reproduce your problem, but |
38 |
with 1.0.8776 (from two years ago) I definitely do not have your |
39 |
problem. |
40 |
|
41 |
> glxinfo segfaults. I guess I will try to re-compile all X stuff with the |
42 |
> vanilla gcc. |
43 |
|
44 |
glxinfo segfaulting is expected. Do you have chpax/paxctl installed? There |
45 |
are a metric shitload of stuff that will run afoul of pax on hardened. |
46 |
A quick list from my /etc/conf.d/chpax has (admittedly, this is info |
47 |
that is two years old, since chpax is obsolete and hasn't been |
48 |
updated) |
49 |
|
50 |
java, wine, xorg, xine, openoffice, mplayer, mozilla, firefox, |
51 |
glxinfo, glxgears, ut2004, skype |
52 |
|
53 |
glxinfo has problem with mprotect. Check your system log, there should |
54 |
be something to that effect when your hardened system shuts glxinfo |
55 |
down. |
56 |
|
57 |
I have my entire system on the |
58 |
hardened profile (including X and nvidia [yes, despite the warnings of |
59 |
the hardened team about nvidia]) and no problems. My guess is that |
60 |
your problem with GLX lies somewhere else. |
61 |
|
62 |
> Would it be possible to make these changes permanent, that is, can I tell |
63 |
> portage to compile specific packages with a specific |
64 |
> compiler? /etc/portage/package.compilerflavor or something? |
65 |
|
66 |
Don't know. On the wiki there is a way to switch CFLAGS, don't know if |
67 |
something like that can be used to strip SSP and/or PIC flags from the |
68 |
hardened. |
69 |
|
70 |
W |
71 |
-- |
72 |
"Somebody has suggested that as a solution to global warming we just change the |
73 |
earth's orbit a little bit. Personally, I'm not too keen to carry out this |
74 |
experiment quite yet." |
75 |
~DeathMech, S. Sondhi. P-town PHY 205 |
76 |
Sortir en Pantoufles: up 431 days, 12:37 |
77 |
-- |
78 |
gentoo-user@l.g.o mailing list |