lkml.org 
[lkml]   [2022]   [Sep]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Unable bisect issue because kernel not building from old commits
On Sun, Sep 25, 2022 at 8:21 PM Willy Tarreau <w@1wt.eu> wrote:
> Just add:
>
> CROSS_COMPILE=/path/to/toolchain/bin/prefix-
>
> to your make command line and it will be fine.
>
> The makefile will append {gcc,ld,...} to this CROSS_COMPILE prefix to
> construct the full pathname to the binaries.

It works!
But I hit another build issue.

$ make clean &&
CROSS_COMPILE=~/Downloads/x86_64-gcc-7.5.0-nolibc-x86_64-linux/gcc-7.5.0-nolibc/x86_64-linux/bin/x86_64-linux-
make -j32 bzImage
***
GEN modules.builtin
LD .tmp_vmlinux.btf
BTF .btf.vmlinux.bin.o
LD .tmp_vmlinux.kallsyms1
KSYMS .tmp_vmlinux.kallsyms1.S
AS .tmp_vmlinux.kallsyms1.S
LD .tmp_vmlinux.kallsyms2
KSYMS .tmp_vmlinux.kallsyms2.S
AS .tmp_vmlinux.kallsyms2.S
LD vmlinux
BTFIDS vmlinux
FAILED: load BTF from vmlinux: Invalid argument
make: *** [Makefile:1159: vmlinux] Error 255
make: *** Deleting file 'vmlinux'

Full built output is here: https://pastebin.com/icF3gVgN
Thanks.

--
Best Regards,
Mike Gavrilov.

\
 
 \ /
  Last update: 2022-09-25 18:14    [W:0.055 / U:1.156 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site