LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Closed Thread
  Search this Thread
Old 06-15-2017, 06:16 AM   #1
chaosx2017
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
make

http://s775.photobucket.com/user/Cha...ror_1.jpg.html

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

Thanks In Advance,

Chaos
 
Old 06-15-2017, 11:45 PM   #2
Jjanel
Member
 
Registered: Jun 2016
Distribution: any&all, in VBox; Ol'UnixCLI; NO GUI resources
Posts: 999
Blog Entries: 12

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Dup of http://www.linuxquestions.org/questi...ems-4175607987
(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/chromium.googlesource.com, which I'm -guessing- this is NOT your distro!),
a web-search of just: "__gcov_exit" kernel
finds: https://github.com/torvalds/linux/tr...er/kernel/gcov -> https://github.com/torvalds/linux/co...06b80ef8d671ab
Quote:
Starting from GCC 7.1, __gcov_exit is a new symbol expected to be implemented in a profiling runtime.
and: https://patchwork.kernel.org/patch/9445439 (word "missing" vs/= undef!)
Quote:
... 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! DistroWatch.com/<distro> shows default gcc version)

Last edited by Jjanel; 06-16-2017 at 12:55 AM.
 
Old 06-16-2017, 07:17 AM   #3
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,061
Blog Entries: 13

Rep: Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504
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 02:21 PM
kernel compile problems mailbinoy Linux - Newbie 5 06-30-2005 11:13 AM
Problems with kernel compile BNI Debian 3 05-31-2005 03:50 AM
Kernel Compile 2.6.9 Problems wnaLinux Slackware 2 12-10-2004 06:53 AM
Kernel Problems. Howto Compile a new kernel from 4.2 with backwards compatibility ? ShoCkwave Linux - General 2 06-19-2004 06:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:20 PM.

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