python-build-standalone
python-build-standalone copied to clipboard
Consider pinning DWARF version to v4 or earlier
The LLVM 15 upgrade in main
appears to have also introduced DWARF v5 into ELF binaries. Such modern DWARF may cause issues with older toolchains and debuggers.
We should consider downgrading DWARF to an older version to maintain better compatibility.
I think I'm going to continue shipping DWARF v5 for the moment.
If you run into an issue where the presence of DWARF v5 is causing an excessive burden for you, please leave a comment on this issue. I have a patch locally to force use of DWARF v4 and it should be easy enough to merge.