From 06036e6a71c017788c55b0fa7a823115b6ba1482 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Thu, 19 Sep 2024 11:31:46 +0800 Subject: bdwgc: upgrade 8.2.6 -> 8.2.8 Chaneglog: ========= * Allow GC_size() argument to be null * Disable backtrace saving at garbage collections if DONT_SAVE_TO_LAST_STACK * Eliminate 'cast signed to bigger unsigned' CSA warnings in GC_find_limit * Eliminate 'x might be clobbered by longjmp' gcc warning in setjmp_t.c * Fix 'un-mprotect vdb failed' abort with out-of-memory reason on Linux * Fix ADD_CALL_CHAIN() placement to follow GC_store_debug_info_inner call * Fix GC_debug_realloc to support custom kind * Fix GC_is_visible for case of arg pointing exactly to object upper bound * Fix GC_print_trace_inner to print the last element of the circular buffer * Fix cordtst2.tmp file deletion in cordtest on Windows * Fix double lock in GC_malloc called from backtrace() * Fix handling of page-unaligned boundaries in soft_set_grungy_pages * Fix heap blocks size computation by GC_get_memory_use * Fix indent of a closing curly braces in GC_apply_to_all_blocks * Fix infinite resend lost signals if a thread is restarted by SIGQUIT * Fix null pointer dereference in GC_is_visible if type_descr is null * Fix per_object_helper() after changing hb_sz units * Fix pointer relational comparison in GC_do_enumerate_reachable_objects * Fix poor thread-local allocation performance because of double EXTRA_BYTES * Fix potential GC_add_roots_inner call with an overflowed pointer (Win32) * Fix potential address overflow in GC_add_to_heap * Fix potential buffer overrun during read in GC_text_mapping * Fix various typos in comments * Prevent GC_noop_sink from scanning by the collector * Prevent redirected malloc call from a garbage collection routine * Redirect malloc_usable_size() in leak_detector.h * Remove redundant dirty/reachable_here calls in GC_malloc_explicitly_typed * Update and fix diagrams describing the tree structure for pointer lookups * Use atomic store to set GC_first_nonempty in GC_do_parallel_mark * Use atomic store to set entry id and update cache_ptr in slow_getspecific * Workaround '.obj file not found' error reported by watcom wlib Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj Signed-off-by: Armin Kuster --- meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb | 37 ---------------------------- meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb | 37 ++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 37 deletions(-) delete mode 100644 meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb create mode 100644 meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb deleted file mode 100644 index a5a7a63657..0000000000 --- a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.6.bb +++ /dev/null @@ -1,37 +0,0 @@ -SUMMARY = "A garbage collector for C and C++" - -DESCRIPTION = "The Boehm-Demers-Weiser conservative garbage collector can be\ - used as a garbage collecting replacement for C malloc or C++ new. It allows\ - you to allocate memory basically as you normally would, without explicitly\ - deallocating memory that is no longer useful. The collector automatically\ - recycles memory when it determines that it can no longer be otherwise\ - accessed.\ - The collector is also used by a number of programming language\ - implementations that either use C as intermediate code, want to facilitate\ - easier interoperation with C libraries, or just prefer the simple collector\ - interface.\ - Alternatively, the garbage collector may be used as a leak detector for C\ - or C++ programs, though that is not its primary goal.\ - Empirically, this collector works with most unmodified C programs, simply\ - by replacing malloc with GC_malloc calls, replacing realloc with GC_realloc\ - calls, and removing free calls." - -HOMEPAGE = "https://www.hboehm.info/gc/" -SECTION = "devel" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README.QUICK;md5=dd27361ad00943bb27bc3e0589037075" - -DEPENDS = "libatomic-ops" - -SRCREV = "e340b2e869e02718de9c9d7fa440ef4b35785388" -SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig - -EXTRA_OECONF += "--enable-cplusplus" - -FILES:${PN}-doc = "${datadir}" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb new file mode 100644 index 0000000000..fe51c1029d --- /dev/null +++ b/meta-oe/recipes-support/bdwgc/bdwgc_8.2.8.bb @@ -0,0 +1,37 @@ +SUMMARY = "A garbage collector for C and C++" + +DESCRIPTION = "The Boehm-Demers-Weiser conservative garbage collector can be\ + used as a garbage collecting replacement for C malloc or C++ new. It allows\ + you to allocate memory basically as you normally would, without explicitly\ + deallocating memory that is no longer useful. The collector automatically\ + recycles memory when it determines that it can no longer be otherwise\ + accessed.\ + The collector is also used by a number of programming language\ + implementations that either use C as intermediate code, want to facilitate\ + easier interoperation with C libraries, or just prefer the simple collector\ + interface.\ + Alternatively, the garbage collector may be used as a leak detector for C\ + or C++ programs, though that is not its primary goal.\ + Empirically, this collector works with most unmodified C programs, simply\ + by replacing malloc with GC_malloc calls, replacing realloc with GC_realloc\ + calls, and removing free calls." + +HOMEPAGE = "https://www.hboehm.info/gc/" +SECTION = "devel" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.QUICK;md5=dd27361ad00943bb27bc3e0589037075" + +DEPENDS = "libatomic-ops" + +SRCREV = "ee59af3722e56de8404de6cd0c21c2493cc4d855" +SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_2;protocol=https" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +EXTRA_OECONF += "--enable-cplusplus" + +FILES:${PN}-doc = "${datadir}" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf