summaryrefslogtreecommitdiff
path: root/debian/patches/illumos-boehm-gc.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/illumos-boehm-gc.diff')
-rw-r--r--debian/patches/illumos-boehm-gc.diff40
1 files changed, 0 insertions, 40 deletions
diff --git a/debian/patches/illumos-boehm-gc.diff b/debian/patches/illumos-boehm-gc.diff
deleted file mode 100644
index e8ec1f5..0000000
--- a/debian/patches/illumos-boehm-gc.diff
+++ /dev/null
@@ -1,40 +0,0 @@
-Description: changes to libgcj.ver fix crashes of programs using boehm-gc.
- Defining SOLARIS_STACKBOTTOM makes use of a native way to get stack bottom
- (with thr_stksegment())
-Index: gcc-49/src/boehm-gc/include/private/gcconfig.h
-===================================================================
---- gcc-49.orig/src/boehm-gc/include/private/gcconfig.h
-+++ gcc-49/src/boehm-gc/include/private/gcconfig.h
-@@ -2114,7 +2114,7 @@
- /* HEURISTIC2 probably works, but this appears to be preferable. */
- /* # include <sys/vm.h> */
- /* # define STACKBOTTOM USRSTACK */
--# define HEURISTIC2
-+# define SOLARIS_STACKBOTTOM
- # define PROC_VDB
- # define DYNAMIC_LOADING
- # if !defined(USE_MMAP) && defined(REDIRECT_MALLOC)
-Index: gcc-49/src/libjava/libgcj.ver
-===================================================================
---- gcc-49.orig/src/libjava/libgcj.ver
-+++ gcc-49/src/libjava/libgcj.ver
-@@ -9,6 +9,19 @@
- __gcj_personality_sj0;
- __gcj_personality_seh0;
- _Z*;
-+
-+# https://sourceware.org/ml/binutils/2010-02/msg00457.html
-+# Otherwise boehm-gc cannot determine memory borders
-+# and Java executables randomly crash
-+# GNU ld add these symbols by default, but not in case
-+# when version script is specified.
-+ _GLOBAL_OFFSET_TABLE_;
-+ _etext;
-+ _DYNAMIC;
-+ _edata;
-+ _end;
-+ _PROCEDURE_LINKAGE_TABLE_;
-+
- local:
- *;
- };