Package: gforth
Version: 0.7.3+dfsg-4
Tags: patch

gforth FTBFS on the hppa/parisc architecture:
https://buildd.debian.org/status/fetch.php?pkg=gforth&arch=hppa&ver=0.7.3%2Bdfsg-4&stamp=1483961712

There are two bugs which prevent a successful build.
a) Assembler errors: Error: Field out of range [-8192..8191] (9440).
b) a bug in glibc's longjmp() function on hppa/parisc.

Attached is a patch which fixes problem a.
The longjmp bug is being addressed in a separate bug and will be fixed 
independently. 

Can you please apply the attached patch to the next upload of gforth ?

Thanks,
Helge
diff -up ./gforth-0.7.3+dfsg/configure.in.org ./gforth-0.7.3+dfsg/configure.in
--- ./gforth-0.7.3+dfsg/configure.in.org        2017-01-09 23:13:41.937367202 
+0100
+++ ./gforth-0.7.3+dfsg/configure.in    2017-01-09 23:14:21.161066311 +0100
@@ -233,6 +233,9 @@ case "$host_cpu" in
                machine=hppa
                AC_LIBOBJ(../arch/hppa/cache)
                LIBS="$LIBS -L/lib/pa1.1/"
+               test "$skipcode" || skipcode="nop"
+               #".skip 16" passes the test below,
+               # but gives an assembler error in engine
                ;;
        sparc*)
                machine=sparc

Reply via email to