lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9f379411-0007-4980-8e22-6c5caa4429a4@oracle.com>
Date: Thu, 3 Oct 2024 10:28:59 +0530
From: Harshit Mogalapalli <harshit.m.mogalapalli@...cle.com>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>, stable@...r.kernel.org
Cc: patches@...ts.linux.dev, linux-kernel@...r.kernel.org,
        torvalds@...ux-foundation.org, akpm@...ux-foundation.org,
        linux@...ck-us.net, shuah@...nel.org, patches@...nelci.org,
        lkft-triage@...ts.linaro.org, pavel@...x.de, jonathanh@...dia.com,
        f.fainelli@...il.com, sudipm.mukherjee@...il.com, srw@...dewatkins.net,
        rwarsow@....de, conor@...nel.org, allen.lkml@...il.com,
        broonie@...nel.org, Vegard Nossum <vegard.nossum@...cle.com>,
        Darren Kenny <darren.kenny@...cle.com>
Subject: Re: [PATCH 6.6 000/538] 6.6.54-rc1 review


Hi Greg,

Below are few build errors in libbpf code:

Here are few libbpf commits:
> David Vernet <void@...ifault.com>
>      libbpf: Don't take direct pointers into BTF data from st_ops
> 
> Eduard Zingerman <eddyz87@...il.com>
>      libbpf: Sync progs autoload with maps autocreate for struct_ops maps
> 
> Kui-Feng Lee <thinker.li@...il.com>
>      libbpf: Convert st_ops->data to shadow type.
> 
> Kui-Feng Lee <thinker.li@...il.com>
>      libbpf: Find correct module BTFs for struct_ops maps and progs.
> 
> Andrii Nakryiko <andrii@...nel.org>
>      libbpf: use stable map placeholder FDs
> 


+ make -s ARCH=x86 KBUILD_SYMTYPES=y -j32 bzImage modules
In file included from /usr/include/stdio.h:33,
                  from 
/builddir/build/BUILD/kernel-6.6.54/linux-6.6.54-master.20241002.el9.dev/tools/include/linux/panic.h:6,
                  from 
/builddir/build/BUILD/kernel-6.6.54/linux-6.6.54-master.20241002.el9.dev/tools/include/linux/kernel.h:11,
                  from bpf.c:32:
bpf.c: In function 'bpf_map_create':
libbpf_internal.h:107:10: error: 'union bpf_attr' has no member named 
'value_type_btf_obj_fd'
   107 |         (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
       |          ^~~~~~~~
bpf.c:172:32: note: in expansion of macro 'offsetofend'
   172 |         const size_t attr_sz = offsetofend(union bpf_attr,
       |                                ^~~~~~~~~~~
In file included from bpf.c:37:
libbpf_internal.h:107:52: error: 'union bpf_attr' has no member named 
'value_type_btf_obj_fd'
   107 |         (offsetof(TYPE, FIELD) + sizeof(((TYPE *)0)->FIELD))
       |                                                    ^~
bpf.c:172:32: note: in expansion of macro 'offsetofend'
   172 |         const size_t attr_sz = offsetofend(union bpf_attr,
       |                                ^~~~~~~~~~~
bpf.c:195:13: error: 'union bpf_attr' has no member named 
'value_type_btf_obj_fd'
   195 |         attr.value_type_btf_obj_fd = OPTS_GET(opts, 
value_type_btf_obj_fd, 0);
       |             ^
make[5]: *** 
[/builddir/build/BUILD/kernel-6.6.54/linux-6.6.54-master.20241002.el9.dev/tools/build/Makefile.build:97: 
/builddir/build/BUILD/kernel-6.6.54/linux-6.6.54-master.20241002.el9.dev/tools/bpf/resolve_btfids/libbpf/staticobjs/bpf.o] 
Error 1
make[5]: *** Waiting for unfinished jobs....
libbpf.c: In function 'bpf_object__create_map':
libbpf.c:5215:50: error: 'BPF_F_VTYPE_BTF_OBJ_FD' undeclared (first use 
in this function)
  5215 |                         create_attr.map_flags |= 
BPF_F_VTYPE_BTF_OBJ_FD;
       | 
^~~~~~~~~~~~~~~~~~~~~~
libbpf.c:5215:50: note: each undeclared identifier is reported only once 
for each function it appears in

Looks like we have more than one compilation error in libbpf code.




Thanks,
Harshit



Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ