1 |
Tras mucho buscar y buscar encontré a otro que le pasaba lo mismo pero |
2 |
compilando otro paquete. |
3 |
Toda la gente que contestaba le comentaba que era un problema de HW. |
4 |
Pero no! |
5 |
Parece ser un error de las últimas versiones de binutils o el gcc. |
6 |
El problema reside en los parámetros de compilación en el make.conf: |
7 |
Antes: |
8 |
CFLAGS="-O3 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -msse2 -mfpmath=sse" |
9 |
Ahora: |
10 |
CFLAGS="-O2 -march=pentium3 -pipe -fomit-frame-pointer -fforce-addr -frename-registers -fprefetch-loop-arrays -falign-functions=64 -msse2 -mfpmath=sse" |
11 |
|
12 |
Con la optimización a 2 (-O2), recompilo los paquetes binutils y gcc y |
13 |
ya vuelve a compilar correctamente el kernel. |
14 |
En teoría, si no voy a compilar de nuevo estos paquetes, puedo volver a |
15 |
poner la optimización a -O3, pero mejor lo dejo como -O2 y me curo en |
16 |
salud. |
17 |
|
18 |
Gracias a todos. |
19 |
|
20 |
El sáb, 27-11-2004 a las 22:40 +0100, Angel Cervera Claudio escribió: |
21 |
> Estas son las últimas líneas del genkernel.log: |
22 |
> LD arch/i386/lib/built-in.o |
23 |
> CC arch/i386/lib/bitops.o |
24 |
> AS arch/i386/lib/checksum.o |
25 |
> CC net/sunrpc/cache.o |
26 |
> CC arch/i386/lib/delay.o |
27 |
> AS arch/i386/lib/getuser.o |
28 |
> CC arch/i386/lib/memcpy.o |
29 |
> CC arch/i386/lib/strstr.o |
30 |
> CC arch/i386/lib/usercopy.o |
31 |
> CC net/sunrpc/rpc_pipe.o |
32 |
> AR arch/i386/lib/lib.a |
33 |
> CC net/sunrpc/stats.o |
34 |
> CC net/sunrpc/sysctl.o |
35 |
> CC net/sunrpc/auth_gss/auth_gss.o |
36 |
> LD net/sunrpc/sunrpc.o |
37 |
> CC net/sysctl_net.o |
38 |
> CC net/sunrpc/auth_gss/gss_generic_token.o |
39 |
> CC net/sunrpc/auth_gss/gss_mech_switch.o |
40 |
> CC net/sunrpc/auth_gss/svcauth_gss.o |
41 |
> CC net/sunrpc/auth_gss/gss_krb5_crypto.o |
42 |
> CC net/sunrpc/auth_gss/gss_krb5_mech.o |
43 |
> CC net/sunrpc/auth_gss/gss_krb5_seal.o |
44 |
> CC net/sunrpc/auth_gss/gss_krb5_unseal.o |
45 |
> CC net/sunrpc/auth_gss/gss_krb5_seqnum.o |
46 |
> LD net/sunrpc/auth_gss/auth_rpcgss.o |
47 |
> LD net/sunrpc/auth_gss/rpcsec_gss_krb5.o |
48 |
> LD net/sunrpc/auth_gss/built-in.o |
49 |
> LD net/sunrpc/built-in.o |
50 |
> LD net/built-in.o |
51 |
> GEN .version |
52 |
> CHK include/linux/compile.h |
53 |
> UPD include/linux/compile.h |
54 |
> CC init/version.o |
55 |
> LD init/built-in.o |
56 |
> LD .tmp_vmlinux1 |
57 |
> make: *** [.tmp_vmlinux1] Error 139 |
58 |
> * Gentoo Linux Genkernel; Version 3.1.0a |
59 |
> |
60 |
> * ERROR: Failed to compile the "bzImage" target... |
61 |
> * -- Grepping log... -- |
62 |
> * -- End log... -- |
63 |
> * Please consult /var/log/genkernel.log for more information and any |
64 |
> * errors that were reported above. |
65 |
> * Report any genkernel bugs to bugs.gentoo.org and |
66 |
> * assign your bug to genkernel@g.o. Please include |
67 |
> * as much information as you can in your bug report; attaching |
68 |
> * /var/log/genkernel.log so that your issue can be dealt with |
69 |
> effectively. |
70 |
> * |
71 |
> * Please do *not* report compilation failures as genkernel bugs! |
72 |
> |
73 |
> |
74 |
> |
75 |
> |
76 |
> |
77 |
> |
78 |
> El sáb, 27-11-2004 a las 21:21 +0100, Angel Cervera Claudio escribió: |
79 |
> > No consigo compilar el kernel: |
80 |
> > |
81 |
> > * Gentoo Linux Genkernel; Version 3.1.0a |
82 |
> > * Compiling Linux Kernel 2.6.9-gentoo-r1 for x86... |
83 |
> > |
84 |
> > * kernel: >> Running mrproper... |
85 |
> > * config: Using config |
86 |
> > from /etc/kernels/kernel-config-x86-2.6.9-gentoo-r1 |
87 |
> > * Previous config backed up to .config.bak |
88 |
> > * >> Running oldconfig... |
89 |
> > * kernel: >> Cleaning... |
90 |
> > * config: >> Invoking menuconfig... |
91 |
> > # |
92 |
> > # using defaults found in .config |
93 |
> > # |
94 |
> > |
95 |
> > |
96 |
> > *** End of Linux kernel configuration. |
97 |
> > *** Execute 'make' to build the kernel or try 'make help'. |
98 |
> > |
99 |
> > * >> Compiling 2.6.9-gentoo-r1 bzImage... |
100 |
> > * ERROR: Failed to compile the "bzImage" target... |
101 |
> > |
102 |
> > * -- Grepping log... -- |
103 |
> > |
104 |
> > SCSI generic support (CHR_DEV_SG) [Y/n/m/?] y |
105 |
> > * |
106 |
> > * Some SCSI devices (e.g. CD jukebox) support multiple LUNs |
107 |
> > * |
108 |
> > Probe all LUNs on each SCSI device (SCSI_MULTI_LUN) [N/y/?] n |
109 |
> > Verbose SCSI error reporting (kernel size +=12K) (SCSI_CONSTANTS) |
110 |
> > [N/y/?] n |
111 |
> > -- |
112 |
> > CHK include/linux/compile.h |
113 |
> > UPD include/linux/compile.h |
114 |
> > CC init/version.o |
115 |
> > LD init/built-in.o |
116 |
> > LD .tmp_vmlinux1 |
117 |
> > make: *** [.tmp_vmlinux1] Error 139 |
118 |
> > * Gentoo Linux Genkernel; Version 3.1.0a |
119 |
> > |
120 |
> > * ERROR: Failed to compile the "bzImage" target... |
121 |
> > |
122 |
> > * -- End log... -- |
123 |
> > |
124 |
> > * Please consult /var/log/genkernel.log for more information and any |
125 |
> > * errors that were reported above. |
126 |
> > |
127 |
> > * Report any genkernel bugs to bugs.gentoo.org and |
128 |
> > * assign your bug to genkernel@g.o. Please include |
129 |
> > * as much information as you can in your bug report; attaching |
130 |
> > * /var/log/genkernel.log so that your issue can be dealt with |
131 |
> > effectively. |
132 |
> > * |
133 |
> > * Please do *not* report compilation failures as genkernel bugs! |
134 |
> > * |
135 |
> > |
136 |
> > |
137 |
> > He intentado compilar otras versiones y me pasa lo mismo. |
138 |
> > El caso es que no he modificado ninguna opción y hasta ahora me |
139 |
> > compilaba bien. :( |
140 |
> > |
141 |
> > En el log, todo parece correcto, hasta que llega la hora de "linkar" los |
142 |
> > módulos y me sale este error. |
143 |
> > |
144 |
> > Un saludo. |
145 |
> > |
146 |
> > |
147 |
> -- |
148 |
> Angel Cervera Claudio |
149 |
> Telf. +34 670819234 |
150 |
> Mail: angel@××××××××.com |
151 |
> Web: http://www.acervera.com |
152 |
> Msn Messenger: angelcervera@××××××××××.com |
153 |
> Yahoo Messenger: angelcervera |
154 |
> AOL Messenger: angelcervera |
155 |
> |
156 |
> |
157 |
> -- |
158 |
> gentoo-user-es@g.o mailing list |
159 |
> |
160 |
-- |
161 |
Angel Cervera Claudio |
162 |
Telf. +34 670819234 |
163 |
Mail: angel@××××××××.com |
164 |
Web: http://www.acervera.com |
165 |
Msn Messenger: angelcervera@××××××××××.com |
166 |
Yahoo Messenger: angelcervera |
167 |
AOL Messenger: angelcervera |
168 |
|
169 |
|
170 |
-- |
171 |
gentoo-user-es@g.o mailing list |