[Pkg-kde-extras] Debian: quassel build fails with DWZ errors when using LLVM-19 and DWARF-5
Sedat Dilek
sedat.dilek at gmail.com
Mon Nov 4 14:39:29 GMT 2024
On Fri, Nov 1, 2024 at 11:34 AM Sedat Dilek <sedat.dilek at gmail.com> wrote:
>
> OK.
>
> Using dh_strip instead of dh_strip_nondeterminism (default) ...
>
Hi,
In my latest build I created an OVERRIDE in debian/rules for dh_dwz as
this seems to have problems with DWARF-v5.
dh_strip_nondeterminism ... passed
dh_dwz ... SKIPPED
dh_strip ... passed
^^ Build OK
At 99% when linking the quassel binaries I see /usr/bin/ld -
GNU/binutils LD linker - is used (via ps -ef).
This uses DWARF Level 4 as default (gas/as.c file in the sources).
This is binutils 2.43.1 in Debian/unstable.
Looks like I have to force the usage of LLD linker somehow.
Link: https://stackoverflow.com/questions/1867745/cmake-use-a-custom-linker
In Linux-kernel we pass -Wa.-dwarf-5 to the assembler.
Clang (Clang++ ?) uses an Integrated ASsember (IAS).
Maybe, I need to pass -gwarf-5 plus -Wa.-dwarf-5 to CC and CXX lines?
If someone has an idea, please let me know.
Might be dh_dwz (dwz) is simply BROKEN with DWARF-v5.
Best thanks.
Best regards,
-Sedat-
More information about the pkg-kde-extras
mailing list