From: Neil Jerram <neil@ossau.uklinux.net>
Cc: Guile Users <guile-user@gnu.org>
Subject: Re: alloca bug
Date: Tue, 12 Dec 2006 21:44:57 +0000 [thread overview]
Message-ID: <87psaopz52.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <457855E1.3070807@fastmail.fm> (Jon Wilson's message of "Thu, 07 Dec 2006 11:56:49 -0600")
Jon Wilson <j85wilson@fastmail.fm> writes:
> Hi,
> So it looks like the blob in libguile/eval.c (lines 40-56) from the
> autoconf manual to define alloca doesn't work on BSD systems. This is
> in guile 1.8.1.
One thing to be aware of is that the so-called "portable"
implementation of alloca() in alloca.c just doesn't work with Guile,
because it doesn't really allocate memory on the stack.
In fact, alloca.c was removed for this reason in 2004:
2004-09-08 Marius Vollmer <marius.vollmer@uni-dortmund.de>
* Makefile.am (EXTRA_libguile_la_SOURCES): Removed "alloca.c".
Does anyone know what caused it to reappear? ChangeLog doesn't reveal
anything.
Guile fundamentally requires a real alloca, which means it has to be a
compiler builtin.
Regards,
Neil
_______________________________________________
Guile-user mailing list
Guile-user@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-user
next prev parent reply other threads:[~2006-12-12 21:44 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-12-07 17:56 alloca bug Jon Wilson
2006-12-07 19:38 ` Kevin Ryde
2006-12-11 15:58 ` Jon Wilson
2006-12-11 15:59 ` Jon Wilson
[not found] ` <45788ABD.8020901@fastmail.fm>
2006-12-11 16:00 ` Jon Wilson
2006-12-12 21:44 ` Neil Jerram [this message]
2006-12-12 21:55 ` Jon Wilson
2006-12-12 23:24 ` Kevin Ryde
2006-12-13 5:12 ` Jon Wilson
2006-12-31 11:23 ` Neil Jerram
2007-01-01 22:22 ` Kevin Ryde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87psaopz52.fsf@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).