Re: Kernel build error on BTFIDS vmlinux

From: Nick Clifton
Date: Thu Aug 20 2020 - 08:15:39 EST


Hi Guys,

>> so when I take empty object and compile like:
>>
>> $ echo 'int main(int argc, char **argv) { return 0; }' | gcc -c -o ex.o -g -gz=zlib -x c -
>> $ ld -o ex --compress-debug-sections=zlib ex.o

Thanks Mark. I have now created a binutils PR for this bug, and I am looking into a fix:

https://sourceware.org/bugzilla/show_bug.cgi?id=26428

Cheers
Nick