GNU bug report logs - #49440
[PATCH core-updates]: Compile bdw-gc with support for disclaim procedures

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Tue, 6 Jul 2021 15:01:02 UTC

Severity: normal

Tags: patch

Done: Maxime Devos <maximedevos <at> telenet.be>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Maxime Devos <maximedevos <at> telenet.be>
Subject: bug#49440: closed (Re: [PATCH core-updates]: Compile bdw-gc with
 support for disclaim procedures)
Date: Tue, 06 Sep 2022 11:52:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#49440: [PATCH core-updates]: Compile bdw-gc with support for disclaim procedures

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 49440 <at> debbugs.gnu.org.

-- 
49440: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=49440
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: 49440-done <at> debbugs.gnu.org
Subject: Re: [PATCH core-updates]: Compile bdw-gc with support for disclaim
 procedures
Date: Tue, 6 Sep 2022 13:51:23 +0200
[Message part 3 (text/plain, inline)]
wingo has been working on a new GC for guile that supports ephemerals, 
so I don't think this patch will be necessary anymore.

Closing,
Maxime.

[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]
[Message part 6 (message/rfc822, inline)]
From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Subject: [PATCH core-updates]: Compile bdw-gc with support for disclaim
 procedures
Date: Tue, 06 Jul 2021 17:00:22 +0200
[Message part 7 (text/plain, inline)]
Hi guix,

Disclaim procedures do not seem to be used in the wild,
but seem useful for implementing ephemerons in Guile
(to be investigated), hence this patch.

Guile seems to start building fine when using a bdw-gc packave
with "--enable-disclaim" added (I'm using (package (inherit ...) ...),
but that was on master. I'll verify on core-updates, but building
things will take some time.

Greetings,
Maxime.
[0001-gnu-bdw-gc-Compile-with-support-for-disclaim-procedu.patch (text/x-patch, inline)]
From 34f32618f8f9099eabbd7734337f455aa1c7e150 Mon Sep 17 00:00:00 2001
From: Maxime Devos <maximedevos <at> telenet.be>
Date: Tue, 6 Jul 2021 16:50:39 +0200
Subject: [PATCH core-updates] gnu: bdw-gc: Compile with support for disclaim
 procedures.

Disclaim procedures do not seem to be used in the wild,
but seem useful for implementing ephemerons in Guile
(to be investigated).

* gnu/packages/bdw-gc.scm
  (libgc)[arguments]<#:configure-flags>: Add --enable-disclaim.
---
 gnu/packages/bdw-gc.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/bdw-gc.scm b/gnu/packages/bdw-gc.scm
index 0d82889bac..dfa9a61101 100644
--- a/gnu/packages/bdw-gc.scm
+++ b/gnu/packages/bdw-gc.scm
@@ -4,6 +4,7 @@
 ;;; Copyright © 2016, 2018 Leo Famulari <leo <at> famulari.name>
 ;;; Copyright © 2017 Rene Saavedra <rennes <at> openmailbox.org>
 ;;; Copyright © 2019, 2020 Marius Bakke <mbakke <at> fastmail.com>
+;;; Copyright © 2021 Maxime Devos <maximedevos <at> telenet.be>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,6 +48,9 @@
        ;; Install gc_cpp.h et al.
        "--enable-cplusplus"
 
+       ;; Support GC_finalized_malloc and disclaim procedures.
+       "--enable-disclaim"
+
        ;; Work around <https://github.com/ivmai/bdwgc/issues/353>.
        "--disable-munmap"
 
-- 
2.32.0

[signature.asc (application/pgp-signature, inline)]

This bug report was last modified 2 years and 258 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.