[Pkg-erlang-commits] r1189 - in erlang/trunk/debian: . patches

sgolovan at alioth.debian.org sgolovan at alioth.debian.org
Mon Feb 22 09:55:37 UTC 2010


Author: sgolovan
Date: 2010-02-22 09:55:36 +0000 (Mon, 22 Feb 2010)
New Revision: 1189

Added:
   erlang/trunk/debian/patches/hppa.patch
Modified:
   erlang/trunk/debian/changelog
   erlang/trunk/debian/patches/series
Log:
[erlang]
  * Added a workaround which disables vfork() for hppa architecture
    (closes: #562218).


Modified: erlang/trunk/debian/changelog
===================================================================
--- erlang/trunk/debian/changelog	2010-02-14 11:36:30 UTC (rev 1188)
+++ erlang/trunk/debian/changelog	2010-02-22 09:55:36 UTC (rev 1189)
@@ -1,8 +1,9 @@
-erlang (1:13.b.3-dfsg-5) UNRELEASED; urgency=low
+erlang (1:13.b.3-dfsg-5) unstable; urgency=low
 
-  * NOT RELEASED YET
+  * Added a workaround which disables vfork() for hppa architecture
+    (closes: #562218).
 
- -- Sergei Golovan <sgolovan at debian.org>  Sun, 14 Feb 2010 12:58:20 +0300
+ -- Sergei Golovan <sgolovan at debian.org>  Mon, 22 Feb 2010 10:49:00 +0300
 
 erlang (1:13.b.3-dfsg-4) unstable; urgency=low
 

Added: erlang/trunk/debian/patches/hppa.patch
===================================================================
--- erlang/trunk/debian/patches/hppa.patch	                        (rev 0)
+++ erlang/trunk/debian/patches/hppa.patch	2010-02-22 09:55:36 UTC (rev 1189)
@@ -0,0 +1,25 @@
+Author: Sergei Golovan <sgolovan at debian.org>
+Description: The patch adds a temporary workaround for a bug in kernel and
+ glibc for hppa architecture where vfork()+exec() fail (see thread
+ http://lists.debian.org/debian-hppa/2009/12/msg00035.html for details)
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=562218
+Forwarded: no
+Last-updated: Mon, 22 Feb 2010 10:34:34 +0300
+
+--- erlang-13.b.3-dfsg.orig/erts/configure.in
++++ erlang-13.b.3-dfsg/erts/configure.in
+@@ -1591,6 +1591,14 @@
+ AC_FUNC_SETVBUF_REVERSED	
+ 
+ disable_vfork=false
++AC_MSG_CHECKING([if vfork is to be disabled (for HPPA)])
++case $host_alias in
++	hppa*)
++		AC_MSG_RESULT(yes)
++		disable_vfork=true;;
++	*)
++		AC_MSG_RESULT(no);;
++esac
+ if test "x$EMU_THR_LIB_NAME" != "x"; then
+ 	AC_MSG_CHECKING([if vfork is known to hang multithreaded applications])
+ 	case $host_os in

Modified: erlang/trunk/debian/patches/series
===================================================================
--- erlang/trunk/debian/patches/series	2010-02-14 11:36:30 UTC (rev 1188)
+++ erlang/trunk/debian/patches/series	2010-02-22 09:55:36 UTC (rev 1189)
@@ -7,5 +7,6 @@
 m68k.patch
 docs.patch
 java.patch
+hppa.patch
 #native.patch
 #build-options.patch




More information about the Pkg-erlang-commits mailing list