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.diff -r1.81 -r1.82 pkgsrc/devel/boehm-gc/Makefile
(wiz)
@@ -1,45 +1,40 @@ | @@ -1,45 +1,40 @@ | |||
1 | # $NetBSD: Makefile,v 1.81 2015/02/16 08:07:20 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.82 2016/06/12 14:36:29 wiz Exp $ | |
2 | 2 | |||
3 | DISTNAME= gc-7.4.2 | 3 | DISTNAME= gc-7.4.4 | |
4 | PKGNAME= ${DISTNAME:S/gc/boehm-gc/} | 4 | PKGNAME= ${DISTNAME:S/gc/boehm-gc/} | |
5 | PKGREVISION= 1 | |||
6 | CATEGORIES= devel | 5 | CATEGORIES= devel | |
7 | MASTER_SITES= http://www.hboehm.info/gc/gc_source/ | 6 | MASTER_SITES= http://www.hboehm.info/gc/gc_source/ | |
8 | 7 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://www.hboehm.info/gc/ | 9 | HOMEPAGE= http://www.hboehm.info/gc/ | |
11 | COMMENT= Garbage collection and memory leak detection for C and C++ | 10 | COMMENT= Garbage collection and memory leak detection for C and C++ | |
12 | 11 | |||
13 | USE_TOOLS+= gmake pkg-config | 12 | USE_TOOLS+= gmake pkg-config | |
14 | USE_LANGUAGES= c c++ | 13 | USE_LANGUAGES= c c++ | |
15 | USE_LIBTOOL= YES | 14 | USE_LIBTOOL= YES | |
16 | GNU_CONFIGURE= YES | 15 | GNU_CONFIGURE= YES | |
17 | CONFIGURE_ARGS+= --enable-cplusplus | 16 | CONFIGURE_ARGS+= --enable-cplusplus | |
18 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc | 17 | CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc | |
19 | PKGCONFIG_OVERRIDE= bdw-gc.pc.in | 18 | PKGCONFIG_OVERRIDE= bdw-gc.pc.in | |
20 | INSTALLATION_DIRS= ${PKGMANDIR}/man3 | 19 | INSTALLATION_DIRS= ${PKGMANDIR}/man3 | |
21 | 20 | |||
22 | TEST_TARGET= check | 21 | TEST_TARGET= check | |
23 | 22 | |||
24 | .include "../../mk/bsd.prefs.mk" | 23 | .include "../../mk/bsd.prefs.mk" | |
25 | 24 | |||
26 | .if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*) | 25 | .if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*) | |
27 | CFLAGS+= -D_XOPEN_SOURCE | 26 | CFLAGS+= -D_XOPEN_SOURCE | |
28 | .endif | 27 | .endif | |
29 | 28 | |||
30 | .include "options.mk" | 29 | .include "options.mk" | |
31 | 30 | |||
32 | # https://github.com/ivmai/bdwgc/issues/65 | |||
33 | post-extract: | |||
34 | mv ${WRKSRC}/src/* ${WRKSRC} | |||
35 | ||||
36 | post-install: | 31 | post-install: | |
37 | ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3 | 32 | ${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3 | |
38 | 33 | |||
39 | do-test: | 34 | do-test: | |
40 | cd ${WRKSRC} && \ | 35 | cd ${WRKSRC} && \ | |
41 | ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \ | 36 | ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \ | |
42 | ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10 | 37 | ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10 | |
43 | 38 | |||
44 | .include "../../devel/libatomic_ops/buildlink3.mk" | 39 | .include "../../devel/libatomic_ops/buildlink3.mk" | |
45 | .include "../../mk/bsd.pkg.mk" | 40 | .include "../../mk/bsd.pkg.mk" |
@@ -1,16 +1,18 @@ | @@ -1,16 +1,18 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.15 2014/06/15 14:19:07 wiz Exp $ | 1 | @comment $NetBSD: PLIST,v 1.16 2016/06/12 14:36:29 wiz Exp $ | |
2 | include/gc.h | 2 | include/gc.h | |
3 | include/gc/cord.h | 3 | include/gc/cord.h | |
4 | include/gc/cord_pos.h | |||
5 | include/gc/ec.h | |||
4 | include/gc/gc.h | 6 | include/gc/gc.h | |
5 | include/gc/gc_allocator.h | 7 | include/gc/gc_allocator.h | |
6 | include/gc/gc_backptr.h | 8 | include/gc/gc_backptr.h | |
7 | include/gc/gc_config_macros.h | 9 | include/gc/gc_config_macros.h | |
8 | include/gc/gc_cpp.h | 10 | include/gc/gc_cpp.h | |
9 | include/gc/gc_disclaim.h | 11 | include/gc/gc_disclaim.h | |
10 | include/gc/gc_gcj.h | 12 | include/gc/gc_gcj.h | |
11 | include/gc/gc_inline.h | 13 | include/gc/gc_inline.h | |
12 | include/gc/gc_mark.h | 14 | include/gc/gc_mark.h | |
13 | include/gc/gc_pthread_redirects.h | 15 | include/gc/gc_pthread_redirects.h | |
14 | include/gc/gc_tiny_fl.h | 16 | include/gc/gc_tiny_fl.h | |
15 | include/gc/gc_typed.h | 17 | include/gc/gc_typed.h | |
16 | include/gc/gc_version.h | 18 | include/gc/gc_version.h |
@@ -1,7 +1,6 @@ | @@ -1,7 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.53 2015/11/03 03:27:16 agc Exp $ | 1 | $NetBSD: distinfo,v 1.54 2016/06/12 14:36:29 wiz Exp $ | |
2 | 2 | |||
3 | SHA1 (gc-7.4.2.tar.gz) = cd4a54620c38a2c361b3ee99dd134dbffb57c313 | 3 | SHA1 (gc-7.4.4.tar.gz) = 52adf4e7779c0a890ec70d0a41671eefdcc4181a | |
4 | RMD160 (gc-7.4.2.tar.gz) = 106bda88d4e47c32f5ba4137c82fa173313d09a9 | 4 | RMD160 (gc-7.4.4.tar.gz) = 9b54376124a5cac86ff56dbbc2ecdbfef2cf25cd | |
5 | SHA512 (gc-7.4.2.tar.gz) = 2e21516addf268780641ee55c0cb3ecc2d96fa963faffee5beadcade9c6bf1ee49ee1a75b076b5d49ddde7c839fb94f4c3623ca8412d14c2a5bf6ca30d424a72 | 5 | SHA512 (gc-7.4.4.tar.gz) = e54fbbbd74c21c87764ab0d4af17029b3fa2b9c1de1e926459affff0a46951b5cf6d6886fa1be437c0b4b42c20e5a6a1641d433f70efa4b465f7fad5ab41af12 | |
6 | Size (gc-7.4.2.tar.gz) = 1082597 bytes | 6 | Size (gc-7.4.4.tar.gz) = 1103245 bytes | |
7 | SHA1 (patch-dyn__load.c) = cd224eb9e31deba2f5a29f3202d8ef130e8fdaae |