[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Bug#892560: softhsm2: Please add support for new architecture "riscv64" (RISC-V 64 bits little-endian)



Forgot the debbugs-cc...


---------- Forwarded message ----------
From: Manuel A. Fernandez Montecelo <mafm@debian.org>
Date: 2018-03-10 17:46 GMT+01:00
Subject: Bug#892560: softhsm2: Please add support for new architecture
"riscv64" (RISC-V 64 bits little-endian)
To: Debian Bug Tracking System <submit@bugs.debian.org>


Source: softhsm2
Version: 2.2.0-3.1
Severity: normal
Tags: patch
User: debian-riscv@lists.debian.org
Usertags: riscv64

Hello,

We need changes in this package to bootstrap the riscv64 architecture, in
particular we need to skip the (IMO harmful) "-m64" test in the compiler for
64-bit architectures.

I am attaching a minimal patch that makes possible to compile the package,
adding riscv64 to SKIP_64BIT_ON_CPU in debian/rules.

This change should not affect other architectures or have ill effects in
general.

Since this is a fundamental dependency (for gnupg2, openldap, and apt, among
others) we're interested in having it available in unstable as quickly as
possible, to avoid accumulating too much delta while bootstrapping.

Seeing that there is an unacknowledge NMU and bugs have not been addressed for a
few months, I will upload an NMU soon, unless you have any objection.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo <mafm@debian.org>


-- 
Manuel A. Fernandez Montecelo <manuel.montezelo@gmail.com>
diff --git a/debian/rules b/debian/rules
index f5512b3..7ee5969 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,7 +16,7 @@ export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 # package maintainers to append LDFLAGS
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-SKIP_64BIT_ON_CPU="aarch64 alpha ia64 mips64 mips64el"
+SKIP_64BIT_ON_CPU="aarch64 alpha ia64 mips64 mips64el riscv64"
 
 export DPKG_GENSYMBOLS_CHECK_LEVEL=4
 

Reply to: