Bug#560028: libgcrypt11: try to use SPARC32 assembly code on SPARC64

Aurelien Jarno aurel32 at debian.org
Tue Dec 8 13:27:29 UTC 2009


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





More information about the Pkg-gnutls-maint mailing list