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-next>] [day] [month] [year] [list]
Message-ID: <7a472130-d9c4-4fda-840b-093308f73d3d@gmail.com>
Date: Sat, 22 Jun 2024 21:53:38 +0200
From: Mirsad Todorovac <mtodorovac69@...il.com>
To: Linux Kernel Build System <linux-kbuild@...r.kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
 Pablo Neira Ayuso <pablo@...filter.org>,
 Jozsef Kadlecsik <kadlec@...filter.org>,
 "David S. Miller" <davem@...emloft.net>, Eric Dumazet <edumazet@...gle.com>,
 Jakub Kicinski <kuba@...nel.org>, Paolo Abeni <pabeni@...hat.com>,
 netfilter-devel@...r.kernel.org, coreteam@...filter.org,
 netdev@...r.kernel.org
Subject: [PROBLEM] make randconfig: net/netfilter/core.c:830: undefined
 reference to `netfilter_lwtunnel_fini'

Hi all,

According to the recommendation in https://lore.kernel.org/lkml/20240404134142.GCZg6uFh_ZSzUFLChd@fat_crate.local/
I tried a couple of "make randconfig" .configs.

The second one I tried today had some problems in compilation:


marvin@...iant:~/linux/kernel/linux_torvalds$ time nice make -j 36 bindeb-pkg |& tee ../err-6.10-rc4-allyes-01.log; date
  GEN     debian
dpkg-buildpackage --build=binary --no-pre-clean --unsigned-changes -R'make -f debian/rules' -j1 -a$(cat debian/arch)
dpkg-buildpackage: info: source package linux-upstream
dpkg-buildpackage: info: source version 6.10.0-rc4-00283-g563a50672d8a-6
dpkg-buildpackage: info: source distribution jammy
dpkg-buildpackage: info: source changed by marvin <marvin@...iant>
 dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
 make -f debian/rules binary
#
# No change to .config
#
mkdir -p /home/marvin/linux/kernel/linux_torvalds/tools/objtool && make O=/home/marvin/linux/kernel/linux_torvalds subdir=tools/objtool --no-print-directory -C objtool 
mkdir -p /home/marvin/linux/kernel/linux_torvalds/tools/bpf/resolve_btfids && make O=/home/marvin/linux/kernel/linux_torvalds subdir=tools/bpf/resolve_btfids --no-print-directory -C bpf/resolve_btfids 
  INSTALL libsubcmd_headers
  INSTALL libsubcmd_headers
  CALL    scripts/checksyscalls.sh
  UPD     init/utsversion-tmp.h
  CC      init/version.o
  AR      init/built-in.a
  CHK     kernel/kheaders_data.tar.xz
  AR      built-in.a
  AR      vmlinux.a
  LD      vmlinux.o
  OBJCOPY modules.builtin.modinfo
  GEN     modules.builtin
  MODPOST vmlinux.symvers
  UPD     include/generated/utsversion.h
  CC      init/version-timestamp.o
  LD      .tmp_vmlinux.btf
ld: vmlinux.o: in function `netfilter_init':
/home/marvin/linux/kernel/linux_torvalds/net/netfilter/core.c:819: undefined reference to `netfilter_lwtunnel_init'
ld: /home/marvin/linux/kernel/linux_torvalds/net/netfilter/core.c:830: undefined reference to `netfilter_lwtunnel_fini'
  BTF     .btf.vmlinux.bin.o
pahole: .tmp_vmlinux.btf: Invalid argument
  LD      .tmp_vmlinux.kallsyms1
.btf.vmlinux.bin.o: file not recognized: file format not recognized
make[5]: *** [scripts/Makefile.vmlinux:34: vmlinux] Error 1
make[4]: *** [Makefile:1171: vmlinux] Error 2
make[3]: *** [debian/rules:74: build-arch] Error 2
dpkg-buildpackage: error: make -f debian/rules binary subprocess returned exit status 2
make[2]: *** [scripts/Makefile.package:121: bindeb-pkg] Error 2
make[1]: *** [/home/marvin/linux/kernel/linux_torvalds/Makefile:1555: bindeb-pkg] Error 2
make: *** [Makefile:240: __sub-make] Error 2

real	0m26.260s
user	0m27.888s
sys	0m8.518s
Sat Jun 22 21:28:10 CEST 2024
marvin@...iant:~/linux/kernel/linux_torvalds$ ls -l .config
-rw-rw-r-- 1 marvin marvin 110785 Jun 22 21:24 .config
marvin@...iant:~/linux/kernel/linux_torvalds$ 

Is this bound to happen sometimes, or should all "make randconfig" configurations be at least compilable?

Thank you.

Best regards,
Mirsad Todorovac
View attachment "config" of type "text/plain" (110785 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ