Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 747049 - dev-scheme/guile-2.2.7 on HPPA - continuations.c:305:23: error: 'mra' undeclared (first use in this function)
Summary: dev-scheme/guile-2.2.7 on HPPA - continuations.c:305:23: error: 'mra' undecla...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: HPPA Linux
: Normal normal
Assignee: Scheme Project
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 753308
  Show dependency tree
 
Reported: 2020-10-07 11:49 UTC by Jeroen Roovers (RETIRED)
Modified: 2021-01-01 05:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-scheme:guile-2.2.7:20201007-084951.log (dev-scheme:guile-2.2.7:20201007-084951.log,176.05 KB, text/x-log)
2020-10-07 11:49 UTC, Jeroen Roovers (RETIRED)
Details
guile-2.2.7-continuations-scm_dynthrow-grow_stack.patch (guile-2.2.7-continuations-scm_dynthrow-grow_stack.patch,382 bytes, patch)
2020-10-07 11:54 UTC, Jeroen Roovers (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers (RETIRED) gentoo-dev 2020-10-07 11:49:52 UTC
Created attachment 664165 [details]
dev-scheme:guile-2.2.7:20201007-084951.log

/bin/sh ../libtool  --tag=CC   --mode=compile hppa2.0-unknown-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H   -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/lib/libffi/include  -I/var/tmp/portage/dev-scheme/guile-2.2.7/work/guile-2.2.7  -pthread -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -fno-common -Wno-comment -c -o libguile_2.2_la-continuations.lo `test -f 'continuations.c' || echo './'`continuations.c
libtool: compile:  hppa2.0-unknown-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/lib/libffi/include -I/var/tmp/portage/dev-scheme/guile-2.2.7/work/guile-2.2.7 -pthread -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -fno-common -Wno-comment -c control.c  -fPIC -DPIC -o .libs/libguile_2.2_la-control.o
libtool: compile:  hppa2.0-unknown-linux-gnu-gcc -std=gnu11 -DHAVE_CONFIG_H -DBUILDING_LIBGUILE=1 -I.. -I.. -I../lib -I../lib -I/usr/lib/libffi/include -I/var/tmp/portage/dev-scheme/guile-2.2.7/work/guile-2.2.7 -pthread -Wall -Wmissing-prototypes -Wdeclaration-after-statement -Wpointer-arith -Wswitch-enum -fno-strict-aliasing -fwrapv -fvisibility=hidden -mschedule=8000 -march=2.0 -ggdb -Wall -O2 -pipe -fno-common -Wno-comment -c continuations.c  -fPIC -DPIC -o .libs/libguile_2.2_la-continuations.o
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[3]: *** [Makefile:2844: libguile_2.2_la-continuations.lo] Error 1
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2020-10-07 11:54:09 UTC
Created attachment 664168 [details, diff]
guile-2.2.7-continuations-scm_dynthrow-grow_stack.patch
Comment 2 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-14 00:02:14 UTC
No harm in it, I guess. Is it upstreamed, or not an issue in 3.x?
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-10-26 06:04:26 UTC
(In reply to Sam James from comment #2)
> No harm in it, I guess. Is it upstreamed, or not an issue in 3.x?

https://www.mail-archive.com/guile-devel@gnu.org/msg15502.html

Fixed in the probably-not-going-to-be-released 2.2.8.
Comment 4 Larry the Git Cow gentoo-dev 2021-01-01 05:52:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb97c7de4b112b77e5205b7926bfaf1d38cc733d

commit fb97c7de4b112b77e5205b7926bfaf1d38cc733d
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2021-01-01 05:52:29 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2021-01-01 05:52:29 +0000

    dev-scheme/guile: fix build where stack grows upwards
    
    Closes: https://bugs.gentoo.org/747049
    Package-Manager: Portage-3.0.9, Repoman-3.0.2
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-scheme/guile/files/guile-2.2.7-stack-up.patch | 17 +++++++++++++++++
 dev-scheme/guile/guile-2.2.7.ebuild               |  8 ++++++--
 2 files changed, 23 insertions(+), 2 deletions(-)