unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
To: guile-devel@gnu.org
Cc: wingo@igalia.com, deller@gmx.de, dave.anglin@bell.net
Subject: Re: [PATCH, v2] Fix build on platforms where the stack grows upwards
Date: Wed, 22 Jul 2020 23:54:54 +0200	[thread overview]
Message-ID: <faf79adc-5388-cb9f-8708-97b7d100dffb@physik.fu-berlin.de> (raw)
In-Reply-To: <20200204121152.3335558-1-glaubitz@physik.fu-berlin.de>

Hello!

On 2/4/20 1:11 PM, John Paul Adrian Glaubitz wrote:
> diff --git a/libguile/continuations.c b/libguile/continuations.c
> index 3f86c6bd4..67a47d38c 100644
> --- a/libguile/continuations.c
> +++ b/libguile/continuations.c
> @@ -323,7 +323,7 @@ scm_dynthrow (SCM cont, uint8_t *mra)
>  
>  #if SCM_STACK_GROWS_UP
>    if (dst + continuation->num_stack_items >= &stack_top_element)
> -    grow_stack (cont);
> +    grow_stack (cont, mra);
>  #else
>    dst -= continuation->num_stack_items;
>    if (dst <= &stack_top_element)

Looks like this was just broken again in 2.2.7 on hppa [1]:

continuations.c: In function 'scm_dynthrow':
continuations.c:305:23: error: 'mra' undeclared (first use in this function)
  305 |     grow_stack (cont, mra);
      |                       ^~~
continuations.c:305:23: note: each undeclared identifier is reported only once for each function it appears in
continuations.c:305:5: error: too many arguments to function 'grow_stack'
  305 |     grow_stack (cont, mra);
      |     ^~~~~~~~~~
continuations.c:237:1: note: declared here
  237 | grow_stack (SCM cont)
      | ^~~~~~~~~~
make[4]: *** [Makefile:2844: libguile_2.2_la-continuations.lo] Error 1
make[4]: *** Waiting for unfinished jobs....

I just saw it was already fixed for 2.2.8 but that hasn't been released yet [2] :(.

Adrian

> [1] https://buildd.debian.org/status/fetch.php?pkg=guile-2.2&arch=hppa&ver=2.2.7%2B1-1&stamp=1584637426&raw=0
> [2] http://git.savannah.gnu.org/cgit/guile.git/commit/?h=stable-2.2&id=7839dc444b94568579c510737bc358fa6f4470ee

-- 
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz@debian.org
`. `'   Freie Universitaet Berlin - glaubitz@physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913



      parent reply	other threads:[~2020-07-22 21:54 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-04 12:11 [PATCH, v2] Fix build on platforms where the stack grows upwards John Paul Adrian Glaubitz
2020-02-08 14:07 ` Ludovic Courtès
2020-03-10 22:58   ` John David Anglin
2020-03-13 16:29     ` Andy Wingo
2020-03-13 17:17       ` John David Anglin
2020-07-22 21:54 ` John Paul Adrian Glaubitz [this message]

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=faf79adc-5388-cb9f-8708-97b7d100dffb@physik.fu-berlin.de \
    --to=glaubitz@physik.fu-berlin.de \
    --cc=dave.anglin@bell.net \
    --cc=deller@gmx.de \
    --cc=guile-devel@gnu.org \
    --cc=wingo@igalia.com \
    /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).