Reputation: 1
I want to build a linux kernel with as many C source files as possible for testing, so I use make allyesconfig
at first. Meanwhile I need debug info, so I tried some ways to add it:
make menuconfig
and open the debuginfo option.and then run make
, however an error happen for the both two ways:
"FATAL: modpost: vmlinux.o is truncated. sechdrs[i].sh_offset=572324920 > sizeof(*hrd)=64
make[1]: *** [scripts/Makefile.modpost:56: vmlinux.symvers] Error 1
make: *** [Makefile:1169: vmlinux] Error 2"
so I'm confused, how could I add debug info when I use the allyesconfig
? The tested versions of my kernel is 6.0-rc6 and 6.0
Upvotes: 0
Views: 655