Source: monero Version: 0.18.5.3+~0+20260428-1 Severity: normal Tags: patch
* remove workaround for no longer built mipsel * remove libatomic workaround no longer needed with GCC 16 * remove workaround for fixed riscv64 toolchain bug * reduce debug info on sh4 * workarounds to help alpha diff -Nru monero-0.18.5.3+~0+20260428/debian/rules monero-0.18.5.3+~0+20260428/debian/rules --- monero-0.18.5.3+~0+20260428/debian/rules 2026-10-04 18:15:10.000000000 +0300 +++ monero-0.18.5.3+~0+20260428/debian/rules 2026-10-04 18:26:32.000000000 +0300 @@ -10,26 +10,19 @@ # reduce debugging information on 32bit archs # to avoid some FTBFS (2/3/4 GB address space limits on 32bit) -ifneq (,$(filter $(DEB_HOST_ARCH), mipsel)) +ifneq (,$(filter $(DEB_HOST_ARCH), sh4)) export DEB_CXXFLAGS_MAINT_APPEND = -g0 else ifeq ($(DEB_HOST_ARCH_BITS),32) export DEB_CXXFLAGS_MAINT_APPEND = -g1 endif -# explicitly link with libatomic -# to work around gcc bug <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81358> -ifneq (,$(filter $(DEB_HOST_ARCH), armel m68k mips mipsel powerpc powerpcspe sh4)) -export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed +# workarounds for alpha +ifneq (,$(filter $(DEB_HOST_ARCH), alpha)) +export DEB_CXXFLAGS_MAINT_APPEND = -Os -g0 endif DH_OPTIONS = -O--buildsystem=cmake -# build with -O1 on riscv64 to avoid link error -# relocation truncated to fit: R_RISCV_JAL against `mdb_assert_fail.constprop.0' -ifneq (,$(filter $(DEB_HOST_ARCH), riscv64)) -export DEB_CXXFLAGS_MAINT_APPEND = -O1 -endif - # detect if build targets experimental suite (or is a draft) DEB_SUITE_EXP = $(filter experimental% UNRELEASED,$(DEB_DISTRIBUTION))

