Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 942392

Summary: sys-kernel/gentoo-kernel-6.1.114 fails to compile: armv7a-unknown-linux-gnueabihf-ld.bfd: nsproxy.c:(.text+0x264): undefined reference to __put_net
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Distribution Kernel Project <dist-kernel>
Status: RESOLVED INVALID    
Severity: normal CC: mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: build.log.xz

Description Agostino Sarubbo gentoo-dev 2024-10-28 08:10:43 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: sys-kernel/gentoo-kernel-6.1.114 fails to compile.
Discovered on: arm (internal ref: tinderbox_arm)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0014
Comment 1 Agostino Sarubbo gentoo-dev 2024-10-28 08:10:44 UTC
Created attachment 907107 [details]
build.log.xz

build log and emerge --info (compressed because it exceeds attachment limit, use 'xzless' to read it)
Comment 2 Agostino Sarubbo gentoo-dev 2024-10-28 08:10:45 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


armv7a-unknown-linux-gnueabihf-ld.bfd: nsproxy.c:(.text+0x264): undefined reference to `__put_net'
fs_context.c:(.text+0xa3c): undefined reference to `__put_net'
namespaces.c:(.data+0x0): undefined reference to `netns_operations'
nsproxy.c:(.text+0x100): undefined reference to `copy_net_ns'
nsproxy.c:(.text+0x428): undefined reference to `__put_net'
  if ! command -v sha1sum >/dev/null; then echo "warning: cannot check the header due to sha1sum missing"; exit 0; fi; if [ "$(sed -n '$s:// ::p' /var/tmp/portage/sys-kernel/gentoo-kernel-6.1.114/work/linux-6.1/include/linux/atomic/atomic-arch-fallback.h)" != "$(sed '$d' /var/tmp/portage/sys-kernel/gentoo-kernel-6.1.114/work/linux-6.1/include/linux/atomic/atomic-arch-fallback.h | sha1sum | sed 's/ .*//')" ]; then echo "error: /var/tmp/portage/sys-kernel/gentoo-kernel-6.1.114/work/linux-6.1/include/linux/atomic/atomic-arch-fallback.h has been modified." >&2; exit 1; fi; touch .checked-atomic-arch-fallback.h
Comment 3 Agostino Sarubbo gentoo-dev 2024-10-29 10:26:10 UTC
FTR I tried gentoo-sources-6.1.111 with the default config and works for me.
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-10-29 10:32:17 UTC
savedconfig arches fall into "you're on your own" category.