Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 646426

Summary: Cannot Build gentoo-sources kernel with gcc-7.3.0 Due to Missing libelf Dependency
Product: Gentoo Linux Reporter: Todd Goodman <tsg>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Todd Goodman 2018-02-02 18:44:06 UTC
I get the following message trying to build the kernel linux-4.15.0-gentoo from gentoo-sources:

Makefile:932: *** "Cannot generate ORC metadata for CONFIG_UNWINDER_ORC=y, please install libelf-dev, libelf-devel or elfutils-libelf-devel".  Stop.

I'm doing a 'make' in the /usr/src/linux directory.

Emerging libelf allows the build to succeed

Reproducible: Always

Steps to Reproduce:
1.install gcc-7.3.0
2.emerge sys-kernel/gentoo-sources-4.15.0:4.15.0
3.copy old .config and do a make oldconfig and then a make
Actual Results:  
Error listed above is displayed and kernel compile aborts

Expected Results:  
Kernel is built

emerging dev-libs/libelf-0.8.13-r2:0 allows the kernel build to succeed
Comment 1 Brian Evans (RETIRED) gentoo-dev 2018-02-02 19:14:13 UTC

*** This bug has been marked as a duplicate of bug 644500 ***