Re: Weak tables harmful to GC?

2017-10-24 Thread Ricardo Wurmus
[resending this because it may not have arrived] Ricardo Wurmus writes: > Hi Ludo, > > does this apply to the latest release of Guile 2.2.2? I’ve created this > package definition: > > --8<---cut here---start->8--- > (define-public guile-2.2-awesome > (pack

Re: Weak tables harmful to GC?

2017-10-24 Thread Christopher Allan Webber
Ludovic Courtès writes: > Christopher Allan Webber skribis: > >> Ludovic Courtès writes: >> >>> Also, it no longer displays the pathological behavior shown in >>> . >>> >>> Of course, even better if people could test the two patches and confirm >>> that it works for th

Re: ffi-help: status to date

2017-10-24 Thread Matt Wette
> On Oct 22, 2017, at 11:31 AM, Matt Wette wrote: > > Hi All, > > I am working on a ffi-helper (FH): a program that will read in a C dot-h file > and generate a Guile dot-scm file > which defines a module to provide hooks into the associated C library. > > I was able to generate scm code

Re: libguile-2.2.2 uses tmpnam

2017-10-24 Thread Matt Wette
> On Oct 24, 2017, at 4:47 AM, Jeffrey Walton wrote: > > On Sat, Oct 21, 2017 at 5:05 AM, Jeffrey Walton wrote: >> My apologies for writing about this. I found one previous thread that >> mentioned it, but it was working a clock_t problem. Cf., >> https://lists.gnu.org/archive/html/bug-guile/20

Re: Weak tables harmful to GC?

2017-10-24 Thread Ludovic Courtès
Christopher Allan Webber skribis: > Ludovic Courtès writes: > >> Also, it no longer displays the pathological behavior shown in >> . >> >> Of course, even better if people could test the two patches and confirm >> that it works for them. >> >> Then if there are no obje

Re: Weak tables harmful to GC?

2017-10-24 Thread Christopher Allan Webber
Ludovic Courtès writes: > Also, it no longer displays the pathological behavior shown in > . > > Of course, even better if people could test the two patches and confirm > that it works for them. > > Then if there are no objections I’d like to merge them in ‘stable-2.2’.

Use of assert without NDEBUG

2017-10-24 Thread Jeffrey Walton
Auditing Guile reveals it is using asserts and lacks NDEBUG by default: $ grep -IR assert | grep '\.c' ... libguile/struct.c:#include libguile/struct.c: assert (len % 2 == 0); libguile/weak-set.c:#include libguile/weak-set.c: assert (set->n_items < size); libguile/vports.c:#include libguile/v

Re: Does Guile honor its configuration options and make flags?

2017-10-24 Thread Jeffrey Walton
On Tue, Oct 24, 2017 at 10:31 AM, Jeffrey Walton wrote: > I'm having trouble with some linking. Guile was configured with > --with-pic, and its dependent libraries were built with -fPIC. I'm > building on x86_64, so CFLAGS and CXXFLAGS include "-m64 > -march=native". > ... > Here's part of the scr

Does Guile honor its configuration options and make flags?

2017-10-24 Thread Jeffrey Walton
I'm having trouble with some linking. Guile was configured with --with-pic, and its dependent libraries were built with -fPIC. I'm building on x86_64, so CFLAGS and CXXFLAGS include "-m64 -march=native". My build of Readline installed in /usr/local has -fPIC applied. The same applies to Termcap an

Re: libguile-2.2.2 uses tmpnam

2017-10-24 Thread Roel Janssen
Jeffrey Walton writes: > On Sat, Oct 21, 2017 at 5:05 AM, Jeffrey Walton wrote: >> My apologies for writing about this. I found one previous thread that >> mentioned it, but it was working a clock_t problem. Cf., >> https://lists.gnu.org/archive/html/bug-guile/2011-05/msg00024.html >> ... >> I'm

Re: libguile-2.2.2 uses tmpnam

2017-10-24 Thread Jeffrey Walton
On Sat, Oct 21, 2017 at 5:05 AM, Jeffrey Walton wrote: > My apologies for writing about this. I found one previous thread that > mentioned it, but it was working a clock_t problem. Cf., > https://lists.gnu.org/archive/html/bug-guile/2011-05/msg00024.html > ... > I'm happy to configure libguile to