I am using abidw on a Raspberry Pi 4, Raspbian Buster. When I compile the igraph project (https://github.com/igraph/igraph/) in debug mode, with link-time optimization, into a shared library, and call abidw src/libigraph.so it crashes with the following: abidw: abg-dwarf-reader.cc:13241: void abigail::dwarf_reader::finish_member_function_reading(Dwarf_Die*, const function_decl_sptr&, const class_or_union_sptr&, abigail::dwarf_reader::read_context&): Assertion `__abg_cond__' failed. This is libabigail 1.8.0 that I compiled myself from sources. However, the same crash happens also with libabigail 1.5.0 which is included in Raspbian Buster. It only happens when I compile this project with link-time optimization. Compiler is: gcc (Raspbian 8.3.0-6+rpi1) 8.3.0 I cannot reproduce the same issue on Ubuntu 20.04 on x86_64. I am happy to provide the .so file, or more specific information about how I compiled igraph to obtain the offending .so file.
Thanks for taking the time to file this bug report. Would you mind, retesting with the latest master? Also, would you be able to attach the reproducing binary to this bug report?
This no longer happens when I build libabigail from the master branch.