Article 6GQ4A Error when building the 5.10.17 Kernel on the newest version of Ubuntu.

Error when building the 5.10.17 Kernel on the newest version of Ubuntu.

by
Nucl3arsn3k
from LinuxQuestions.org on (#6GQ4A)
When I run the make command in the directory for the 5.10.17 kernel, after about 30 seconds I get the error included below. I'm unsure why this is happening, as I've successfully built this kernel version before on a different distro. I am doing this on the newest version of Ubuntu,for context on the distro.
Code:subcmd-util.h: In function ixrealloci:
subcmd-util.h:58:31: error: pointer iptri may be used after irealloci [-Werror=use-after-free]
58 | ret = realloc(ptr, 1);
| ^~~~~~~~~~~~~~~
subcmd-util.h:52:21: note: call to irealloci here
52 | void *ret = realloc(ptr, size);
| ^~~~~~~~~~~~~~~~~~
subcmd-util.h:56:23: error: pointer iptri may be used after irealloci [-Werror=use-after-free]
56 | ret = realloc(ptr, size);
| ^~~~~~~~~~~~~~~~~~
subcmd-util.h:52:21: note: call to irealloci here
52 | void *ret = realloc(ptr, size);
| ^~~~
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments