NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/60901: Unknown elf note type 1081871370



>Number:         60901
>Category:       kern
>Synopsis:       Unknown elf note type 1081871370
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Oct 18 18:45:00 +0000 2026
>Originator:     Taylor R Campbell
>Release:        
>Organization:
The 
>Environment:
>Description:

	Various GNUish and/or FDOish applications include a new ELF
	note that NetBSD doesn't understand -- and, under DIAGNOSTIC
	builds, complains about not understanding:

/usr/pkg/bin/gsort: Unknown elf note type 1081871370 (unknown tag): [namesz=4, descsz=122 name=FDO ]

	https://mail-index.netbsd.org/current-users/2026/10/14/msg047993.html

	This is a `.note.dlopen' note of type 0x407c0c0a which declares
	a `weak dependency' on some loadable shared library for use by
	freedesktop.org and systemd tools.

>How-To-Repeat:

	build sysutils/coreutils and execute its gsort

>Fix:

	Teach netbsd_elf_note to ignore 0x407c0c0a like it does for
	various others -- and consider nixing the #ifdef DIAGNOSTIC
	logic to spam the console with logs about other elf notes:

	https://nxr.netbsd.org/xref/src/sys/kern/exec_elf.c?r=1.107#983




Home | Main Index | Thread Index | Old Index