25fb8e4588
== [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.
40 lines
1 KiB
Makefile
40 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.82 2016/06/12 14:36:29 wiz Exp $
|
|
|
|
DISTNAME= gc-7.4.4
|
|
PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://www.hboehm.info/gc/
|
|
COMMENT= Garbage collection and memory leak detection for C and C++
|
|
|
|
USE_TOOLS+= gmake pkg-config
|
|
USE_LANGUAGES= c c++
|
|
USE_LIBTOOL= YES
|
|
GNU_CONFIGURE= YES
|
|
CONFIGURE_ARGS+= --enable-cplusplus
|
|
CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
|
|
PKGCONFIG_OVERRIDE= bdw-gc.pc.in
|
|
INSTALLATION_DIRS= ${PKGMANDIR}/man3
|
|
|
|
TEST_TARGET= check
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "Darwin" && empty(OS_VERSION:M[1-9].*)
|
|
CFLAGS+= -D_XOPEN_SOURCE
|
|
.endif
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
${INSTALL_MAN} ${WRKSRC}/doc/gc.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man3/gc.3
|
|
|
|
do-test:
|
|
cd ${WRKSRC} && \
|
|
${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
|
|
${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
|
|
|
|
.include "../../devel/libatomic_ops/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|