[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#751150: fix luajit-related FTBFS



tags 751150 + patch
thanks

Hi,

the attached patch should fix the problem for all current and
future architectures by using a *white*list for the JIT.

Tested on i386, m68k.

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
diff -Nru texlive-bin-2014.20140528.34243/debian/changelog texlive-bin-2014.20140528.34243/debian/changelog
--- texlive-bin-2014.20140528.34243/debian/changelog	2014-05-30 09:08:04.000000000 +0000
+++ texlive-bin-2014.20140528.34243/debian/changelog	2014-06-24 12:18:44.000000000 +0000
@@ -1,3 +1,9 @@
+texlive-bin (2014.20140528.34243-2+m68k.1) unreleased; urgency=high
+
+  * Replace LUAJIT_FAIL_ARCHS with LUAJIT_WHITELIST_ARCHS (Closes: #751150)
+
+ -- Thorsten Glaser <tg@mirbsd.de>  Tue, 24 Jun 2014 14:17:57 +0200
+
 texlive-bin (2014.20140528.34243-2) unstable; urgency=medium
 
   * disable building of luajittex on s390x, hppa (Closes: #749718)
diff -Nru texlive-bin-2014.20140528.34243/debian/rules texlive-bin-2014.20140528.34243/debian/rules
--- texlive-bin-2014.20140528.34243/debian/rules	2014-05-30 09:08:04.000000000 +0000
+++ texlive-bin-2014.20140528.34243/debian/rules	2014-06-24 12:17:54.000000000 +0000
@@ -4,7 +4,7 @@
 export SHELL=/bin/bash
 export CONFIG_SHELL=/bin/sh
 
-LUAJIT_FAIL_ARCHS := s390x hppa arm64 ppc64 ppc64el
+LUAJIT_WHITELIST_ARCHS := amd64 armel armhf i386 kfreebsd-i386 mips mipsel powerpc powerpcspe hurd-i386 kfreebsd-amd64 sparc sparc64
 
 # In case one wants to build with old automake (<< 1.13.1), the following
 # variable has to be set. By default the debian/control requires high
@@ -16,7 +16,7 @@
 ifeq ($(DEB_HOST_ARCH), alpha)
   export LDFLAGS = -Wl,--no-relax
 endif
-ifneq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_FAIL_ARCHS)))
+ifeq (,$(filter $(DEB_HOST_ARCH), $(LUAJIT_WHITELIST_ARCHS)))
   DISABLE_JIT=--disable-luajittex
 endif
 

Reply to: