Dear Maintainer, Building BCC fails on s390x debian trixie as follows: $ docker run -it --rm debian:trixie # apt-get update && apt-get install -y cmake g++ git libclang-19-dev libelf-dev libpolly-19-dev llvm-19-dev python3-setuptools zip # git clone --branch=v0.34.0 --depth=1 https://github.com/iovisor/bcc.git # cd bcc # cmake . # make -j"$(nproc)" /usr/bin/ld: /usr/lib/gcc/s390x-linux-gnu/14/libstdc++.a(shared_ptr.o)(.text._ZNSt19_Sp_make_shared_tag5_S_eqERKSt9type_info+0x2): misaligned symbol `_ZTSSt19_Sp_make_shared_tag' (0x8574f77) for relocation R_390_PC32DBL Here is the upstream bug report: https://sourceware.org/bugzilla/show_bug.cgi?id=32969 Here is the upstream fix: https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=f0019390d12162ea8141efa92246aa615ff5efee Could you please add this patch to Debian? Best regards, Ilya
Hi Matthias, I did try out the patch mentioned by Ilya using autocommit and dch --bpo on my machine. After installing the newly built binutils, bcc seems to be building fine. Could you please help me out with applying this backport to trixie? Thanks, Pranav
Hi Matthias, I did get in touch with Jens Remus who had written the upstream patch. He has verified that the patch is safe for this version of binutils. Thanks, Pranav
Hi Matthias, I did get in touch with our Distinguished Engineer Ulrich Weigand and he was suggesting that I do not do a sponsored upload for a package as vital as binutils. So, once time permits, can you please help us out with the backport? Thanks, Pranav
Hi, I just so that the change is already in the 2.44 branch upstream. https://sourceware.org/git/?p=binutils-gdb.git;a=tree;h=refs/heads/binutils-2_44-branch;hb=refs/heads/binutils-2_44-branch Thanks, Pranav