Package: polarssl Version: 1.0.0-2 Severity: important Tags: patch User: debian-s...@lists.debian.org Usertags: s390x
polarssl fails to build from source on s390x and sparc64 as the testsuite hangs, and the build therefore get killed. Both these architectures are 64-bit and needs some adjustement in the code. The patch below fixes the problem. With it the testsuite doesn't hang anymore. It shows a few testsuite failures, but they are the same than on other big endian architectures. Would it be possible to get this patch included in the next upload? I t doesn't fix all the problems, but it's already a huge improvement. Thanks in advance. --- polarssl-1.0.0.orig/include/polarssl/bignum.h +++ polarssl-1.0.0/include/polarssl/bignum.h @@ -65,7 +65,9 @@ typedef unsigned long t_udbl; #else #if defined(__amd64__) || defined(__x86_64__) || \ defined(__ppc64__) || defined(__powerpc64__) || \ - defined(__ia64__) || defined(__alpha__) + defined(__ia64__) || defined(__alpha__) || \ + (defined(__sparc__) && defined(__arch64__)) || \ + defined(__s390x__) typedef unsigned int t_udbl __attribute__((mode(TI))); #else #if defined(POLARSSL_HAVE_LONGLONG) -- System Information: Debian Release: wheezy/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: s390x Kernel: Linux 3.0.0-2-s390x (SMP w/2 CPU cores) Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org