On Mon, 28 Sep 2020 14:08:48 +0200, Mark Wielaard wrote:
It is certainly a clever setup and makes sense if your build
is sending files around between different machines. But I don't think
this is the generic Fedora packager or developer use case.
I agree and I do not propose anywhere -gsplit-dwarf. That is offtopic to this
mail thread and it may look as it is related to my -fdebug-types-section
It would make sense possibly only for Chromium which has no debuginfo in
Fedora currently at all. And the missing debuginfo is due to DWZ because DWZ
does not support -fdebug-types-section, nobody is supporting DWARF64 and
Chromium .debug_info section without -fdebug-types-section would be larger
than 4GB, therefore technically impossible with DWARF32.
I am saying -gsplit-dwarf is probably the best solution despite right now
-fdebug-types-section is the best (smallest possible file) solution.
As with -gdwarf-5 -fdebug-types-section its .debug_info section is very close
to 4GB and it will exceed in some time anyway. Then only -gsplit-dwarf will be
possible with DWARF32 && DWARF-5.