Sun Sep 11 12:25:23 2022 UTC ()
boehm-gc: update to 8.2.2.

== [8.2.2] 2022-08-26 ==

* Abort if no progress with thread suspend/resume signals resending
* Add CMake option to force libatomic_ops headers usage
* Add _PROP suffix to CORD/GC[CPP]_VERSION variables in CMake script
* Allow not to bypass pthread_cancel hardening in pthread_start
* Allow to start marker threads in child of single-threaded client
* Avoid potential race in GC_init_real_syms after GC_allow_register_threads
* Avoid potential signal loss before sigsuspend in suspend_handler if TSan
* Define SUNOS5SIGS macro for kFreeBSD
* Distribute gc_gcj.h and some other headers in single-obj-compilation
* Do not assert that GC is initialized at DLL_THREAD_DETACH (Win32)
* Do not call SET_HDR() to remove forwarding counts if none exists in hblk
* Do not call mprotect/mmap to GC_unmap/remap (Linux)
* Do not count unmapped regions if GC_unmap is madvise-based (Linux)
* Do not define NEED_FIND_LIMIT in case of OpenBSD user threads
* Do not fail tests if pthread_create returns resource unavailable error
* Do not name GCC intrinsics as C11 ones
* Do not probe to find main data root start if dl_iterate_phdr exists
* Do not send signal to thread which is suspended manually
* Do not use usleep between signals resend if ThreadSanitizer
* Eliminate '-pedantic is not option that controls warnings' GCC-6.3 message
* Eliminate '/GS can not protect parameters' MS VC warning in msvc_dbg
* Eliminate 'R_AARCH64_ABS64 used with TLS symbol' linker warning (clang)
* Eliminate 'buffer overflow detected' FP error in realloc_test
* Eliminate 'extension used' clang warning in sparc_mach_dep.S (configure)
* Eliminate 'function/data pointer conversion in expression' MSVC warning
* Eliminate 'implicit decl of _setjmp' gcc warning if -std=c11 on Cygwin
* Eliminate 'layout of aggregates has changed in GCC 5' warning in test_cpp
* Eliminate 'new_l may be used uninitialized' gcc warning in os_dep (Cygwin)
* Eliminate 'old_gc_no is initialized but not referenced' MS VC false warning
* Eliminate 'possible loss of data' compiler warning in GC_envfile_getenv
* Eliminate 'potentially uninitialized local variable tc' warning (MSVC)
* Eliminate 'skipping config since MAX_HEAP_SECTS is unknown' cppcheck FP
* Eliminate 'unused but set variable' gcc warnings in cpptest
* Eliminate 'value exceeds maximum size' warnings in debug_malloc, huge_test
* Eliminate 'writing into region of size 0' gcc FP warning in realloc
* Eliminate ASan stack-buffer-underflow FP in GC_mark_and_push_stack (E2K)
* Eliminate code defect about incorrect size of allocated object (leaktest)
* Eliminate data race reported by TSan in GC_have_errors
* Eliminate division-by-zero FP warning in GC_ASSERT in reclaim_block
* Eliminate stringop-overflow gcc-12 warning in CORD__next
* Ensure typed objects descriptor is never located in the first word
* Fix 'GC_greatest_stack_base_below is defined but not used' warning (IA64)
* Fix 'GC_text_mapping not used' GCC warning if redirect malloc w/o threads
* Fix 'ISO C forbids conversion of function pointer to object' warning
* Fix 'undeclared getpagesize' compiler warning on AIX and OSF1
* Fix 'undefined reference to __data_start' linker error on Linux/aarch64
* Fix 'unresolved __imp__wsprintfA' linker error in msvc_dbg.c (MSVC)
* Fix 'unresolved symbol GetModuleHandle' error in win32_threads.c (UWP)
* Fix (workaround) stack overflow in gctest on Alpine Linux/s390x
* Fix GC_ATTR_NO_SANITIZE_THREAD definition for GCC
* Fix GC_allocate_ml incorrect cleanup in GC_deinit if pthreads (MinGW)
* Fix GC_dirty() argument in GC_malloc_explicitly_typed_ignore_off_page
* Fix GC_make_descriptor for zero length argument
* Fix GC_suspend_thread if called before thread destructor
* Fix GC_unmapped_bytes update in GC_unmap for Sony PS/3
* Fix SIGSEGV caused by dropped stack access from child process in gctest
* Fix SUNOS5SIGS documentation to match macro definition in gcconfig.h
* Fix abort in Win32 DllMain if PARALLEL_MARK
* Fix abort when GC_repeat_read returns zero
* Fix assertion about built-in AO_test_and_set_acquire on sparc64 (gcc-12)
* Fix assertion violation in GC_allow_register_threads on Windows
* Fix assertion violation of GC_thread_key alignment if pthread-based TLS
* Fix comment in GC_init regarding GC_init_parallel call
* Fix context saving when GC_suspend_thread(self)
* Fix data race in fail_proc1 of gctest
* Fix hang in GC_free if GC_PREFER_MPROTECT_VDB (Mingw64)
* Fix hang in select() called from suspend signal handler if TSan
* Fix hang on sem_wait in GC_suspend_thread if thread was resumed recently
* Fix hb_obj_kind type in documentation (ASCII diagram) describing hblkhdr
* Fix incremental mode enabling in gctest if TEST_MANUAL_VDB
* Fix linking of tests in case of finalization is off
* Fix lock assertion violation in GC_find_limit if always multi-threaded
* Fix memory return to OS in GC_unmap
* Fix missing lock when GC_generate_random_valid_address is called
* Fix missing write() declaration if CONSOLE_LOG (Watcom)
* Fix nodist_libgc_la_SOURCES value in Makefile.am for Solaris/sparc
* Fix oldProc initialization in gc_cleanup and eliminate related warnings
* Fix parallel_initialized assertion violation in initsecondarythread (Win32)
* Fix potential race if start_mark_threads called from threads in child
* Fix propagation of out-of-memory occurred in GC_make_sequence_descriptor
* Fix pthread_setname_np and dladdr detection by CMake
* Fix race between calloc_explicitly_typed and push_complex_descriptor
* Fix typos in comments and debugging.md
* Fix undefined __stack_base__ on UWP/arm64 (llvm-mingw)
* Force GC_with_callee_saves_pushed in suspend_handler if NO_SA_SIGACTION
* Link with rt library to get clock_gettime where necessary
* Make finalizer_closure pointer read/write atomic in malloc and callback
* Move platform-specific sleep call to GC_usleep (refactoring)
* Pass -lrt linker option in CMake script on HP/UX, NetBSD
* Prevent (fix) parallel custom mark procs run in single-threaded clients
* Prevent changing of GC_markers_m1 value while collection in progress
* Refer to Makefile.direct instead of deleted Makefile file in README
* Relax assertion of hb_n_marks in reclaim_block if more than two markers
* Remove IF_IA64 macro in pthread_stop_world (refactoring)
* Remove checking of RS6000 completely
* Remove duplicate check of MSWIN_XBOX1 in os_dep.c
* Remove duplicate include gc_tiny_fl.h in gc_priv.h
* Remove non-working check of M68K in gctest
* Remove useless TSan W/A about read of mark_lock_holder for Windows
* Replace RAISE_SIGNAL macro with a static function (refactoring)
* Replace SSH cloning with HTTPS one in README
* Retry pthread_kill if EAGAIN (Linux)
* Revert "Check real-symbols are already initialized in pthread_join/detach"
* Revert "Remove nested always-false ifdef for HPUX and FREEBSD"
* Revert addition of msvc_dbg.h in include.am
* Set default build type to RelWithDebInfo (CMake)
* Start configure help messages with a lower case letter
* Support 'z' format modifier by CORD_vsprintf
* Support Elbrus 2000 (Linux/e2k)
* Support GCC MCF thread model (mcfgthreads) in configure (MinGW)
* Support GC_remove_roots on Win32
* Support OpenBSD/riscv64
* Support build using Makefile.direct on Linux/sparc
* Support space-separated flags in CFLAGS_EXTRA passed to CMake
* Update README.win32 about default build configuration (configure, cmake)
* Update documentation of GC_RATE and MAX_PRIOR_ATTEMPTS
* Use SIGRTMIN+6 as suspend signal if sigrt-signals on OpenBSD
* Use SIGUSR1/2 on FreeBSD/arm64
* Use compiler TLS on NetBSD only if at least gcc-4.4 or clang-3.9
* Workaround 'info is not assigned' cppcheck FP if assertions on (OS X)
* Workaround SIG_SUSPEND delivery to thread inside mutex_lock fail if TSan
* Workaround TSan FP about race between generic_malloc and array_mark_proc
* Workaround TSan FP in acquire_mark_lock called from fork_prepare_proc
* Workaround TSan FP warning in finalized_malloc, push_unconditionally
* Workaround TSan FP warning in fork_prepare_proc
* Workaround TSan FP warning in push_marked1/2/4, ptr_store_and_dirty
* Workaround Thread Sanitizer (TSan) FP warning in is_valid_displacement
* Workaround call stack size exceeded in gctest (Wasm)
* Workaround crash in FreeBSD rand() by avoiding its concurrent usage
* Workaround gctest hang if test compiled as C++ code by MSVC (CMake)
* Workaround msvc_dbg.c build failure on arm[64] (MSVC)


(wiz)
diff -r1.104 -r1.105 pkgsrc/devel/boehm-gc/Makefile
diff -r1.21 -r1.22 pkgsrc/devel/boehm-gc/PLIST
diff -r1.70 -r1.71 pkgsrc/devel/boehm-gc/distinfo

cvs diff -r1.104 -r1.105 pkgsrc/devel/boehm-gc/Makefile (switch to unified diff)

--- pkgsrc/devel/boehm-gc/Makefile 2021/11/07 20:59:17 1.104
+++ pkgsrc/devel/boehm-gc/Makefile 2022/09/11 12:25:23 1.105
@@ -1,46 +1,45 @@ @@ -1,46 +1,45 @@
1# $NetBSD: Makefile,v 1.104 2021/11/07 20:59:17 wiz Exp $ 1# $NetBSD: Makefile,v 1.105 2022/09/11 12:25:23 wiz Exp $
2 2
3DISTNAME= gc-8.2.0 3DISTNAME= gc-8.2.2
4PKGNAME= ${DISTNAME:S/gc/boehm-gc/} 4PKGNAME= ${DISTNAME:S/gc/boehm-gc/}
5PKGREVISION= 1 
6CATEGORIES= devel 5CATEGORIES= devel
7MASTER_SITES= http://www.hboehm.info/gc/gc_source/ 6MASTER_SITES= http://www.hboehm.info/gc/gc_source/
8 7
9MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= https://www.hboehm.info/gc/ 9HOMEPAGE= https://www.hboehm.info/gc/
11COMMENT= Garbage collection and memory leak detection for C and C++ 10COMMENT= Garbage collection and memory leak detection for C and C++
12 11
13USE_TOOLS+= gmake pkg-config 12USE_TOOLS+= gmake pkg-config
14USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
15USE_LIBTOOL= YES 14USE_LIBTOOL= YES
16GNU_CONFIGURE= YES 15GNU_CONFIGURE= YES
17CONFIGURE_ARGS+= --enable-cplusplus 16CONFIGURE_ARGS+= --enable-cplusplus
18CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc 17CONFIGURE_ARGS+= --datadir=${PREFIX}/share/doc
19PKGCONFIG_OVERRIDE= bdw-gc.pc.in 18PKGCONFIG_OVERRIDE= bdw-gc.pc.in
20INSTALLATION_DIRS= ${PKGMANDIR}/man3 19INSTALLATION_DIRS= ${PKGMANDIR}/man3
21 20
22TEST_TARGET= check 21TEST_TARGET= check
23 22
24.include "../../mk/bsd.prefs.mk" 23.include "../../mk/bsd.prefs.mk"
25 24
26.if !empty(MACHINE_PLATFORM:MDarwin-10.6.*) 25.if !empty(MACHINE_PLATFORM:MDarwin-10.6.*)
27CFLAGS+= -D_XOPEN_SOURCE 26CFLAGS+= -D_XOPEN_SOURCE
28.endif 27.endif
29 28
30.include "options.mk" 29.include "options.mk"
31 30
32post-install: 31post-install:
33 ${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
34# as of 8.2.0, these are installed conditionally, but something is wrong - make sure they get installed 33# as of 8.2.0, these are installed conditionally, but something is wrong - make sure they get installed
35 ${INSTALL_DATA} ${WRKSRC}/include/gc_gcj.h ${DESTDIR}${PREFIX}/include/gc 34 ${INSTALL_DATA} ${WRKSRC}/include/gc_gcj.h ${DESTDIR}${PREFIX}/include/gc
36 ${INSTALL_DATA} ${WRKSRC}/include/gc_pthread_redirects.h ${DESTDIR}${PREFIX}/include/gc 35 ${INSTALL_DATA} ${WRKSRC}/include/gc_pthread_redirects.h ${DESTDIR}${PREFIX}/include/gc
37 36
38# historical pkgsrc test target, can be removed in one of the next updates 37# historical pkgsrc test target, can be removed in one of the next updates
39.PHONY: manual-do-test 38.PHONY: manual-do-test
40manual-do-test: 39manual-do-test:
41 cd ${WRKSRC} && \ 40 cd ${WRKSRC} && \
42 ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \ 41 ${RM} -f gctest && ${MAKE_PROGRAM} gctest && ./gctest && \
43 ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10 42 ${RM} -f test_cpp && ${MAKE_PROGRAM} test_cpp && ./test_cpp 10
44 43
45.include "../../devel/libatomic_ops/buildlink3.mk" 44.include "../../devel/libatomic_ops/buildlink3.mk"
46.include "../../mk/bsd.pkg.mk" 45.include "../../mk/bsd.pkg.mk"

cvs diff -r1.21 -r1.22 pkgsrc/devel/boehm-gc/PLIST (switch to unified diff)

--- pkgsrc/devel/boehm-gc/PLIST 2021/11/07 20:59:17 1.21
+++ pkgsrc/devel/boehm-gc/PLIST 2022/09/11 12:25:23 1.22
@@ -1,60 +1,61 @@ @@ -1,60 +1,61 @@
1@comment $NetBSD: PLIST,v 1.21 2021/11/07 20:59:17 wiz Exp $ 1@comment $NetBSD: PLIST,v 1.22 2022/09/11 12:25:23 wiz Exp $
2include/gc.h 2include/gc.h
3include/gc/cord.h 3include/gc/cord.h
4include/gc/cord_pos.h 4include/gc/cord_pos.h
5include/gc/ec.h 5include/gc/ec.h
6include/gc/gc.h 6include/gc/gc.h
7include/gc/gc_allocator.h 7include/gc/gc_allocator.h
8include/gc/gc_backptr.h 8include/gc/gc_backptr.h
9include/gc/gc_config_macros.h 9include/gc/gc_config_macros.h
10include/gc/gc_cpp.h 10include/gc/gc_cpp.h
 11include/gc/gc_disclaim.h
11include/gc/gc_gcj.h 12include/gc/gc_gcj.h
12include/gc/gc_inline.h 13include/gc/gc_inline.h
13include/gc/gc_mark.h 14include/gc/gc_mark.h
14include/gc/gc_pthread_redirects.h 15include/gc/gc_pthread_redirects.h
15include/gc/gc_tiny_fl.h 16include/gc/gc_tiny_fl.h
16include/gc/gc_typed.h 17include/gc/gc_typed.h
17include/gc/gc_version.h 18include/gc/gc_version.h
18include/gc/javaxfc.h 19include/gc/javaxfc.h
19include/gc/leak_detector.h 20include/gc/leak_detector.h
20include/gc_cpp.h 21include/gc_cpp.h
21lib/libcord.la 22lib/libcord.la
22lib/libgc.la 23lib/libgc.la
23lib/libgccpp.la 24lib/libgccpp.la
24lib/libgctba.la 25lib/libgctba.la
25lib/pkgconfig/bdw-gc.pc 26lib/pkgconfig/bdw-gc.pc
26man/man3/gc.3 27man/man3/gc.3
27share/doc/gc/AUTHORS 28share/doc/gc/AUTHORS
28share/doc/gc/README.DGUX386 29share/doc/gc/README.DGUX386
29share/doc/gc/README.Mac 30share/doc/gc/README.Mac
30share/doc/gc/README.OS2 31share/doc/gc/README.OS2
31share/doc/gc/README.amiga 32share/doc/gc/README.amiga
32share/doc/gc/README.arm.cross 33share/doc/gc/README.arm.cross
33share/doc/gc/README.autoconf 34share/doc/gc/README.autoconf
34share/doc/gc/README.cmake 35share/doc/gc/README.cmake
35share/doc/gc/README.cords 36share/doc/gc/README.cords
36share/doc/gc/README.darwin 37share/doc/gc/README.darwin
37share/doc/gc/README.emscripten 38share/doc/gc/README.emscripten
38share/doc/gc/README.environment 39share/doc/gc/README.environment
39share/doc/gc/README.ews4800 40share/doc/gc/README.ews4800
40share/doc/gc/README.hp 41share/doc/gc/README.hp
41share/doc/gc/README.linux 42share/doc/gc/README.linux
42share/doc/gc/README.macros 43share/doc/gc/README.macros
43share/doc/gc/README.md 44share/doc/gc/README.md
44share/doc/gc/README.rs6000 45share/doc/gc/README.rs6000
45share/doc/gc/README.sgi 46share/doc/gc/README.sgi
46share/doc/gc/README.solaris2 47share/doc/gc/README.solaris2
47share/doc/gc/README.symbian 48share/doc/gc/README.symbian
48share/doc/gc/README.uts 49share/doc/gc/README.uts
49share/doc/gc/README.win32 50share/doc/gc/README.win32
50share/doc/gc/README.win64 51share/doc/gc/README.win64
51share/doc/gc/debugging.md 52share/doc/gc/debugging.md
52share/doc/gc/finalization.md 53share/doc/gc/finalization.md
53share/doc/gc/gcdescr.md 54share/doc/gc/gcdescr.md
54share/doc/gc/gcinterface.md 55share/doc/gc/gcinterface.md
55share/doc/gc/leak.md 56share/doc/gc/leak.md
56share/doc/gc/overview.md 57share/doc/gc/overview.md
57share/doc/gc/porting.md 58share/doc/gc/porting.md
58share/doc/gc/scale.md 59share/doc/gc/scale.md
59share/doc/gc/simple_example.md 60share/doc/gc/simple_example.md
60share/doc/gc/tree.md 61share/doc/gc/tree.md

cvs diff -r1.70 -r1.71 pkgsrc/devel/boehm-gc/distinfo (switch to unified diff)

--- pkgsrc/devel/boehm-gc/distinfo 2021/11/07 12:00:37 1.70
+++ pkgsrc/devel/boehm-gc/distinfo 2022/09/11 12:25:23 1.71
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.70 2021/11/07 12:00:37 wiz Exp $ 1$NetBSD: distinfo,v 1.71 2022/09/11 12:25:23 wiz Exp $
2 2
3BLAKE2s (gc-8.2.0.tar.gz) = 387b28001d7356ef92eaa9cf8ff2bd6934a5dd1148919dc3d3af954fce62b67f 3BLAKE2s (gc-8.2.2.tar.gz) = 57342fe55dd708b77796317d106759a34769721b35eb502de90af370e8b8001c
4SHA512 (gc-8.2.0.tar.gz) = ff781360bca667f1f95fbfed073e9035f63134cac1bda4f7e4217664a3713c2846f750a3ce92732972c0435c69355b051f6e8eb6f2698b0d48d9107ff960bacf 4SHA512 (gc-8.2.2.tar.gz) = 4a7b26789ce22ab72bfaadf3029362c5fe26737df1e856e43db7d9b24ee8acf625e35d596bb3f698f91d6a5ddfb6c45a952a1dbd18d47359569696a544c9c248
5Size (gc-8.2.0.tar.gz) = 1183225 bytes 5Size (gc-8.2.2.tar.gz) = 1200115 bytes