Package: atlas Version: 3.8.4-9 Severity: wishlist Tags: patch sid User: [email protected] Usertags: powerpcspe
Hi, on powerpcspe[1], atlas currently FTBFS like this: gcc -Wa,--noexecstack -fPIC -DL2SIZE=4194304 -I/«PKGBUILDDIR»/build/atlas-base/include -I/«PKGBUILDDIR»/build/atlas-base/../..//include -I/«PKGBUILDDIR»/build/atlas-base/../..//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_POWER3 -DATL_GAS_PPC -DWALL -DATL_NCPU=2 -x assembler-with-cpp -DATL_BETA=1 -c smm.c smm.c: Assembler messages: smm.c:294: Error: Unrecognized opcode: `stvx' smm.c:296: Error: Unrecognized opcode: `stvx' smm.c:298: Error: Unrecognized opcode: `stvx' smm.c:300: Error: Unrecognized opcode: `stvx' smm.c:302: Error: Unrecognized opcode: `stvx' smm.c:304: Error: Unrecognized opcode: `stvx' This is due to floating point instructions not available on powerpcspe. The attached patch solves this by removing powerpcspe from the Debian architectures using powerpc specifics. Thanks, Roland [1] http://wiki.debian.org/PowerPCSPEPort -- System Information: Debian Release: 7.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores) Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash
--- atlas-3.8.4/debian/rules.orig 2013-02-21 09:42:28.000000000 +0100 +++ atlas-3.8.4/debian/rules 2013-02-21 09:42:39.000000000 +0100 @@ -16,7 +16,7 @@ # Second number in ARCHS: # - 1 means no instruction set extension X86_ARCHS := amd64 i386 kfreebsd-amd64 kfreebsd-i386 hurd-i386 -PPC_ARCHS := powerpc powerpcspe ppc64 +PPC_ARCHS := powerpc ppc64 ifneq (,$(findstring $(DEB_HOST_ARCH),$(X86_ARCHS))) ARCHS=base_26_1 else ifneq (,$(findstring $(DEB_HOST_ARCH),$(PPC_ARCHS)))

