[qt/qt-creator/elfutils]: Summary of bulk changes made
KDE Git Services - Bulk Change <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git repository change summary for qt/qt-creator/elfutils Pushed by mirror-service into branch 'upstream/main'. Changed from 0845f5cea2abb66b9d29a739941bd7737f6244b4 to fb5473ac7368bbbbc2ea9d86241bd6c882e3fcb5 Acknowledgement was received that this change introduces only existing code that has been pushed to another public open source repository. This change contains the following new commits: Git commit 4ef88aa01c1b4bebc977333da07c59b3518ed17e by Mark Wielaard on 24/07/2026 at 09:28.. build: Rename pic objects to _.os to support -gsplit-dwarf We build almost everything twice, with and without -fpic. The first as normal .o files, the second as .os files. We then use the .os pic objects to create the shared libraries. This doesn't work well when using -gsplit-dwarf because the object files have the same base name. So both the file.o and file.os will have the same file.dwo file generated. Which means the split dwarf .dwo file is only valid for the last build object file. This breaks various self tests when building with CFLAGS="-g -O2 -gsplit-dwarf". Work around this by renaming the base object file name for the pic objects by adding an _. * config/eu.am: Replace %.os rule to %_.os. * backends/Makefile.am (am_libebl_backends_pic_a_OBJECTS): Replace .c SOURCES with _.os OBJECTS. * debuginfod/Makefile.am (am_libdebuginfod_pic_a_OBJECTS): Likewise. * libasm/Makefile.am (am_libasm_pic_a_OBJECTS): Likewise. * libcpu/Makefile.am (am_libcpu_pic_a_OBJECTS): Likewise. * libdw/Makefile.am (am_libdw_pic_a_OBJECTS): Likewise. * libdwelf/Makefile.am (am_libdwelf_pic_a_OBJECTS): Likewise. * libdwfl/Makefile.am (am_libdwfl_pic_a_OBJECTS): Likewise. * libdwfl_stacktrace/Makefile.am (am_libdwfl_stacktrace_pic_a_OBJECTS): Likewise. * libebl/Makefile.am (am_libebl_pic_a_OBJECTS): Likewise. * libelf/Makefile.am (am_libelf_pic_a_OBJECTS): Likewise. Signed-off-by: Mark Wielaard <[email protected]> https://invent.kde.org/qt/qt-creator/elfutils/-/commit/4ef88aa01c1b4bebc977333da07c59b3518ed17e Git commit fb5473ac7368bbbbc2ea9d86241bd6c882e3fcb5 by Mark Wielaard on 24/07/2026 at 09:29.. srcfiles: Handle CU names and files from split DWARF collect_sourcefiles was still using dwarf_get_unit so would only get the main skeleton CU DIEs. The skeleton DIE might not have a name attribute, which is moved into the split DIE. The line table reference is normally in the skeleton (type) unit, but might also be in the split type unit. Use dwarf_get_units to also get the subdie and try getting the information from that if not found in the main CU die. This fixes the run-srcfiles-self.sh test, except for the debuginfod part (debuginfod doesn't handle split DWARF files yet). Also fix no-backup help comment. Add space between applicable and when. * src/srcfiles.cxx (options): nobackup add space between applicable and when. (collect_sourcefiles): Use dwarf_get_units, get subdie, try dwarf_diename and dwarf_getsrcfiles on subdie. Signed-off-by: Mark Wielaard <[email protected]> https://invent.kde.org/qt/qt-creator/elfutils/-/commit/fb5473ac7368bbbbc2ea9d86241bd6c882e3fcb5