Commit a47e1ae5 authored by NIIBE Yutaka's avatar NIIBE Yutaka

alpha: Add back debian/patches/34_alpha_stackbottom.patch.

parent b5772559
gauche (0.9.6-9) unstable; urgency=medium
* debian/patches/34_alpha_stackbottom.patch: Add again.
--
gauche (0.9.6-8) unstable; urgency=medium
* debian/control (Build-Depends): Add libgdbm-dev version requirement.
......
Description: Fix alpha's FTBFS which was by:
GC Warning: pthread_getattr_np or pthread_attr_getstack failed for main thread
Author: NIIBE Yutaka <gniibe@fsij.org>
Last-Update: 2018-10-16
Index: gauche/gc/include/private/gcconfig.h
===================================================================
--- gauche.orig/gc/include/private/gcconfig.h
+++ gauche/gc/include/private/gcconfig.h
@@ -1960,6 +1960,7 @@
# endif
# ifdef LINUX
# define OS_TYPE "LINUX"
+# define DONT_USE_GET_STACKBASE_FOR_MAIN
# define LINUX_STACKBOTTOM
# ifdef __ELF__
# define SEARCH_FOR_DATA_START
Index: gauche/gc/os_dep.c
===================================================================
--- gauche.orig/gc/os_dep.c
+++ gauche/gc/os_dep.c
@@ -1218,7 +1218,7 @@ GC_INNER size_t GC_page_size = 0;
# if (defined(HAVE_PTHREAD_ATTR_GET_NP) \
|| defined(HAVE_PTHREAD_GETATTR_NP)) \
&& (defined(USE_GET_STACKBASE_FOR_MAIN) \
- || (defined(THREADS) && !defined(REDIRECT_MALLOC)))
+ || (defined(THREADS) && !defined(REDIRECT_MALLOC) && !defined(DONT_USE_GET_STACKBASE_FOR_MAIN)))
pthread_attr_t attr;
void *stackaddr;
size_t size;
34_alpha_stackbottom.patch
44_endian_not_asm_byteorder_h.patch
42_hppa_libatomic_ops.patch
43_makedoc_gzip_best.patch
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment