Control: tags -1 + patch

Hi Christoph,

Would it be an option to configure ecl with --enable-threads=no on
kfreebsd-* and hurd-* for wheezy?  Would any functionality be lost or
would it only affect performance?  The version in squeeze didn't have
threads enabled, and there don't seem to be any rdepends in wheezy?

Doing so (with attached patch to enable-threads only on Linux) results
in successful builds for me.

Actually this was already done for hurd-i386 in experimental:
http://bugs.debian.org/648993

But as of upstream 12.12.1 it seems to be fixed, making it possible to
re-enable threads post-wheezy on kfreebsd-* and maybe even hurd-*.  The
changes don't really seem trivial enough to backport comfortably.

Thanks,
Regards,
-- 
Steven Chamberlain
ste...@pyro.eu.org
Index: ecl-11.1.1/debian/rules
===================================================================
--- ecl-11.1.1.orig/debian/rules	2011-03-11 19:00:29.000000000 +0000
+++ ecl-11.1.1/debian/rules	2013-03-17 17:03:28.856311208 +0000
@@ -28,12 +28,18 @@
 endif
 
 DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
+DEB_HOST_ARCH_OS := $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
 
 # gengc doesn't work on ia64 right now -- check again for next version
 ifneq ($(DEB_HOST_ARCH),ia64)
   confflags += --enable-gengc
 endif
 
+# threads seem broken currently except on Linux (see #696757, #648993)
+ifeq ($(DEB_HOST_ARCH_OS),linux)
+  confflags += --enable-threads=yes
+endif
+
 # force to use ginstall-info:
 export INSTALL_INFO=/usr/bin/ginstall-info
 
@@ -56,7 +62,6 @@
 	   --with-system-gmp=yes \
 	   --with-tcp \
 	   --with-clx  \
-	   --enable-threads=yes \
 	   --enable-boehm=system  \
 	   --with-x
 

Reply via email to