From bf1a9efe70175466fa56f2163689cea6e0b44821 Mon Sep 17 00:00:00 2001 From: Ivan Maidanski Date: Thu, 7 Oct 2021 09:22:51 +0300 Subject: bdwgc: upgrade 8.0.4 -> 8.0.6 Highlights of this upgrade: * Fix 'undefined reference to __data_start' linker error on risc-v * Fix data race in generic_malloc_many * Fix handling of areas smaller than page size in GC_scratch_recycle * Fix misaligned tlfs passed to AO_load on m68k * Fix overflow of scratch_free_ptr value * Limit number of unmapped regions (to avoid exceeding of vm.max_map_count) See the following for detailed changes: * https://github.com/ivmai/bdwgc/releases/tag/v8.0.6 The LIC_FILES_CHKSUM has changed because of update of copyright year (in README.QUICK). Signed-off-by: Ivan Maidanski Signed-off-by: Khem Raj (cherry picked from commit 6e5cbf871188c5bf6ea5c708203553530b986ee4) Signed-off-by: Armin Kuster --- meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb | 39 ---------------------------- meta-oe/recipes-support/bdwgc/bdwgc_8.0.6.bb | 39 ++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+), 39 deletions(-) delete mode 100644 meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb create mode 100644 meta-oe/recipes-support/bdwgc/bdwgc_8.0.6.bb diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb deleted file mode 100644 index b478b86bae..0000000000 --- a/meta-oe/recipes-support/bdwgc/bdwgc_8.0.4.bb +++ /dev/null @@ -1,39 +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 = "http://www.hboehm.info/gc/" -SECTION = "devel" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://README.QUICK;md5=81b447d779e278628c843aef92f088fa" - -DEPENDS = "libatomic-ops" - -SRCREV = "d3dede3ce4462cd82a15f161af797ca51654546a" -SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_0" - -S = "${WORKDIR}/git" - -inherit autotools pkgconfig - -EXTRA_OECONF += "--enable-cpluscplus" - -CFLAGS:append:libc-musl = " -D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR" - -FILES:${PN}-doc = "${datadir}" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta-oe/recipes-support/bdwgc/bdwgc_8.0.6.bb b/meta-oe/recipes-support/bdwgc/bdwgc_8.0.6.bb new file mode 100644 index 0000000000..391fc87519 --- /dev/null +++ b/meta-oe/recipes-support/bdwgc/bdwgc_8.0.6.bb @@ -0,0 +1,39 @@ +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 = "http://www.hboehm.info/gc/" +SECTION = "devel" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://README.QUICK;md5=e3d68fff6b0c661d949d8df559fdc78f" + +DEPENDS = "libatomic-ops" + +SRCREV = "3e1477b72ef4329a196d67b74da4cbe274d04eff" +SRC_URI = "git://github.com/ivmai/bdwgc.git;branch=release-8_0" + +S = "${WORKDIR}/git" + +inherit autotools pkgconfig + +EXTRA_OECONF += "--enable-cpluscplus" + +CFLAGS:append:libc-musl = " -D_GNU_SOURCE -DNO_GETCONTEXT -DSEARCH_FOR_DATA_START -DUSE_MMAP -DHAVE_DL_ITERATE_PHDR" + +FILES:${PN}-doc = "${datadir}" + +BBCLASSEXTEND = "native nativesdk" -- cgit 1.2.3-korg