indygreg / python-build-standalone

Produce redistributable builds of Python
BSD 3-Clause "New" or "Revised" License
1.71k stars 107 forks source link

Consider pinning DWARF version to v4 or earlier #155

Open indygreg opened 1 year ago

indygreg commented 1 year ago

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.

indygreg commented 1 year ago

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.