Package: genometools
Version: 1.5.2-2
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu utopic ubuntu-patch

Dear Maintainer,

Along the same lines as Bug #747431, -m64 shouldn't be used for aarch64
(friendly name arm64).

In Ubuntu, the attached patch was applied to achieve the following:

  * Build with correct machine flags on arm64, resolving FTBFS.

Thanks for considering the patch.

Logan Rosen



-- System Information:
Debian Release: jessie/sid
  APT prefers utopic-updates
  APT policy: (500, 'utopic-updates'), (500, 'utopic-security'), (500, 
'utopic'), (100, 'utopic-backports')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13.0-24-generic (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
diff -Nru genometools-1.5.2/debian/patches/arm64-no-m64 genometools-1.5.2/debian/patches/arm64-no-m64
--- genometools-1.5.2/debian/patches/arm64-no-m64	1969-12-31 19:00:00.000000000 -0500
+++ genometools-1.5.2/debian/patches/arm64-no-m64	2014-05-18 22:06:38.000000000 -0400
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -308,7 +308,7 @@
+ endif
+ 
+ ifeq ($(m64),yes)
+-  ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el))
++  ifeq (,$(filter $(MACHINE),ia64 alpha mips64 mips64el aarch64))
+     GT_CFLAGS += -m64
+     GT_LDFLAGS += -m64
+     SQLITE_CFLAGS += -m64
diff -Nru genometools-1.5.2/debian/patches/series genometools-1.5.2/debian/patches/series
--- genometools-1.5.2/debian/patches/series	2014-05-15 18:25:00.000000000 -0400
+++ genometools-1.5.2/debian/patches/series	2014-05-18 21:25:39.000000000 -0400
@@ -8,3 +8,4 @@
 no-xmllint
 spelling
 split-manuals
+arm64-no-m64

Reply via email to