Re: compilation error on Apple M1

2022-12-26 Thread dsmich
-From: "Damien Mattei" To: "guile-devel" Cc: Sent: Monday December 26 2022 6:13:42AM Subject: Re: compilation error on Apple M1 > sed: -e: No such file or directory The bsd sed is different than gnu sed. There was a few patches sent out a while

Re: a cookbook

2022-02-18 Thread dsmich
> From: "Vijay Marupudi" > To: "Catonano" > Subject: Re: a cookbook >> I'd like to have continuable exceptions covered, though >> >> Those are the main departure of Guile from more widespread exception >> handling solutions and as far as I can tell something similar is available >> only in

Re: a cookbook

2022-02-14 Thread dsmich
> From: "Vijay Marupudi" > To: "Catonano", "guile-devel" > Subject: Re: a cookbook > > Is there any interest/possibility to have such a cookbook hosted > > within the Guile official documentation (as it is for Guix) ? > I personally think that a Cookbook should be an independent effort, > with

Cross compiled guile 3.0.2 "Illegal instruction" on 32bit arm.

2020-04-01 Thread dsmich
I'm attempting to use buildroot to cross compile guile 3.0.2 for 32bit arm (rpi3). Note that guile runs fine with the jit disabled by GUILE_JIT_THRESHOLD=-1 When guile starts, I get an "Illegal instruction". # GUILE_JIT_LOG=3 guile jit: allocated code arena, 0x74f43000-0x74f83000 jit: mcode:

RE: Replace ltdl with GLib's GModule

2020-03-25 Thread dsmich
Looks like (based on ldd output) that it depends on libglib, libpthread, and libpcre beyond all that libltdl also uses. -Dale

Re: Replace ltdl with GLib's GModule

2020-03-25 Thread dsmich
> From: "Duy Nguyen" > > On Wed, Mar 25, 2020 at 5:24 AM Mike Gran wrote: > > > > In a fit of pique, I pushed a new branch of Guile to the repo > > called wip-replace-ltdl-with-gmodule. It replaces the dynamic linking > > library libltdl from libtool with the analagous library GModule > >

Re: MIssing scm_memory_error

2020-02-09 Thread dsmich
Thanks! The replacement for scm_memory_error seems to be scm_report_out_of_memory. Maybe keep SCM_MEMORY_ERROR but have it expand to scm_report_out_of_memory instead? -Dale -From: "Ludovic Courtès" To:

RE: bug#39118: Segfault while building on 64-bit Cygwin

2020-01-24 Thread dsmich
Pretty sure that the missing readline symbol is because the macos readline is being used/found instead of GNU readline. -Dale -From: "John Cowan" To: "Ludovic Courtès" Cc: 39...@debbugs.gnu.org, guile-devel@gnu.org Sent: Friday January 24

RE: MIssing scm_memory_error

2020-01-19 Thread dsmich
Looks like the replacement is scm_report_out_of_memory() -Dale -From: dsm...@roadrunner.com To: "guile-devel@gnu.org" Cc: Sent: Sunday January 19 2020 5:48:10PM Subject: MIssing scm_memory_error In Guile 3.0 (and probably earlier)

MIssing scm_memory_error

2020-01-19 Thread dsmich
In Guile 3.0 (and probably earlier) scm_memory_error has gone away, with no mention of a replacement in NEWS. -Dale

Re: debug enable seems broken in 3.0

2020-01-18 Thread dsmich
From: "Linus Björnstam" * > There is no 'debug options, as the error says. Read more here: https://www.gnu.org/software/guile/manual/html_node/Debug-Options.html [1] Links: -- [1] https://www.gnu.org/software/guile/manual/html_node/Debug-Options.html#index-debug_002denable

debug enable seems broken in 3.0

2020-01-18 Thread dsmich
This ought to work, right? From a fresh 3.0 install from tarball on Debian Buster: $ guile GNU Guile 3.0.0 Copyright (C) 1995-2020 Free Software Foundation, Inc. Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.

Re: %module-public-interface

2020-01-16 Thread dsmich
Thanks Andy! Sneek is much happer now. -Dale -From: "Andy Wingo" To: dsm...@roadrunner.com Cc: "guile-devel@gnu.org" Sent: Wednesday January 15 2020 2:59:53PM Subject: Re: %module-public-interface On Wed 15 Jan 2020 07:50,

%module-public-interface

2020-01-14 Thread dsmich
(Sorry for the non-plain-test formatting, haven't the new mailer interface from Spectrum yet. Ugh.) I'm porting some old code to 3.0 and I've come across this: (define-module (bobotpp bot)) (set-module-uses! %module-public-interface (list (module-ref

RE: GNU Guile 2.9.9 Released [beta]

2020-01-14 Thread dsmich
> We are pleased to announce GNU Guile release 2.9.9. When attempting to build on a Debian Jessie 32bit arm system, gcc (Debian 4.9.2-10+deb8u2) 4.9.2 I'm working on updating this system to Debian Stable, but it might require wiping it and doing a fresh install.

Re: guile 3 update, june 2018 edition

2018-07-17 Thread dsmich
dsm...@roadrunner.com wrote: > Ok! now getting past the "make -j" issue, but I'm still getting a segfault. And now commit e6461cf1b2b63e3ec9a2867731742db552b61b71 has gotten past the segfault. Wooo! -Dale

Re: guile 3 update, june 2018 edition

2018-07-01 Thread dsmich
Ok! now getting past the "make -j" issue, but I'm still getting a segfault. Here is a backtrace from the core dump. Line 25: #25 0x7efeb518b09f in scm_error (key=0x563599bbb120, subr=subr@entry=0x0, message=message@entry=0x7efeb521c0cd "Unbound variable: ~S", args=0x563599f8f260,

Re: guile 3 update, june 2018 edition

2018-06-29 Thread dsmich
Greetings Andy! Andy Wingo wrote: > Hi, > > Just wanted to give an update on Guile 3 developments. Last note was > here: > > https://lists.gnu.org/archive/html/guile-devel/2018-04/msg4.html > > The news is that the VM has been completely converted over to call out > to the Guile

Re: GNU Guile 2.1.5 released (beta)

2016-12-12 Thread dsmich
Matt Wette wrote: > > > On Dec 12, 2016, at 5:45 AM, Matt Wette wrote: > > > > > >> On Dec 11, 2016, at 7:17 AM, Matt Wette >> > wrote: > >> > >> > >>> On Dec 9, 2016, at 7:28 AM, Matt

Re: srfi-1 take and drop seriously broken

2016-11-20 Thread dsmich
Panicz Maciej Godek wrote: > 2016-11-20 11:42 GMT+01:00 Jan Synáček : > > > > > >> Please, tell me that this is just a mistake... This can't be true. I > > >> still can't believe it. This is from 2.0.11. Please, tell me that the > > >>

Re: Current git master build fails on 32bit

2016-06-12 Thread dsmich
dsm...@roadrunner.com wrote: > Git master is failing to build for me. My old 32bit single core machine. > > $ git describe > v2.1.2-164-gc95a193 > Yey! v2.1.2-200-g7142005 is now (mostly) working. However, make -k check is failing in a few places. Handling EOF seems to be a common

Current git master build fails on 32bit

2016-05-23 Thread dsmich
Git master is failing to build for me. My old 32bit single core machine. $ git describe v2.1.2-164-gc95a193 $ gcc --version gcc (Debian 4.9.2-10) 4.9.2 Here is the error: GUILEC language/ecmascript/impl.go wrote `language/ecmascript/impl.go' GUILEC language/ecmascript/base.go

Re: Guile Assembler

2015-06-24 Thread dsmich
Panicz Maciej Godek godek.mac...@gmail.com wrote: 24 cze 2015 10:34 to...@tuxteam.de napisał(a): In addition, the module allows me to use the let and let* forms with multiple values: (let ((a (b c) (values 1 '(2 3 (+ a b c)) Any chance to see that in Guile?

Re: Bug free programs

2014-09-16 Thread dsmich
Ian Grant ian.a.n.gr...@googlemail.com wrote: One may ask what has this to do with scheme? Well, Standard ML can compose scheme or C code just as easily as it can compose assembler code. So a Standard ML functor can define a typed template that will allow one to exchange

Re: MinGW vs. c-api.test

2014-06-10 Thread dsmich
Eli Zaretskii e...@gnu.org wrote: From: David Kastrup d...@gnu.org Date: Tue, 10 Jun 2014 17:56:46 +0200 Eli Zaretskii e...@gnu.org writes: Date: Tue, 10 Jun 2014 10:05:52 +0100 From: Neil Jerram n...@ossau.homelinux.net On 2014-06-09 20:32, l...@gnu.org wrote:

Re: Welcome Mark as new co-maintainer

2014-05-28 Thread dsmich
Ludovic Courtès l...@gnu.org wrote: Hello Guilers, I’m happy to announce that Mark H. Weaver has now been officially appointed as Guile co-maintainer by the GNU Project overseers, along with Andy and myself. Mark has been doing excellent work on Guile for several years, tirelessly

Re: [PATCH 1/2] Fix memory leak on `realloc' failure

2014-04-10 Thread dsmich
kact...@gnu.org wrote: From: Dmitry Bogatov kact...@gnu.org Signed-off-by: Dmitry Bogatov kact...@gnu.org --- libguile/script.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/libguile/script.c b/libguile/script.c index 052ab8d..7b737f7 100644 ---

Re: thinking out loud: wip-rtl, ELF, pages, and mmap

2013-04-24 Thread dsmich
Andy Wingo wi...@pobox.com wrote: ... Then I realized: why am I doing all of this if the kernel has a virtual memory system already that does all this for me? So I have a new plan, I think. I'll change the linker to always emit sections and segments that correspond exactly in their

Re:

2013-04-08 Thread dsmich
dsm...@roadrunner.com wrote: Well Fouey. I thought I'd try building guile on my old mipsel box before the upcoming release. It failed compiling psyntax-pp. Here is the compile output. I don't have a full build log at this time. This was starting from a git clean -dxf at

[no subject]

2013-04-07 Thread dsmich
Well Fouey. I thought I'd try building guile on my old mipsel box before the upcoming release. It failed compiling psyntax-pp. Here is the compile output. I don't have a full build log at this time. This was starting from a git clean -dxf at v2.0.7-321-g254d313 GUILEC ice-9/eval.go

Re: Help required with exporting and using GOOP generics

2013-03-14 Thread dsmich
Mark H Weaver m...@netris.org wrote: The proper solution is as follows: * Every generic function must be defined (using 'define-generic') and exported from one (and only one) module. * Every module that uses a generic function, or adds a method to it (and that includes slot

Re: [PATCH] object-string should return obj immediately while obj is a string

2012-07-03 Thread dsmich
Krister Svanlund adsumm...@gmail.com wrote: Shouldn't the function return a string representing the object.rather than the object itself, even for a string. It should be up to your application to handle if it's a string imho. On Jul 3, 2012 2:42 PM, Nala Ginrut nalagin...@gmail.com

Re: Performance tracking

2012-05-06 Thread dsmich
Ludovic Courtès l...@gnu.org wrote: Hi! dsm...@roadrunner.com skribis: Noah Lavine noah.b.lav...@gmail.com wrote: It appears to me (anecdotally) that most of the build time is spent compiling Scheme code, rather than C code. One idea I had been toying with is whether

Re: Performance tracking

2012-05-05 Thread dsmich
Noah Lavine noah.b.lav...@gmail.com wrote: It appears to me (anecdotally) that most of the build time is spent compiling Scheme code, rather than C code. One idea I had been toying with is whether Guile could compile faster if it had another copy of Guile already around, so it could

Re: GNU Guile branch, master, updated. v2.1.0-102-g0f9f51a

2012-01-14 Thread dsmich
Mark H Weaver m...@netris.org wrote: There's another option: we could properly track the compile-time dependencies of each module, and automatically consider a .go file stale if _any_ of its compile-time dependencies are newer than it. To be more specific: I think we need to record,

Re: The wonders of partial evaluation

2011-09-08 Thread dsmich
Ludovic Courtès l...@gnu.org wrote: Hello! Three days ago I had the chance to attend William Cook’s excellent tutorial on partial evaluation at DSL 2011, called “Build your own partial evaluator in 90 minutes” [0]. A few times 90 minutes later, I am pleased to announce a new

Re: guildhall status

2011-07-15 Thread dsmich
Andy Wingo wi...@pobox.com wrote: Hi, I wanted to bootstrap the guildhall stuff, so last week I started poking at Andreas' excellent dorodango (http://www.nongnu.org/dorodango/). I forked his repo on gitorious, removed a bunch of compat stuff for other implementations, imported

Re: guildhall status

2011-07-15 Thread dsmich
dsm...@roadrunner.com wrote: The test passes with the included git diff. Seems request-host returns a pair instead of a string, so just use the car. Bah. Looks like I hozed attaching it. Another try. -Dale diff --git a/test-suite/tests/web-request.test

Re: possible hash deadlock with recent changes

2011-06-16 Thread dsmich
Andy Wingo wi...@pobox.com wrote: On Sat 07 May 2011 16:58, dsm...@roadrunner.com writes: Recent changes to stable-2.0 seem to cause a deadlock in scwm. Here is the last 10 frames of a backtrace. Fixed. Apologies for the long delay. np! Great Thankfulness is applied. -Dale

Re: possible hash deadlock with recent changes

2011-05-25 Thread dsmich
dsm...@roadrunner.com wrote: Ludovic Courtès l...@gnu.org wrote: Hi, dsm...@roadrunner.com writes: Recent changes to stable-2.0 seem to cause a deadlock in scwm. Here is the last 10 frames of a backtrace. I’m not sure if this is related but there’s this new

Re: pull and recompile for speed

2011-05-09 Thread dsmich
Andy Wingo wi...@pobox.com wrote: Hi, The VM and compiler got a little help this weekend. Pull and recompile your .go files and things should be faster. Sounds great! I'm getting a build failure however. :( $ git describe v2.0.1-53-g5eb75b5 Making all in module make[2]: Entering

Re: pull and recompile for speed

2011-05-09 Thread dsmich
dsm...@roadrunner.com wrote: Andy Wingo wi...@pobox.com wrote: Hi, The VM and compiler got a little help this weekend. Pull and recompile your .go files and things should be faster. Sounds great! I'm getting a build failure however. :( $ git describe

Re: possible hash deadlock with recent changes

2011-05-08 Thread dsmich
Ludovic Courtès l...@gnu.org wrote: Hi, dsm...@roadrunner.com writes: Recent changes to stable-2.0 seem to cause a deadlock in scwm. Here is the last 10 frames of a backtrace. I’m not sure if this is related but there’s this new error that has started happening from time to

possible hash deadlock with recent changes

2011-05-07 Thread dsmich
Recent changes to stable-2.0 seem to cause a deadlock in scwm. Here is the last 10 frames of a backtrace. -Dale (gdb) bt #0 0xb77fa424 in __kernel_vsyscall () #1 0xb734cf02 in __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/lowlevellock.S:142 #2 0xb734839b in

Re: Difference letrec environment binding

2011-04-13 Thread dsmich
Hans Aberg haber...@telia.com wrote: What is the practical difference between the two ways of doing the same thing (letrec or an environment). Is letrec more efficient in the implementation of Guile? Hans (letrec ( (even? (lambda (n) (if (zero? n) #t (odd? (- n 1)

Re: Hi! Interested in GSoC. Feedback on these ideas?

2011-04-07 Thread dsmich
Paul Raccuglia pracc...@haverford.edu wrote: Okay. So I'm settling on the idea of the package manager (not sure what to call it. A CPAN style thingy.) Oh, that's the easy part. ;^) How about gear. Could be something like Guile Extension Archive Repository. Gears are finely machined

Re: proposal: enhance and rename guile-tools

2011-03-21 Thread dsmich
Barry Fishman barry_fish...@acm.org wrote: Andy Wingo wi...@pobox.com writes: On Mon 21 Mar 2011 00:16, l...@gnu.org (Ludovic Courtès) writes: FWIW I’m happy with the verbose name and I fear the joke wouldn’t be to everyone’s taste. I’d also be happy with a shorter name, though.

Error in make check building guile-lib for guile 2.0. trap-enable unbound

2011-03-04 Thread dsmich
Howdy Guilers, As some of you know, I've been slowing bringing scwm back up to speed. I've gotten quite far but the next major hurdle is gtk+, so I am attempting to build and install that. The first thing needed is guile-lib, which builds fine for me from git but has the following error

More detailed examples of ffi

2011-03-03 Thread dsmich
Greetings Guilers! The other day, aidalgol and I were chatting on irc about the new ffi. The question came up about how to define and access nested structures. I couldn't tell from reading the manual if it can be done. Could some more complex examples be put in the manual that more fully

Re: RFC: Arbitrary-precision floats for Guile

2011-02-01 Thread dsmich
Hans Aberg haber...@telia.com wrote: On 1 Feb 2011, at 14:57, Mark H Weaver wrote: I want to add arbitrary-precision floats to Guile. I'd use the mpf_t type from GNU MP. One complication is that we'd have to implement the transcendental functions. However, I already have code

Re: [PATCH] Fix hanging of popen.test

2010-07-01 Thread dsmich
Neil Jerram n...@ossau.uklinux.net wrote: So my hypothesis now is: - some change in the last few months has introduced a dependency of Guile script startup (specifically including the case where Guile is run to generate guile-procedures.texi) on srfi-1.scm - this makes the

Re: wip-array-refactor strikes back

2010-01-07 Thread dsmich
Andy Wingo wi...@pobox.com wrote: Hi! On Thu 07 Jan 2010 21:33, l...@gnu.org (Ludovic Courtès) writes: So, Ludo! You seem to be the one to convince. Can I commit that, and then bytecode-subrs? :) Well, presented this way, I have no other choice but to say yes! ;-) If

Re: BDW-GC branch updated

2009-09-04 Thread dsmich
Andreas Rottmann a.rottm...@gmx.at wrote: l...@gnu.org (Ludovic Courtès) writes: Also, there are definite benefits to using a conservative GC for libguile, given how tightly it can be integrated with C (e.g., [2]). My main concern is/was that by moving to a conservatice GC, and

Re: Unicode ports patch

2009-08-25 Thread dsmich
Mike Gran spk...@yahoo.com wrote: The latest commit 'Add full Unicode capability to ports and the default reader' 889975e51accb80491af76fc5db980aeb3edd342 adds the majority of the functionality for non-ASCII strings. The commit breaks functions that have to do with locale-specific

Current git unitialized vars warnings.

2009-07-01 Thread dsmich
The new vector vm code gives me quite a few possible use uninitialized warnings. On debian Etch: $ gcc --version gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21) Patch attached (I hope). -Dale init-vars.patch Description: Binary data

Re: autocompilation support in master

2009-06-09 Thread dsmich
Mark H Weaver m...@netris.org wrote: On Tue, Jun 09, 2009 at 12:24:48AM +0100, Neil Jerram wrote: GUILE_AUTO_COMPILE=0 ../meta/uninstalled-env guile-tools compile -o language/ecmascript/spec.go language/ecmascript/spec.scm ERROR: Stack overflow This is still happening for me

guile-vm .go files in GUILE_LOAD_PATH

2008-09-17 Thread dsmich
I've been tracking the guile-vm branch lately and had a recent problem. After much head scratching we finally figured out that a previously installed .go file was being used during the buld. We (Andy and I on irc) hacked around it by creating a new environment variable that pre-inst-guile-env

Re: RFD: please drop ChangeLog updates

2008-08-28 Thread dsmich
Han-Wen Nienhuys [EMAIL PROTECTED] wrote: Reasons: * Much more detailed and inherently correct information can be gotten from git log -- libguile/ git log -- test-suite/ etc. * The ChangeLog duplicates the git log information if done correctly. Hence it requires