Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
4.6.x kernel CONFIG_STACK_VALIDATION unsupported in GENTOO ?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
CaptainBlood
Veteran
Veteran


Joined: 24 Jan 2010
Posts: 1104

PostPosted: Tue Jun 07, 2016 5:36 pm    Post subject: 4.6.x kernel CONFIG_STACK_VALIDATION unsupported in GENTOO ? Reply with quote

Hi,
Quote:
"Cannot use CONFIG_STACK_VALIDATION, please install libelf-dev or elfutils-libelf-devel"

I've installed libelf which brakes kernel compilation:
Quote:
make
CHK include/config/kernel.release
CHK include/generated/uapi/linux/version.h
CHK include/generated/utsrelease.h
CHK include/generated/bounds.h
CHK include/generated/timeconst.h
CHK include/generated/asm-offsets.h
CALL scripts/checksyscalls.sh
DESCEND objtool
CC /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/arch/x86/decode.o
LD /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/arch/x86/objtool-in.o
CC /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/builtin-check.o
CC /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/elf.o
elf.c: In function ‘elf_open’:
elf.c:358:32: erreur: ‘ELF_C_READ_MMAP’ undeclared (first use in this function)
elf->elf = elf_begin(elf->fd, ELF_C_READ_MMAP, NULL);
^
elf.c:358:32: note: each undeclared identifier is reported only once for each function it appears in
mv: impossible d'évaluer « /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/.elf.o.tmp »: Aucun fichier ou dossier de ce type
/usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/build/Makefile.build:77 : la recette pour la cible « /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/elf.o » a échouée
make[3]: *** [/usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/elf.o] Erreur 1
Makefile:42 : la recette pour la cible « /usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/objtool-in.o » a échouée
make[2]: *** [/usr/src/linux-4.6.1-gentoo-XEN-VGA0-KMS/tools/objtool/objtool-in.o] Erreur 2
Makefile:59 : la recette pour la cible « objtool » a échouée
make[1]: *** [objtool] Erreur 2
Makefile:1550 : la recette pour la cible « tools/objtool » a échouée
make: *** [tools/objtool] Erreur 2
What am I doing wrong? Any idea?

Thks 4 ur attention.
Back to top
View user's profile Send private message
DoogyRev
n00b
n00b


Joined: 29 Jul 2016
Posts: 1

PostPosted: Fri Jul 29, 2016 5:41 pm    Post subject: Reply with quote

Try installing elfutils instead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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