From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: John Paul Adrian Glaubitz Newsgroups: gmane.lisp.guile.devel,gmane.linux.debian.ports.hppa Subject: Re: Removal of hppa support Date: Tue, 4 Feb 2020 12:02:49 +0100 Message-ID: References: <38f5a373-58b0-6f13-003f-bed60c4de731@physik.fu-berlin.de> <87eevkgaw7.fsf@igalia.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="59192"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: Helge Deller , John David Anglin , guile-devel@gnu.org, "debian-hppa@lists.debian.org" To: Andy Wingo , William ML Leslie Original-X-From: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Tue Feb 04 12:03:16 2020 Return-path: Envelope-to: guile-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1iyvz9-000FGO-Jl for guile-devel@m.gmane-mx.org; Tue, 04 Feb 2020 12:03:15 +0100 Original-Received: from localhost ([::1]:56276 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyvz8-0004ri-E0 for guile-devel@m.gmane-mx.org; Tue, 04 Feb 2020 06:03:14 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60159) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyvyx-0004rS-At for guile-devel@gnu.org; Tue, 04 Feb 2020 06:03:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyvyv-0000cS-QT for guile-devel@gnu.org; Tue, 04 Feb 2020 06:03:03 -0500 Original-Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]:35313) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iyvyv-0000PV-IB for guile-devel@gnu.org; Tue, 04 Feb 2020 06:03:01 -0500 Original-Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost.zedat.fu-berlin.de (Exim 4.85) with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (envelope-from ) id <1iyvyp-003r68-OH>; Tue, 04 Feb 2020 12:02:55 +0100 Original-Received: from p57bd9f0e.dip0.t-ipconnect.de ([87.189.159.14] helo=[192.168.178.139]) by inpost2.zedat.fu-berlin.de (Exim 4.85) with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (envelope-from ) id <1iyvyk-000gV2-9f>; Tue, 04 Feb 2020 12:02:55 +0100 Autocrypt: addr=glaubitz@physik.fu-berlin.de; keydata= mQINBE3JE9wBEADMrYGNfz3oz6XLw9XcWvuIxIlPWoTyw9BxTicfGAv0d87wngs9U+d52t/R EggPePf34gb7/k8FBY1IgyxnZEB5NxUb1WtW0M3GUxpPx6gBZqOm7SK1ZW3oSORw+T7Aezl3 Zq4Nr4Nptqx7fnLpXfRDs5iYO/GX8WuL8fkGS/gIXtxKewd0LkTlb6jq9KKq8qn8/BN5YEKq JlM7jsENyA5PIe2npN3MjEg6p+qFrmrzJRuFjjdf5vvGfzskrXCAKGlNjMMA4TgZvugOFmBI /iSyV0IOaj0uKhes0ZNX+lQFrOB4j6I5fTBy7L/T3W/pCWo3wVkknNYa8TDYT73oIZ7Aimv+ k7OzRfnxsSOAZT8Re1Yt8mvzr6FHVFjr/VdyTtO5JgQZ6LEmvo4Ro+2ByBmCHORCQ0NJhD1U 3avjGfvfslG999W0WEZLTeaGkBAN1yG/1bgGAytQQkD9NsVXqBy7S3LVv9bB844ysW5Aj1nv tgIz14E2WL8rbpfjJMXi7B5ha6Lxf3rFOgxpr6ZoEn+bGG4hmrO+/ReA4SerfMqwSTnjZsZv xMJsx2B9c8DaZE8GsA4I6lsihbJmXhw8i7Cta8Dx418wtEbXhL6m/UEk60O7QD1VBgGqDMnJ DFSlvKa9D+tZde/kHSNmQmLLzxtDbNgBgmR0jUlmxirijnm8bwARAQABtFRKb2huIFBhdWwg QWRyaWFuIEdsYXViaXR6IChGcmVpZSBVbml2ZXJzaXRhZXQgQmVybGluKSA8Z2xhdWJpdHpA cGh5c2lrLmZ1LWJlcmxpbi5kZT6JAl In-Reply-To: <87eevkgaw7.fsf@igalia.com> Content-Language: en-US X-Originating-IP: 87.189.159.14 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 130.133.4.66 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane-mx.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.io gmane.lisp.guile.devel:20379 gmane.linux.debian.ports.hppa:7961 Archived-At: Hi! On 1/27/20 4:46 PM, Andy Wingo wrote: > William is correct. HPPA support is not gone from Guile; and indeed > it's good to hear from you :) I wasn't sure there were any IA64 users > remaining. It fails to build from source on Debian hppa, however: > https://buildd.debian.org/status/fetch.php?pkg=guile-3.0&arch=hppa&ver=3.0.0%2B1-1&stamp=1580702308&raw=0 continuations.c: In function 'scm_dynthrow': continuations.c:326:5: error: too few arguments to function 'grow_stack' 326 | grow_stack (cont); | ^~~~~~~~~~ continuations.c:276:1: note: declared here 276 | grow_stack (SCM cont, uint8_t *mra) | ^~~~~~~~~~ I'm currently working on a patch. > Initially in Guile I planned to use GNU Lightning, in part because of > its great platform support. However it turned out to not be the right > thing, and reluctantly I ended up doing something that was more like a > rewrite than a refactor. In that context I personally don't have the > budget to write the IA64 backend. So, Guile 3 still runs on IA64, just > without JIT support. It also fails on ia64 at the moment: > https://buildd.debian.org/status/fetch.php?pkg=guile-3.0&arch=ia64&ver=3.0.0%2B1-1&stamp=1580702151&raw=0 continuations.c:146:23: error: missing binary operator before token "or" 146 | # if !(defined __ia64 or defined __ia64__) | ^~ I fixed the preprocessor conditional, but then I'm running into another issue: continuations.c: In function 'capture_auxiliary_stack': continuations.c:152:7: warning: implicit declaration of function 'getcontext' [-Wimplicit-function-declaration] 152 | if (getcontext (&ctx) != 0) | ^~~~~~~~~~ continuations.c:158:21: error: invalid type argument of '->' (have 'ucontext_t' {aka 'struct ucontext_t'}) 158 | top = (char *) ctx->uc_mcontext.sc_ar_bsp; | ^~ continuations.c:167:26: error: 'scm_thread' {aka 'struct scm_thread'} has no member named 'auxiliary_stack_base' 167 | top - (char *) thread->auxiliary_stack_base; | ^~ continuations.c:171:48: error: 'scm_thread' {aka 'struct scm_thread'} has no member named 'auxiliary_stack_base' 171 | memcpy (continuation->auxiliary_stack, thread->auxiliary_stack_base, | ^~ continuations.c: In function 'restore_auxiliary_stack': continuations.c:180:17: error: 'scm_thread' {aka 'struct scm_thread'} has no member named 'auxiliary_stack_base' 180 | memcpy (thread->auxiliary_stack_base, continuation->auxiliary_stack, | ^~ Working on a patch here as well. > If someone would like to write an IA64 backend for Lightening, I would > be happy to accept it :) The beginnings of one are there in the git > history. Ok. I assume that applies to alpha, hppa, m68k, powerpc*, riscv*, sparc* as well. Adrian -- .''`. 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