Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Kernel] Failed to compile the "bzImage" target
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
mytDRAGON
n00b
n00b


Joined: 23 Dec 2015
Posts: 7
Location: Swizerland

PostPosted: Wed Dec 23, 2015 1:09 pm    Post subject: [Kernel] Failed to compile the "bzImage" target Reply with quote

Bonjour,
quand j'utilise la commande "genkernel all", au bout de 20 minutes, j'ai une erreur sur bzImage.
Au début, j'avais une erreur avec lzima, mais j'ai réussit à la régler. Mais là, j'ai de la peine à savoir ce que c'est. (je sais pas comment récupérer le log donc j'ai screen)
http://www.hostingpics.net/viewer.php?id=509457buggenkernellog.png
Je suis sur virtualbox. J'ai recommencer plusieurs fois en suivant divers tutos (handbook, yt,..). Ce que je comprend pas, c'est que j'avais réuissit à l'installer une fois mais sur une autre machine virtuelle, j'avais prit des screens de chaque commande, mais quand je le reproduit chez moi, j'ai cette erreur.

Merci d'avance,
MYT.
Back to top
View user's profile Send private message
mytDRAGON
n00b
n00b


Joined: 23 Dec 2015
Posts: 7
Location: Swizerland

PostPosted: Wed Dec 23, 2015 1:24 pm    Post subject: Reply with quote

Je viens de refaire la commande, j'ai ça :
http://www.hostingpics.net/viewer.php?id=928662gentoogenkernel.png
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Wed Dec 23, 2015 4:21 pm    Post subject: Reply with quote

Salut,

Essaie de désactiver CONFIG_BUILD_DOCSRC dans ta config kernel.
Apparemment la construction de cette partie ne fonctionne pas avec -fstack-protector.
Back to top
View user's profile Send private message
mytDRAGON
n00b
n00b


Joined: 23 Dec 2015
Posts: 7
Location: Swizerland

PostPosted: Wed Dec 23, 2015 9:02 pm    Post subject: Reply with quote

Bonsoir,
J'ai regarder dans le /etc/genkernel.conf, il y a pas CONFIG_BUILD_DOCSRC
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Thu Dec 24, 2015 9:02 am    Post subject: Reply with quote

Je n'ai jamais utilisé genkernel, mais je ne pense pas que tu trouveras cette option dans ce fichier.
C'est directement dans la configuration du kernel que tu dois la désactiver.
En utilisant l'option --menuconfig de genkernel, tu dois accéder au menu de configuration du kernel avant la compilation.
Tu devrais trouver et désactiver :
Code:

Kernel hacking  --->
   [*] Build targets in Documentation/ tree (NEW)
Back to top
View user's profile Send private message
mytDRAGON
n00b
n00b


Joined: 23 Dec 2015
Posts: 7
Location: Swizerland

PostPosted: Thu Dec 24, 2015 11:40 am    Post subject: Reply with quote

Merci beaucoup, l'étape du bzImage a réussi (il compile toujours en ce moment).
Par contre, est-ce qu'il y a une explication à pourquoi en faisant les même commande d'il y a un mois, aujourd'hui j'ai une erreur sachant que je suis toujours sur virtualbox.
Back to top
View user's profile Send private message
netfab
Veteran
Veteran


Joined: 03 Mar 2005
Posts: 1896
Location: 127.0.0.1

PostPosted: Thu Dec 24, 2015 12:15 pm    Post subject: Reply with quote

As-tu changé de version de gcc entre temps ?
Il y a une news qui est passée il y a peu de temps à propos des versions récentes de gcc :
Quote:

Beginning with GCC 4.8.3, Stack Smashing Protection (SSP) will be
enabled by default. The 4.8 series will enable -fstack-protector
while 4.9 and later enable -fstack-protector-strong.

SSP is a security feature that attempts to mitigate stack-based buffer
overflows by placing a canary value on the stack after the function
return pointer and checking for that value before the function returns.
If a buffer overflow occurs and the canary value is overwritten, the
program aborts.

There is a small performance cost to these features. They can be
disabled with -fno-stack-protector.

For more information these options, refer to the GCC Manual, or the
following articles.

http://en.wikipedia.org/wiki/Buffer_overflow_protection
http://en.wikipedia.org/wiki/Stack_buffer_overflow
https://securityblog.redhat.com/tag/stack-protector
http://www.outflux.net/blog/archives/2014/01/27/fstack-protector-strong

Si il y a un mois tu utilisais une précédente version de gcc, l'option -fstack-protector n'était pas activée, et la compilation allait jusqu'au bout.
En revanche, dans ce cas, tu devrais ouvrir un bug pour le signaler.
Back to top
View user's profile Send private message
mytDRAGON
n00b
n00b


Joined: 23 Dec 2015
Posts: 7
Location: Swizerland

PostPosted: Thu Dec 24, 2015 12:51 pm    Post subject: Reply with quote

Effectivement, c'est possible que j'avais une version antérieur, car plus tard dans l'installation de l'interface, j'avais des problème avec gcc
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum