https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=284953
Bug ID: 284953 Summary: typeid() returns mangled string that can't be demangled Product: Base System Version: 14.2-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: b...@freebsd.org Reporter: y...@freebsd.org How to reproduce: 1. install the proxsuite package: > $ cd /usr/ports/math/proxsuite && make install clean 2. install the nanobind and eigen packages: > $ sudo pkg install nanobind eigen 3. compile the attached testcase.cpp: > $ c++ testcase.cpp -std=c++20 -I /usr/local/include -I > /usr/local/include/eigen3 -Wno-missing-template-arg-list-after-template-kw 4. run it > $ ./a.out It prints this: $ ./a.out > name(mangled)=N9proxsuite6linalg3veg3VecIbNS1_3mem11SystemAllocELNS3_13DtorAvailableE2ELNS3_13CopyAvailableE2EEE > name(demangled)=(null) Problems: 1. abi::__cxa_demangle fails to demangle this name and returns nullptr. 2. c++filt also fails to demangle this name and prints the same string instead of printing the C++ object description. Either the mangled name is wrong in some way, or demangling procedures fail to demangle this valid mangled string. -- You are receiving this mail because: You are the assignee for the bug.