We have extracted the DW_AT_producer field from the DWARF debug info section, looking for -fno-omit-frame-pointer as part of the 24.04 validation of frame pointer enablement.
I have provided a convenient script here that extracts those using python3-pyelftools: https://gist.github.com/julian-klode/95818246eaef0ac6a54588f7f368e25c There is a separate script to analyse its output, it still needs cleaning up. Particularly note that this only analyses CFLAGS/CXXFLAGS correctness as only compilation units (.o files) have that field; so linker flags and preprocessor flags are not validated (luckily that was enough for us). -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2073128 Title: Missing compiler flags To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libreoffice/+bug/2073128/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
