From: Neil Jerram <neil@ossau.uklinux.net>
To: ludo@gnu.org (Ludovic Courtès)
Cc: guile-devel@gnu.org
Subject: Re: [PATCH] Fix continuation problems on IA64.
Date: Thu, 08 May 2008 22:29:00 +0100 [thread overview]
Message-ID: <8763tomqn7.fsf@ossau.uklinux.net> (raw)
In-Reply-To: <87y76ksglg.fsf@gnu.org> (Ludovic Courtès's message of "Thu, 08 May 2008 22:09:31 +0200")
ludo@gnu.org (Ludovic Courtès) writes:
> Hi Neil,
>
> Neil Jerram <neil@ossau.uklinux.net> writes:
>
>> FYI, I finally fixed some problems on IA64 that have been outstanding
>> for ages (at least about 2 years). Following is a big spiel about it,
>> and the actual patch (against 1.8.4 release). If anyone has any
>> comments or questions, please let me know. (And if not, I'll commit
>> in a couple of days' time.)
>
> Thanks a lot for fixing this! It just missed 1.8.5 my a few hours (my
> fault).
Huh? How can that have been your fault?
> Hopefully distributions will apply the patch by themselves
> until we release a new version...
Yes, I'll forward it to Debian (who reported it) at least, once it's
committed.
> Thanks also for the nice explanation. I must confess I didn't grasp
> everything (especially since I'm not familiar with IA64 and its RBS
> thing), but I'm confident you did the right thing. ;-)
>
>> + * threads.h (scm_i_thread): New IA64 fields:
>> + register_backing_store_base and pending_rbs_continuation.
>
> This breaks ABI compatibility on IA64, but if Guile wasn't usable on
> IA64 (was it?) that's probably not a problem.
Good point, and I don't think it was completely unusable before, so
this could be an issue. The problems were sufficient to break
Lilypond on IA64, but many simpler programs could have been fine.
Who is ABI compatibility an issue for? If it's only the distros,
we're probably OK, as I believe they won't have promoted something
that failed "make check".
For people building their own Guile libs, can we cover this by a
sentence in the next release notes, to say that programs using
scm_i_thread should be recompiled?
>> + void scm_ia64_longjmp (jmp_buf *, int);
>
> Add `SCM_API' at the beginning and `SCM_NORETURN' at the end. The
> latter should fix this:
>
>> +#ifdef __ia64__
>> + /* On IA64, we #define longjmp as setcontext, and GCC appears not to
>> + know that that doesn't return. */
>> + return SCM_UNSPECIFIED;
>> +#endif
I'm happy with adding SCM_NORETURN; but why the SCM_API? I don't
think a libguile application should call scm_ia64_longjmp itself, so
do not intend to document it.
Thanks for your comments!
Regards,
Neil
next prev parent reply other threads:[~2008-05-08 21:29 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-05-07 23:46 [PATCH] Fix continuation problems on IA64 Neil Jerram
2008-05-08 20:09 ` Ludovic Courtès
2008-05-08 21:29 ` Neil Jerram [this message]
2008-05-09 8:15 ` Ludovic Courtès
2008-05-09 22:19 ` Neil Jerram
2008-05-11 3:06 ` Ludovic Courtès
2008-05-12 21:02 ` Neil Jerram
2008-05-14 3:45 ` Internal visibility Ludovic Courtès
2008-05-27 21:32 ` Ludovic Courtès
2008-05-31 21:23 ` Ludovic Courtès
2008-06-01 8:00 ` Neil Jerram
2008-06-01 11:05 ` Ludovic Courtès
2008-06-01 20:48 ` Neil Jerram
2008-06-01 22:02 ` Ludovic Courtès
2008-06-01 20:24 ` Han-Wen Nienhuys
2008-06-09 18:10 ` Neil Jerram
2008-06-10 1:51 ` Han-Wen Nienhuys
2008-06-10 7:37 ` Ludovic Courtès
2008-06-10 8:04 ` Thien-Thi Nguyen
2008-06-10 12:09 ` Ludovic Courtès
2008-06-11 7:49 ` Thien-Thi Nguyen
2008-06-11 12:20 ` Ludovic Courtès
2008-06-12 20:45 ` Mike Gran
2008-06-23 12:20 ` Ludovic Courtès
2008-06-11 4:05 ` Han-Wen Nienhuys
2008-06-11 7:18 ` Ludovic Courtès
2008-06-11 7:24 ` Clinton Ebadi
2008-06-11 7:39 ` Ludovic Courtès
2008-06-11 16:09 ` Han-Wen Nienhuys
2008-06-23 12:18 ` Ludovic Courtès
2008-06-11 7:37 ` Neil Jerram
2008-05-12 22:18 ` [PATCH] Fix continuation problems on IA64 Neil Jerram
2008-05-14 2:55 ` 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=8763tomqn7.fsf@ossau.uklinux.net \
--to=neil@ossau.uklinux.net \
--cc=guile-devel@gnu.org \
--cc=ludo@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).