pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/boehm-gc boehm-gc: update to 8.0.2.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/7003eb309653
branches:  trunk
changeset: 319475:7003eb309653
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Feb 13 20:32:03 2019 +0000

description:
boehm-gc: update to 8.0.2.

== [8.0.2] 2018-12-23 ==

* Abort with appropriate message if executable pages cannot be allocated
* Add initial testing of GC_enable/disable, MALLOC[_ATOMIC]_IGNORE_OFF_PAGE
* Add paths to filenames mentioned in the copyright section in README
* Add test using disclaim notifiers to implement a weak map
* Adjust #error messages format
* Allow to force executable pages allocation in gctest
* Avoid potential 'macro redefinition' errors for config.h macros
* Call real pthread_sigmask instead of its wrapper in start_mark_threads
* Check result of pthread_mutex_unlock in specific.c
* Default to a single-threaded build for Nintendo, Orbis, Sony PSP targets
* Default to non-executable memory allocation across all make scripts
* Define GC_ATOMIC_UNCOLLECTABLE and JAVA_FINALIZATION in all make scripts
* Do not prevent GC from looking at environment variables (BCC_MAKEFILE)
* Do not use 'ifndef AO_CLEAR' in mark, pthread_support and gctest
* Do not use spin locks if AO test-and-set is emulated (pthreads)
* Document HANDLE_FORK macro optional usage in Makefile.direct
* Document assertion in the setters that used to return old value
* Eliminate 'assigned value never used' compiler warning in test_cpp WinMain
* Eliminate 'casting signed to bigger unsigned int' CSA warning
* Eliminate 'different const qualifiers' MS VC warnings in cordbscs
* Eliminate 'function is never used' cppcheck warning for calloc/realloc
* Eliminate 'non-virtual destructor for class with inheritors' CSA warning
* Eliminate 'pointer targets differ in signedness' compiler warning (Win32)
* Eliminate 'struct member is never used' cppcheck warnings in os_dep
* Eliminate 'uninitialized var' cppcheck false positive in mach_dep, os_dep
* Eliminate 'unreferenced formal parameter' compiler warning in msvc_dbg
* Eliminate redundant check in backwards_height
* Fix 'USE_MUNMAP macro redefinition' error for NaCl
* Fix 'collecting from unknown thread' abort in leak-finding mode for Win32
* Fix 'mprotect remapping failed' abort on NetBSD with PaX enabled
* Fix 'too wide non-owner permissions are set for resource' code defect
* Fix GC_VSNPRINTF in cordprnt for DJGPP and MS VC for WinCE
* Fix GC_register_disclaim_proc for leak-finding mode
* Fix a deadlock in write_fault_handler if AO_or is emulated
* Fix comment typo in CMakeLists.txt
* Fix concurrent bitmap update in GC_dirty
* Fix deadlocks in write and suspend handlers if AO test-and-set is emulated
* Fix executable memory allocation in GC_unix_get_mem
* Fix hbp overflow in GC_install_counts
* Fix linkage with a system libatomic_ops shared library
* Fix lock assertion violation in get_index if GC_ALWAYS_MULTITHREADED
* Fix marking of finalizer closure object
* Fix marks and hb_n_marks consistency when disclaim returns true
* Fix memory allocation on GCF (Linux/x64)
* Fix missing curses.h in cord/de when compiling manually (MS VC, MinGW)
* Fix test_cpp assertion violation in find-leak mode
* Fix tests linkage with internal atomic_ops.o
* Fix unneeded end_stubborn_change/ptr_store_and_dirty in disclaim_test
* Guard against potential buffer overflow in CORD_next and CORD_pos_fetch
* New macro to suppress printing of leaked objects
* Pass -Wall -Wextra -Wpedantic to g++ if supported (configure)
* Prefix internal durango_get_mem symbol with 'GC_'
* Prevent double inclusion of javaxfc.h and private/specific.h
* Print relevant message in tests not appropriate for leak detection mode
* Reduce scope of local variables in GC_remove_all_threads_but_me
* Refine HIDE_POINTER documentation for the case of the leak-finding mode
* Refine documentation in gc_disclaim.h
* Remove extra USE_MMAP definition for Interix
* Remove redundant header double-inclusion checks in the private headers
* Remove strlen calls with a constant string argument in msvc_dbg
* Specify register_disclaim_proc and finalized_malloc argument as non-null
* Support UWP/arm64 target
* Test marking of finalizer closure object in disclaim_test
* Turn off leak detection mode explicitly in cord/de
* Turn off parallel marker, thread-local allocation if used AO ops emulated
* Turn on gcj functionality in BCC, DMC, NT, OS/2, WCC makefiles
* Turn on memory unmapping in BCC/DMC/NT/WCC makefiles and Makefile.direct
* Update NO_EXECUTE_PERMISSION documentation
* Update documentation about arm64 ABI in gcconfig.h
* Use AO_or in async_set_pht_entry_from_index if available
* Use GC_WORD_MAX macro across all C source files
* Use macro to operate on a flag residing in GC_stop_count
* Use standalone private macro to guard against ptr_t redefinition
* Workaround '#error' cppcheck messages in backgraph and private headers
* Workaround 'AST broken' syntax error reported by cppcheck in GC_mark_some
* Workaround 'GC_dump function is never used' cppcheck warning
* Workaround 'local address assignment to a global variable' CSA warning
* Workaround 'local variable end shadows outer symbol' cppcheck warnings
* Workaround 'local variable obj_displ shadows outer symbol' cppcheck warning
* Workaround 'nonlocal var will use ptr to local var' cppcheck false positive
* Workaround 'pointer addition with NULL pointer' cppcheck error in msvc_dbg
* Workaround 'potential non-terminated string' false positive in cordbscs
* Workaround 'value of _MAX_PATH is unknown' cppcheck warning
* Workaround cppcheck warnings regarding CLOCKS_PER_SEC, REDIRECT_REALLOC

diffstat:

 devel/boehm-gc/Makefile                |   5 ++---
 devel/boehm-gc/distinfo                |  11 +++++------
 devel/boehm-gc/patches/patch-os__dep.c |  19 -------------------
 3 files changed, 7 insertions(+), 28 deletions(-)

diffs (53 lines):

diff -r e3e17b3dbb82 -r 7003eb309653 devel/boehm-gc/Makefile
--- a/devel/boehm-gc/Makefile   Wed Feb 13 20:30:05 2019 +0000
+++ b/devel/boehm-gc/Makefile   Wed Feb 13 20:32:03 2019 +0000
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.97 2018/12/20 23:55:24 wiz Exp $
+# $NetBSD: Makefile,v 1.98 2019/02/13 20:32:03 wiz Exp $
 
-DISTNAME=      gc-8.0.0
+DISTNAME=      gc-8.0.2
 PKGNAME=       ${DISTNAME:S/gc/boehm-gc/}
-PKGREVISION=   2
 CATEGORIES=    devel
 MASTER_SITES=  http://www.hboehm.info/gc/gc_source/
 
diff -r e3e17b3dbb82 -r 7003eb309653 devel/boehm-gc/distinfo
--- a/devel/boehm-gc/distinfo   Wed Feb 13 20:30:05 2019 +0000
+++ b/devel/boehm-gc/distinfo   Wed Feb 13 20:32:03 2019 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.64 2018/12/20 23:55:24 wiz Exp $
+$NetBSD: distinfo,v 1.65 2019/02/13 20:32:03 wiz Exp $
 
-SHA1 (gc-8.0.0.tar.gz) = bfb22367b95c796f2248b41405d37388027fe382
-RMD160 (gc-8.0.0.tar.gz) = 3c2e3a5b8b706d8f359528208bf95e4177b50ce6
-SHA512 (gc-8.0.0.tar.gz) = 133b3b96014c20736c5d89fd85f3a94c59a335238d55e1a03db47debee91b5118ede6bd4260c31fe0dde623b7fd3da29d1b8fb86b5de6048183eca6c269d32da
-Size (gc-8.0.0.tar.gz) = 1138310 bytes
-SHA1 (patch-os__dep.c) = 9d7b4ce081bf16ff51212176f291a4e1b2119308
+SHA1 (gc-8.0.2.tar.gz) = 570750e6854d5be87e85f965735932d24f75ab39
+RMD160 (gc-8.0.2.tar.gz) = f0fcc3c6136bb148127d569554766a6f2fdc41b2
+SHA512 (gc-8.0.2.tar.gz) = b1401abb2e82b143b9a2a9013f5b2efa4015b256e7ea8ef2c897ef3c0d2d41fc893413bf6a49efc1845018e8ab823adb485fb3358eb47715982259ace9ffd7c6
+Size (gc-8.0.2.tar.gz) = 1159207 bytes
diff -r e3e17b3dbb82 -r 7003eb309653 devel/boehm-gc/patches/patch-os__dep.c
--- a/devel/boehm-gc/patches/patch-os__dep.c    Wed Feb 13 20:30:05 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,19 +0,0 @@
-$NetBSD: patch-os__dep.c,v 1.1 2018/12/20 23:55:25 wiz Exp $
-
-Fix NetBSD PaX case.
-https://github.com/ivmai/bdwgc/commit/f70a2fe9058f655bb75759f7b9ec534fa27ca949
-
---- os_dep.c.orig      2018-09-05 07:37:07.000000000 +0000
-+++ os_dep.c
-@@ -2632,8 +2632,10 @@ GC_INNER void GC_remap(ptr_t start, size
- #   else
-       /* It was already remapped with PROT_NONE. */
-       {
--#       ifdef NACL
-+#       if defined(NACL) || defined(NETBSD)
-           /* NaCl does not expose mprotect, but mmap should work fine.  */
-+          /* In case of NetBSD, mprotect fails (unlike mmap) even       */
-+          /* without PROT_EXEC if PaX MPROTECT feature is enabled.      */
-           void *result = mmap(start_addr, len, (PROT_READ | PROT_WRITE)
-                                     | (GC_pages_executable ? PROT_EXEC : 0),
-                                    MAP_PRIVATE | MAP_FIXED | OPT_MAP_ANON,



Home | Main Index | Thread Index | Old Index