🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #476

Bug#1150615: monero: portability updates

#476
From: 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))
 
Technical Details
Message-ID: <NN0QF-4SL2-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!news.corradoroberto.it!bofh.it!news.nic.it!robomod
From: Adrian Bunk <bunk@debian.org>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1150615: monero: portability updates
Date: Sun, 11 Oct 2026 14:30:01 +0200
Message-ID: <NN0QF-4SL2-1@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Oct 11 12:29:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Adrian Bunk <bunk@debian.org>, 1150615@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: team+cryptocoin@tracker.debian.org
X-Debian-Pr-Message: report 1150615
X-Debian-Pr-Package: src:monero
X-Debian-Pr-Keywords: patch
X-Debian-Pr-Source: monero
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Mailer: reportbug 13.2.0
X-Debian-User: bunk
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1996225
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 45
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Date: Sun, 11 Oct 2026 15:27:46 +0300
X-Original-Message-ID: <179172166652.743528.789214571735305492.reportbug@localhost>