From: Andy Wingo <wingo@pobox.com>
To: Neil Jerram <neil@ossau.uklinux.net>
Cc: guile-devel <guile-devel@gnu.org>
Subject: Re: request review: branch "wingo"
Date: Fri, 03 Apr 2009 10:51:35 -0700 [thread overview]
Message-ID: <m3prftr5g8.fsf@pobox.com> (raw)
In-Reply-To: <87fxgtnulh.fsf@arudy.ossau.uklinux.net> (Neil Jerram's message of "Wed, 01 Apr 2009 00:25:14 +0100")
Howdy howdy,
On Tue 31 Mar 2009 16:25, Neil Jerram <neil@ossau.uklinux.net> writes:
> - On the other hand, it does feel slightly incourteous, and the
> argument about master being broken sounds like nonsense - because
> everyone has their own local branches, and AFAIK there is never any
> need to push those apart from for publication purposes. (Is there?)
Yeah, my apologies.
By way of explanation though perhaps not justification, I was getting to
the point at work where I wanted to tell folks to add Guile to the
autobuilding set of dependencies -- but I had to give them a pointer to
a branch that worked, and preferred that that branch be `master'.
Anyway. Apologies again, and hopefully we won't go through this again
any time soon.
>>> What's the idea of the numerical args? Should RLIMIT_XXX be defined
>>> somewhere as Scheme-level integers?
>>
>> Uf, dunno. Now that I look at this again I'm not sure. We should
>> probably just have RLIM_* and not the symbols, right? Easier for tab
>> completion in any case...
>
> I personally like the symbols, but precedent (e.g. socket, bind etc.)
> would favour just the integer constants. If the constants are also
> better for completion, I guess that clinches it. :-)
Yeah I guess so ;) I'll get to that soon, and document and add a NEWS
entry.
> I'm favouring 80% getrlimit now because I don't think Guile (and I)
> have really benefitted from the time spent investigating stack
> overflows recently, OK, so we are familiar in more detail with some
> platforms using more stack than others, but that's not that
> interesting and the time would probably have been better spent on
> something else... so let's try not to have to do any more of this in
> future.
>
> So my concern now is are there platforms that don't provide getrlimit
> (or equivalent)? If not, I'm happy to rip out all the stack
> calibration stuff; but if there are, don't we still need to keep it as
> a fallback option?
I went ahead and pushed an 80%-only patch, as you suggest.
All UNIX systems that I know of have getrlimit. Windows does not of
course, but it seems that their stack limit is hard-coded:
http://www.mapleprimes.com/forum/stack_limit
In any case, it seems that when Windows people bump up against this
limit they'll let us know and we can send them looking for the right
#define.
>>> - fix "linking" of guile-config
>>>
>>> I don't understand the problem here. In what way was @bindir@ not
>>> fully expanded?
>>
>> Because it was a make variable and not a shell variable, so it expanded
>> to ${exec_prefix}/bin. (There was code in the Makefile.am before to sed
>> in the variables at make-time instead of configure-time, but I had
>> removed it to simplify things.)
>
> Should we then put the Makefile.am code back? Or does that break your
> uninstalled usage? Other things being equal, I think it's more
> important for the generated guile-config to be simple, than for our
> Makefile.am to be simple.
Perhaps we can just change guile-config to use pkg-config instead, as
noted in the other thread. That will remove the need for the "linking"
as the installed vs uninstalled case should be handled by pkg-config.
Cheers,
Andy
--
http://wingolog.org/
next prev parent reply other threads:[~2009-04-03 17:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-27 23:29 request review: branch "wingo" Andy Wingo
2009-03-29 6:20 ` Andy Wingo
2009-03-29 21:16 ` Neil Jerram
2009-03-30 21:39 ` Neil Jerram
2009-03-31 3:31 ` Andy Wingo
2009-03-31 23:25 ` Neil Jerram
2009-04-01 7:49 ` Ludovic Courtès
2009-04-01 13:46 ` Greg Troxel
2009-04-01 22:23 ` Neil Jerram
2009-04-03 17:24 ` Andy Wingo
2009-04-03 17:51 ` Andy Wingo [this message]
2009-04-12 13:00 ` Neil Jerram
2009-03-31 16:38 ` Ludovic Courtès
2009-03-31 19:11 ` Andy Wingo
2009-03-31 21:31 ` Ludovic Courtès
2009-03-31 22:47 ` Andy Wingo
2009-04-01 7:51 ` Ludovic Courtès
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=m3prftr5g8.fsf@pobox.com \
--to=wingo@pobox.com \
--cc=guile-devel@gnu.org \
--cc=neil@ossau.uklinux.net \
/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).