Bug 1528020 - elfutils breaks kernel build
Summary: elfutils breaks kernel build
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: elfutils
Version: 27
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Mark Wielaard
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-20 19:13 UTC by James
Modified: 2018-09-15 06:34 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 19:15:29 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description James 2017-12-20 19:13:12 UTC
Description of problem:
With elfutils-libelf-devel installed a kernel build from vanilla kernel.org sources with a stock Fedora 27 x86-64 .config breaks with unknown types.

For example:

In file included from /usr/include/gelf.h:32:0,
                 from arch/x86/../../elf.h:22,
                 from arch/x86/decode.c:26:
/usr/include/libelf.h:46:4: error: unknown type name ‘Elf32_Word’
    Elf32_Word   ch_type;        /* Compression format.  */
    ^~~~~~~~~~


Version-Release number of selected component (if applicable):
elfutils-libelf-devel-0.170-1.fc27.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Obtain kernel source
2. Set the .config
3. make

Actual results:
Build fails

Expected results:
Build works

Comment 1 James 2017-12-20 19:15:29 UTC
OK my bad, seems it doesn't like a custom CPATH...

Comment 2 Ching-Wen Kuo 2018-09-15 06:34:58 UTC
(In reply to James Ettle from comment #1)
> OK my bad, seems it doesn't like a custom CPATH...

Hi James:
I meet same issue when compile kernel 4.18.7, could you let me know what is the solution for this issue? Thank you so much.

Danny


Note You need to log in before you can comment on or make changes to this bug.