Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


Closed Thread
  Search this Thread
Old 06-15-2017, 07:16 AM   #1
LQ Newbie
Registered: Jun 2017
Posts: 2

Rep: Reputation: Disabled
4.11.5 kernel compile problems

Hi all,

I am trying to compile a custom Linux kernel for a custom arch build I am doing. I am getting a compile error on the make command.

make clean && make mrproper
zcat /proc/config.gz > .config
make nconfig
customise the kernel, save

The image above shows the compile erorrs. Any help would be greatly appreciated.

Thanks In Advance,

Old 06-16-2017, 12:45 AM   #2
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 363Reputation: 363Reputation: 363Reputation: 363
Dup of
(Reported, suggesting Mod close THIS, leaving that as ZRT)

Please edit the title of that kernel Forum thread, to include more info, like:
<distro&ver> kernel 4.11.5 make nconfig __gcov_exit undefined errors; GCC <ver>
(I might guess Arch Linux, from: "for a custom arch build", but "arch" might mean architecture, like ARM etc, although your photo shows x86. Also, since photobucket requires JavaScript be enabled to display the image, some people may be reluctant to enable js, to view pic.)

Although including the keyword "undefined" causes no! search results (except android/, which I'm -guessing- this is NOT your distro!),
a web-search of just: "__gcov_exit" kernel
finds: ->
Starting from GCC 7.1, __gcov_exit is a new symbol expected to be implemented in a profiling runtime.
and: (word "missing" vs/= undef!)
... I tested your patch with kernel 4.9-rc4 compiled with GCC 7.0.0 20161107 (experimental) and validated that it fixes the build error due to a missing __gcov_exit symbol... Given that GCC 7.1 has not yet been released, I'm wondering if it is safe to program against interfaces that have not yet been fully finalized. Can you provide an indication on whether these gcov-related aspects of GCC might still be changed until release?
I don't know what all this means, but if you'll also indicate the version of GCC in your thread/title, a kernel Guru may be able to help.

A web-search of: "__gcov_exit" undefined (no keyword kernel)
find a few, mostly old, things; I doubt (don't know) if relevant.

Also, tell us, ideally 'exactly', what you did to "customise" it! (change ?profile? CONFIG_... options?? Maybe you can find a way to copy your .config file to wherever you run the browser you used to post this, so you can use the "Go Advanced" options to *attach* it!)

Welcome to LQ, and Best wishes! (Again, distro version info is ESSENTIAL INFO!<distro> shows default gcc version)

Last edited by Jjanel; 06-16-2017 at 01:55 AM.
Old 06-16-2017, 08:17 AM   #3
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,874
Blog Entries: 13

Rep: Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928Reputation: 4928
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kernel compile problems halfwit Fedora 11 04-12-2006 03:21 PM
kernel compile problems mailbinoy Linux - Newbie 5 06-30-2005 12:13 PM
Problems with kernel compile BNI Debian 3 05-31-2005 04:50 AM
Kernel Compile 2.6.9 Problems wnaLinux Slackware 2 12-10-2004 07:53 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 07:02 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration