🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.bugs.dist
1 messages
1 total messages Started by Adrian Bunk Sun, 11 Oct 2026 12:30
Bug#1150615: monero: portability updates
#476
Author: Adrian Bunk
Date: Sun, 11 Oct 2026 12:30
45 lines
3242 bytes
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))
 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads