1 |
On сб, 2004-07-17 at 12:01, Ned Ludd wrote: |
2 |
> Anybody else having problems with 3.3.4-r1 and kernel building but works |
3 |
> as described in this email with 3.3.3-r6? |
4 |
> |
5 |
> On Fri, 2004-07-16 at 00:51, Rumen Yotov wrote: |
6 |
> > Hi all, |
7 |
> > A day or two ago had a compile error during kernel build - rsbac-kernel |
8 |
> > (gcc-3.3.3-r6). As i have problems with this kernel for some time, |
9 |
> > leaved it for later (compilation went OK for rsbac-6.7.0 and |
10 |
> > rsbac-6.7.0-r1 later after recompilation stopped booting 6.7.0-r1). |
11 |
> > Today also had such problem with hardened-dev-sources-2.6.7-r3 with the |
12 |
> > same config as hardened-dev-sources-2.6.7-r2 nothing changed (except i |
13 |
> > think GCC). |
14 |
> > Suspect it's a problem with the new GCC-3.3.4, before had gcc-3.3.3-r6 |
15 |
> > (gave such an error for rsbac-kernel - above). |
16 |
> > For a long time am using hardened USE flag, before that used -fPIC and |
17 |
> > -fstack-protector, so GCC is hardened. |
18 |
> |
19 |
> |
20 |
> > Never had such problems in kernel compilation and don't want to compile |
21 |
> > a new -hardened-GCC. |
22 |
> |
23 |
> What else would those cpu cycles doing? |
24 |
> nop |
25 |
> |
26 |
> Assuming your i686 class try this. |
27 |
> wget -O - -q |
28 |
> http://dev.gentoo.org/~solar/toolchain/gcc/ia32-vanilla-3.3.2.specs | |
29 |
> sed s/'3.3.2'/'3.3.4'/g > $(gcc-config -L)/specs |
30 |
> |
31 |
> cd /usr/src/linux |
32 |
> # make stuff |
33 |
> # fails here? |
34 |
> # works with these gcc profile specs? |
35 |
> |
36 |
> # to restore. |
37 |
> gcc -dumpspecs > $(gcc-config -L/specs |
38 |
> |
39 |
> |
40 |
> > All ~x86 system and using genkernel but that's for |
41 |
> > a year and no problems. |
42 |
> > PS: Also using PaX and grsec2 for quite a long time - minor problems, |
43 |
> > including 2.6.5 kernel. |
44 |
> > Suggestions. |
45 |
> > TIA |
46 |
> > Rumen |
47 |
> > ...CUT... |
48 |
SKIP |
49 |
> > make: *** [drivers] Error 2 |
50 |
> > * ERROR: Failed to compile the "bzImage" target... |
51 |
> > * -- Grepping log... -- |
52 |
> > * -- End log... -- |
53 |
> > * Please consult /var/log/genkernel.log for more information and any |
54 |
> > * errors that were reported above. |
55 |
> > * Report any genkernel bugs to bugs.gentoo.org and |
56 |
> > * assign your bug to genkernel@g.o. Please include |
57 |
> > * as much information as you can in your bug report; attaching |
58 |
> > * /var/log/genkernel.log so that your issue can be dealt with |
59 |
> > effectively. |
60 |
> > * |
61 |
> > ...END CUT... |
62 |
Hi, |
63 |
Solved the problem with hardened-dev-sources-2.6.7-r3. Have PaX-aslr and |
64 |
quite full grsec2 - working. |
65 |
A day or two ago read /ML/ that beside linux-headers there are also |
66 |
linux26-headers assuming they are nearly stable. |
67 |
Resolved to rebuild the toolchain - linux26-headers, modutils, |
68 |
module-init-tools, binutils and glibc with GCC-3.3.4-r1. |
69 |
Haven't time to try rsbac-dev-kernel-2.6.7-r3 (by zhware)or r1, but i'll |
70 |
try it later. |
71 |
Had many problems when booting rsbac-kernels (genkernel-initrd or |
72 |
manually-no-initrd) made. At last they booted but stopped when mounting |
73 |
local fs-systems. |
74 |
Thanks very much. |
75 |
Rumen |