pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc Updated boehm-gc to 7.4.4.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dd604a240531
branches:  trunk
changeset: 348356:dd604a240531
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Sun Jun 12 14:36:29 2016 +0000

description:
Updated boehm-gc to 7.4.4.

== [7.4.4] 2016-05-25 ==

* Allow GC_FAST_MALLOC_GRANS() multiple use in a function.
* Also enable the TSX workaround for i386 (Linux).
* Avoid unstructured procfs on Solaris.
* Change cord/de main() declaration style from K-R to ANSI C.
* Change no-argument functions declaration style to ANSI C (cord).
* Do not include sigcontext.h and asm/sigcontext.h.
* Eliminate 'divide by zero' compiler warning in cordtest.
* Eliminate warning about 64-bit pointer-to-int cast (Win64/pthreads-w32).
* Eliminate warnings detected by Cppcheck in cord de[_win].
* Fix 'comparison of non-null parameter is always false' warning (Clang).
* Fix 'CORD_iter5 unused result' code defect in cordxtra.
* Fix 'GC_generic_malloc_inner_ignore_off_page not used' compiler warning.
* Fix 'implicit declaration of vsnprintf' GCC warning (if strict ANSI mode).
* Fix 'signed-to-bigger-unsigned value assignment' in GC_init_size_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning for hb_map.
* Fix 'signed-to-bigger-unsigned value assignment' warning in GC_setpagesize.
* Fix 'statement unreachable' compiler warning in GC_mark_from.
* Fix 'statement unreachable' compiler warning in memalign.
* Fix 'unused label' compiler warning in cord/de.
* Fix 'value truncated' compiler warning in CORD_cat (MS VC).
* Fix 'variable unused' warning in GC_save_callers.
* Fix 'visibility attribute not supported' GCC warning (IBM AIX).
* Fix CMake warning about CMP0054 by unquoting instances of HOST.
* Fix Cygwin64 build.
* Fix GC_REALLOC to call GC_FREE if new size is zero and pointer is non-NULL.
* Fix Makefile.direct for Cygwin.
* Fix __alloc_size__ availability detection (Clang).
* Fix abort message in GC_move_long_link.
* Fix and code refactoring of lock elision workaround (Linux/x64).
* Fix assertion on mark_lock_holder for non-unique NUMERIC_THREAD_ID.
* Fix data race in GC_init_explicit_typing.
* Fix gc.mak regarding msvc_dbg and test (MSVC).
* Fix missing error handling of pthread_attr_init/getstacksize.
* Fix missing error handling of pthreads_mutex_init and cond_wait.
* Fix missing numeric casts in cord.
* Fix potential left shift overflows in finalize.c (64-bit targets).
* Fix pthreads-win32 name in comments and documentation.
* Fix setup_mark_lock missing prototype.
* Fix unchecked fcntl() result.
* Fix unchecked pointer dereference in check_ints (gctest).
* Fix unchecked pthread_join() result in threadkey_test.
* Fix unchecked sigdelset() result in pthread_support.
* Fix undefined PTRFREE/NORMAL in gc_inline.h.
* Prefix PREFETCH_FOR_WRITE with GC_ as used in gc_inline.h public header.
* Relax mark_mutex attribute needed to disable elision (Linux/x64).
* Remove (deprecate) TODO file.
* Remove code duplication in GC_realloc.
* Remove duplicate new-line in OUT_OF_MEMORY message (cord).
* Remove references to missing linux_threads.c from documentation.
* Revert "Move asm machine-dependent files to 'src' folder" (partly).
* Support Android API level 21.
* Update compiler options in gc.mak (Win32).
* Use mmap instead of sbrk (Hurd).
* Workaround 'comparison is always false' GCC warning in GC_FAST_MALLOC_GRANS.
* Workaround 'identical expr on both sides of bitwise op' warning.
* Workaround Linux NTPL lock elision bug.
* Workaround false warning about unreachable code path.
* Workaround invalid '_end' symbol on Android clang 3.5+.
Also, includes 7.2g changes.

diffstat:

 devel/boehm-gc/Makefile                  |   9 +------
 devel/boehm-gc/PLIST                     |   4 ++-
 devel/boehm-gc/distinfo                  |  11 ++++-----
 devel/boehm-gc/patches/patch-dyn__load.c |  33 --------------------------------
 4 files changed, 10 insertions(+), 47 deletions(-)

diffs (91 lines):

diff -r ba20c87d40a9 -r dd604a240531 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile   Sun Jun 12 14:34:06 2016 +0000
+++ b/devel/boehm-gc/Makefile   Sun Jun 12 14:36:29 2016 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.81 2015/02/16 08:07:20 tnn Exp $
+# $NetBSD: Makefile,v 1.82 2016/06/12 14:36:29 wiz Exp $
 
-DISTNAME=      gc-7.4.2
+DISTNAME=      gc-7.4.4
 PKGNAME=       ${DISTNAME:S/gc/boehm-gc/}
-PKGREVISION=   1
 CATEGORIES=    devel
 MASTER_SITES=  http://www.hboehm.info/gc/gc_source/
 
@@ -29,10 +28,6 @@
 
 .include "options.mk"
 
-# https://github.com/ivmai/bdwgc/issues/65
-post-extract:
-       mv ${WRKSRC}/src/* ${WRKSRC}
-
 post-install:
        ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3
 
diff -r ba20c87d40a9 -r dd604a240531 devel/boehm-gc/PLIST
--- a/devel/boehm-gc/PLIST      Sun Jun 12 14:34:06 2016 +0000
+++ b/devel/boehm-gc/PLIST      Sun Jun 12 14:36:29 2016 +0000
@@ -1,6 +1,8 @@
-@comment $NetBSD: PLIST,v 1.15 2014/06/15 14:19:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.16 2016/06/12 14:36:29 wiz Exp $
 include/gc.h
 include/gc/cord.h
+include/gc/cord_pos.h
+include/gc/ec.h
 include/gc/gc.h
 include/gc/gc_allocator.h
 include/gc/gc_backptr.h
diff -r ba20c87d40a9 -r dd604a240531 devel/boehm-gc/distinfo
--- a/devel/boehm-gc/distinfo   Sun Jun 12 14:34:06 2016 +0000
+++ b/devel/boehm-gc/distinfo   Sun Jun 12 14:36:29 2016 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.53 2015/11/03 03:27:16 agc Exp $
+$NetBSD: distinfo,v 1.54 2016/06/12 14:36:29 wiz Exp $
 
-SHA1 (gc-7.4.2.tar.gz) = cd4a54620c38a2c361b3ee99dd134dbffb57c313
-RMD160 (gc-7.4.2.tar.gz) = 106bda88d4e47c32f5ba4137c82fa173313d09a9
-SHA512 (gc-7.4.2.tar.gz) = 2e21516addf268780641ee55c0cb3ecc2d96fa963faffee5beadcade9c6bf1ee49ee1a75b076b5d49ddde7c839fb94f4c3623ca8412d14c2a5bf6ca30d424a72
-Size (gc-7.4.2.tar.gz) = 1082597 bytes
-SHA1 (patch-dyn__load.c) = cd224eb9e31deba2f5a29f3202d8ef130e8fdaae
+SHA1 (gc-7.4.4.tar.gz) = 52adf4e7779c0a890ec70d0a41671eefdcc4181a
+RMD160 (gc-7.4.4.tar.gz) = 9b54376124a5cac86ff56dbbc2ecdbfef2cf25cd
+SHA512 (gc-7.4.4.tar.gz) = e54fbbbd74c21c87764ab0d4af17029b3fa2b9c1de1e926459affff0a46951b5cf6d6886fa1be437c0b4b42c20e5a6a1641d433f70efa4b465f7fad5ab41af12
+Size (gc-7.4.4.tar.gz) = 1103245 bytes
diff -r ba20c87d40a9 -r dd604a240531 devel/boehm-gc/patches/patch-dyn__load.c
--- a/devel/boehm-gc/patches/patch-dyn__load.c  Sun Jun 12 14:34:06 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,33 +0,0 @@
-$NetBSD: patch-dyn__load.c,v 1.1 2014/10/29 17:01:09 wiz Exp $
-
-Current GC_FirstDLOpenedLinkMap() for NetBSD calls dlinfo(RTLD_SELF,
-RTLD_DI_LINKMAP, &lm) to find link_map.  So it will find link_map of
-libgc.
-
-With guile's case, libgc is link to libguile and libguile is linked to
-the guile command, so libgc is not the first one in the link_map chain.
-
-That's why, data section of libguile, where scm_protects exists, isn't
-added to GC root and GC_is_visible fails.
-
---- dyn_load.c.orig    2014-06-03 06:08:02.000000000 +0000
-+++ dyn_load.c
-@@ -687,8 +687,16 @@ GC_FirstDLOpenedLinkMap(void)
-     if( cachedResult == 0 ) {
- #     if defined(NETBSD) && defined(RTLD_DI_LINKMAP)
-         struct link_map *lm = NULL;
--        if (!dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lm))
--            cachedResult = lm;
-+        if (!dlinfo(RTLD_SELF, RTLD_DI_LINKMAP, &lm) && lm != NULL) {
-+            /*
-+             * Now, lm points link_map object of libgc.  Since it
-+             * might not be the first dynamically linked object,
-+             * try to find it (object next to the main object).
-+             */
-+            while (lm->l_prev)
-+                lm = lm->l_prev;
-+            cachedResult = lm->l_next;
-+        }
- #     else
-         int tag;
-         for( dp = _DYNAMIC; (tag = dp->d_tag) != 0; dp++ ) {



Home | Main Index | Thread Index | Old Index