libgcrypt tries to use SPARC32 assembly code on SPARC64
Andreas Metzler
ametzler at downhill.at.eu.org
Tue Dec 8 17:40:09 CET 2009
Hello,
this is http://bugs.debian.org/560028 reported by Aurelien Jarno.
Patch still applies on SVN head.
cu andreas
----- Forwarded message from Aurelien Jarno <aurel32 at debian.org> -----
From: Aurelien Jarno <aurel32 at debian.org>
Subject: Bug#560028: libgcrypt11: try to use SPARC32 assembly code on SPARC64
Package: libgcrypt11
Version: 1.4.1-1
Severity: normal
Tags: patch
User: debian-sparc at lists.debian.org
Usertags: sparc64
libgcrypt11 fails to build on sparc64, as it tries to mix SPARC32
assembly code on SPARC64. The patch below fixes the problem.
--- libgcrypt11-1.4.4.orig/mpi/config.links
+++ libgcrypt11-1.4.4/mpi/config.links
@@ -138,11 +138,10 @@
mpi_extra_modules="udiv-qrnnd"
;;
sparc64-*-linux-gnu)
- # An extra rule because we have an report for this one only.
- # Should be compared against the next GMP version
- echo '/* configured for sparc64-*-linux-gnu */' >>./mpi/asm-syntax.h
- path="sparc32v8 sparc32"
- mpi_extra_modules="udiv"
+ # There are no sparc64 assembler modules that work on GNU/Linux,
+ # so use the generic C functions.
+ echo '/* No working assembler modules available */' >>./mpi/asm-syntax.h
+ path=""
;;
sparc64-sun-solaris2*)
# Got a report that udiv is missing, so we try this one
-- System Information:
Debian Release: squeeze/sid
APT prefers stable
APT policy: (500, 'unstable')
Architecture: sparc64
Kernel: Linux 2.6.26-2-sparc64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
----- End forwarded message -----
More information about the Gcrypt-devel
mailing list