Linux - KernelThis forum is for all discussion relating to the Linux kernel.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I run NoScript, and Photobucket runs so many scripts that I'm not getting your errors, but their errors. Why don't you make your errors more available to us? Rewrite, or attach a small jpeg to the thread. The first few errors usually contain the significant one, the remainder being the tailspin. The exception can be python, but there's not a lot of that in kernel builds.
I agree with the others above, that you should find another way for providing error logs and such.
That said, I suggest you to take a look at the response at your other (closed as duplicate) post and apply the patch needed for using gcc-7.1 while compiling a kernel.
@bathory: thanks! Could you explain a bit more (or post a link) about:
>"patch[?] needed for using gcc-7.1 while compiling a kernel"
I tried searching it, and found some things like: http://www.linuxfromscratch.org/blfs...neral/gcc.html
I dug some more, using DistroWatch search gcc > 7, and only a few ?rolling? distros use >6.3!
(https://gcc.gnu.org/gcc-7/changes.html mentions -fdiagnostics-generate-patch but I'm clueless!)
Does that address this? Sorry, I'm newbie on the depths of this (although I knew a little C long ago, and successfully `make tinyconfig`'ed a 4.9 on NuTyX gcc 6.2/3 a half year ago).
Still, the question is: whether OP is using gcc 7.x or 6.x
p.s. I managed to download the photo, and attach it here as a .jpg! Yea: now view-able
Could you explain a bit more (or post a link) about:
>"patch[?] needed for using gcc-7.1 while compiling a kernel"
I'm running Slackware64-current that's using gcc-7.1. I also like to compile my own kernels for testing, but I didn't came across the error posted by OP with 4.11.5. So I look deeper and realized that this is because I don't add GCOV support to my kernels.
After enabling GCOV, the kernel failed to compile with the exact same error (even the latest 4.11.6 that came out today). This is because
Quote:
Starting from GCC 7.1, __gcov_exit is a new symbol expected to be implemented in a profiling runtime.
That's also answers your question about the gcc version that OP uses.
FYI, I applied the patch (got it from the bottom of this page) and the new 4.11.6 compiled successfully.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.