Bug 270567

Summary: usr.bin/nm: --demangle=auto is not supported despite what manpage claims
Product: Base System Reporter: Jan Beich <jbeich>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: New ---    
Severity: Affects Only Me CC: emaste, freebsd, jkoshy
Priority: ---    
Version: CURRENT   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
workaround none

Description Jan Beich freebsd_committer freebsd_triage 2023-03-31 18:43:26 UTC
Created attachment 241235 [details]
workaround

$ nm -D --demangle=auto /sbin/devd
nm: unknown demangling style 'auto'

$ man nm
[...]
     --demangle[=style]
                    Decode (demangle) low-level symbol names into human-
                    readable names.  Supported values for argument style are
                    ‘auto’, ‘gnu-v2’, ‘gnu-v3’ and ‘arm.’ If argument style is
                    not specified, it is taken to be ‘auto’.
[...]