lightning
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Lightning Digest, Vol 114, Issue 4


From: Paulo César Pereira de Andrade
Subject: Re: Lightning Digest, Vol 114, Issue 4
Date: Sun, 6 Nov 2022 07:31:51 -0300

Em dom., 6 de nov. de 2022 às 02:30, Francis McCabe
<frankmccabe@icloud.com> escreveu:

  Hi Francis,

> So, I am having a hard time with this stuff:
>
> I can’t use gdb, because it is not compiled for arm. I can use clang & lldb 
> however.
> I can’t seem to find my way through the thicket of libtool and auto tool 
> junk. In particular, I can’t figure out what is the actual executable that I 
> can use to load into lldb.

  Sorry for this issue. My bad as I had access to this system
https://cfarm.tetaneutral.net/news/41#

  When reading your email, I mostly guessed what could be wrong.

  I just tested in gcc104, and you can get it to mostly work if building as:

$ ./configure --enable-assertions CFLAGS="-D__OpenBSD__=1"
$ make CFLAGS="-D__OpenBSD__=1"

  Fixing the above is trivial.
 The major problem should be a different ABI for variadic functions.

  It should also be mostly trivial. It appears to use a very simple
va_list as described at
https://developer.apple.com/documentation/xcode/writing-arm64-code-for-apple-platforms

  Doing some initial work/research with a very simple example I get:

gcc104:check pcpa$ lldb .libs/lightning
...
(lldb) r add.tst
error: process exited with status -1 (this is a non-interactive debug
session, cannot get permission to debug processes.)

apparently need some special procedures if running in a ssh connection.

  But hopefully  it will not be required to be able to use a debugger as
long as my guesses are right :), and fixing the lldb issue probably
needs sudo privilege.

  I believe I will not be able to work on it early today. But hopefully
by tomorrow I will have a patch.

  Sorry for not having properly tested it for the Lightning 2.1.4 release.


> > On Nov 5, 2022, at 9:00 AM, lightning-request@gnu.org wrote:
> >
> > Send Lightning mailing list submissions to
> >       lightning@gnu.org
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >       https://lists.gnu.org/mailman/listinfo/lightning
> > or, via email, send a message with subject or body 'help' to
> >       lightning-request@gnu.org
> >
> > You can reach the person managing the list at
> >       lightning-owner@gnu.org
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Lightning digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Re: Lightning Digest, Vol 114, Issue 2 (Marc Nieper-Wißkirchen)
> >
> >
> > ----------------------------------------------------------------------
> >
> > Message: 1
> > Date: Sat, 5 Nov 2022 16:58:21 +0100
> > From: Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com>
> > To: Francis McCabe <frankmccabe@icloud.com>
> > Cc: Marc Nieper-Wißkirchen <marc.nieper+gnu@gmail.com>,
> >       lightning@gnu.org
> > Subject: Re: Lightning Digest, Vol 114, Issue 2
> > Message-ID:
> >       <CAEYrNrTfrHDazMtifwCdgH5aS0mnBS+Lms5pXKs9Nra8HBh2Rw@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > Am Sa., 5. Nov. 2022 um 15:54 Uhr schrieb Francis McCabe
> > <frankmccabe@icloud.com>:
> >>
> >> It hangs on that 3ro2 test. If I control-c then it cleans up that log file
> >
> > Can you run it with gdb?
> >
> >>
> >> Sent from my iPhone
> >>
> >>> On Nov 5, 2022, at 6:24 AM, Marc Nieper-Wißkirchen 
> >>> <marc.nieper+gnu@gmail.com> wrote:
> >>>
> >>> Am Sa., 5. Nov. 2022 um 06:59 Uhr schrieb Francis McCabe
> >>> <frankmccabe@icloud.com>:
> >>>>
> >>>> I tried downloading and building lightning-2.1.4
> >>>>
> >>>> On my mac M1
> >>>>
> >>>> make check hangs on 3to2
> >>>>
> >>>> Is this ever going to get fixed?
> >>>
> >>> Can you be a bit more precise about what actually happens?  Or does
> >>> the process crash without any output?
> >>>
> >>>>
> >>>> Francis
> >>>> P.S. If not, then I will not bother y’all again.
> >>>>
> >>>>>> On Nov 4, 2022, at 9:00 AM, lightning-request@gnu.org wrote:
> >>>>>
> >>>>> Send Lightning mailing list submissions to
> >>>>>     lightning@gnu.org
> >>>>>
> >>>>> To subscribe or unsubscribe via the World Wide Web, visit
> >>>>>     https://lists.gnu.org/mailman/listinfo/lightning
> >>>>> or, via email, send a message with subject or body 'help' to
> >>>>>     lightning-request@gnu.org
> >>>>>
> >>>>> You can reach the person managing the list at
> >>>>>     lightning-owner@gnu.org
> >>>>>
> >>>>> When replying, please edit your Subject line so it is more specific
> >>>>> than "Re: Contents of Lightning digest..."
> >>>>>
> >>>>>
> >>>>> Today's Topics:
> >>>>>
> >>>>> 1. GNU lightning 2.1.4 release (Paulo César Pereira de Andrade)
> >>>>>
> >>>>>
> >>>>> ----------------------------------------------------------------------
> >>>>>
> >>>>> Message: 1
> >>>>> Date: Fri, 4 Nov 2022 09:54:01 -0300
> >>>>> From: Paulo César Pereira de Andrade
> >>>>>     <paulo.cesar.pereira.de.andrade@gmail.com>
> >>>>> To: lightning <lightning@gnu.org>
> >>>>> Subject: GNU lightning 2.1.4 release
> >>>>> Message-ID:
> >>>>>     <CAHAq8pGNRjSo_hoUyduATCc6GRQs4utGJkA5h4Qxa4cOvrDwaQ@mail.gmail.com>
> >>>>> Content-Type: text/plain; charset="UTF-8"
> >>>>>
> >>>>> GNU lightning 2.1.4 released!
> >>>>>
> >>>>> GNU lightning is a library to aid in making portable programs
> >>>>> that compile assembly code at run time.
> >>>>>
> >>>>> Development:
> >>>>> http://git.savannah.gnu.org/cgit/lightning.git
> >>>>>
> >>>>> Download release:
> >>>>> ftp://ftp.gnu.org/gnu/lightning/lightning-2.1.4.tar.gz
> >>>>>
> >>>>> 2.1.4 main features are the new Loongarch port, currently supporting
> >>>>> only Linux 64 bit, and a new rewrite of the register live and
> >>>>> unknown state logic. Now it should be faster to generate code.
> >>>>>
> >>>>> The matrix of built and tested environments is:
> >>>>> aarch64        Linux
> >>>>> alpha        Linux (QEMU)
> >>>>> armv7l        Linux (QEMU)
> >>>>> armv7hl        Linux (QEMU)
> >>>>> hppa        Linux (32 bit, QEMU)
> >>>>> i686        Linux, FreeBSD, NetBSD, OpenBSD and Cygwin/MingW
> >>>>> ia64        Linux
> >>>>> mips        Linux
> >>>>> powerpc32    AIX
> >>>>> powerpc64    AIX
> >>>>> powerpc64le    Linux
> >>>>> riscv        Linux
> >>>>> s390        Linux
> >>>>> s390x        Linux
> >>>>> sparc        Linux
> >>>>> sparc64        Linux
> >>>>> x32        Linux
> >>>>> x86_64        Linux and Cygwin/MingW
> >>>>>
> >>>>> ------------------------------------------------------------------------
> >>>>>
> >>>>> Highlights are:
> >>>>>
> >>>>> o Faster jit generation.
> >>>>> o New loongarch port.
> >>>>> o New skip instruction and rework of the align instruction.
> >>>>> o New bswapr_us, bswapr_ui, bswapr_ul byte swap instructions.
> >>>>> o New movzr and movnr conditional move instructions.
> >>>>> o New casr and casi atomic compare and swap instructions.
> >>>>> o Use short unconditional jumps and calls to forward, not yet defined 
> >>>>> labels.
> >>>>> o And several bug fixes and optimizations.
> >>>>>
> >>>>>
> >>>>>
> >>>>> ------------------------------
> >>>>>
> >>>>> Subject: Digest Footer
> >>>>>
> >>>>> _______________________________________________
> >>>>> Lightning mailing list
> >>>>> Lightning@gnu.org
> >>>>> https://lists.gnu.org/mailman/listinfo/lightning
> >>>>>
> >>>>>
> >>>>> ------------------------------
> >>>>>
> >>>>> End of Lightning Digest, Vol 114, Issue 2
> >>>>> *****************************************
> >>>>
> >>>>
> >
> >
> >
> > ------------------------------
> >
> > Subject: Digest Footer
> >
> > _______________________________________________
> > Lightning mailing list
> > Lightning@gnu.org
> > https://lists.gnu.org/mailman/listinfo/lightning
> >
> >
> > ------------------------------
> >
> > End of Lightning Digest, Vol 114, Issue 4
> > *****************************************
>

Thanks,
Paulo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]