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

)