Debian Bug report logs - #1091769
oaklisp: Please add support for loong64

version graph

Package: src:oaklisp; Maintainer for src:oaklisp is Barak A. Pearlmutter <[email protected]>;

Reported by: wuruilong <[email protected]>

Date: Tue, 31 Dec 2024 08:09:01 UTC

Severity: normal

Tags: patch, sid

Found in version oaklisp/1.3.7-4

Reply or subscribe to this bug.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to [email protected], [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Tue, 31 Dec 2024 08:09:02 GMT) (full text, mbox, link).


Acknowledgement sent to wuruilong <[email protected]>:
New Bug report received and forwarded. Copy sent to [email protected], Barak A. Pearlmutter <[email protected]>. (Tue, 31 Dec 2024 08:09:02 GMT) (full text, mbox, link).


Message #5 received at [email protected] (full text, mbox, reply):

From: wuruilong <[email protected]>
To: Debian Bug Tracking System <[email protected]>
Subject: oaklisp: Please add support for loong64
Date: Tue, 31 Dec 2024 08:05:36 +0000
[Message part 1 (text/plain, inline)]
Source: oaklisp
Version: 1.3.7-4
Severity: normal
Tags: sid patch
X-Debbugs-Cc: [email protected]
User: [email protected]
Usertags: loong64

Dear Maintainer,

Add 32-bit support for this architecture according to loongarch's official documentation. Link to details: https://github.com/loongson/la-toolchain-conventions

wuruilong

-- System Information:
Debian Release: trixie/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: loong64 (loongarch64)

Kernel: Linux 5.10.0-60.96.0.126.oe2203.loongarch64 (SMP w/32 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
[add-support-for-loong64.patch (text/plain, attachment)]

Information forwarded to [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Mon, 06 Jan 2025 08:51:02 GMT) (full text, mbox, link).


Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Barak A. Pearlmutter <[email protected]>. (Mon, 06 Jan 2025 08:51:02 GMT) (full text, mbox, link).


Message #10 received at [email protected] (full text, mbox, reply):

From: xiao sheng wen(肖盛文) <[email protected]>
To: [email protected], wuruilong <[email protected]>
Cc: [email protected]
Subject: oaklisp: loong patch test fail
Date: Mon, 6 Jan 2025 16:49:26 +0800
[Message part 1 (text/plain, inline)]
Hi,

  I just test your patch[1] for loong64, it failed:

The error log is:

checking build system type... loongarch64-unknown-linux-gnu
checking host system type... loongarch64-unknown-linux-gnu
configure: WARNING: non 32-bit pointer platform detected
configure: trying to enable 32-bit memory model compiler option for loongarch64
configure: compiler option for 32-bit memory model: -mabi=ilp32f
checking size of void *... 0
configure: error: bad flags, Indy
        tail -v -n \+0 config.log
==> config.log <==
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by Oaklisp configure 1.3.7, which was
generated by GNU Autoconf 2.72.  Invocation command line was

  $ ./configure --build=loongarch64-linux-gnu --prefix=/usr '--includedir=${prefix}/include' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' --sysconfdir=/etc --localstatedir=/var --disable-option-checking --disable-silent-rules '--libdir=${prefix}/lib/loongarch64-linux-gnu' --runstatedir=/run --disable-maintainer-mode --disable-dependency-tracking

The full build log please see attachment.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?att=1;bug=1091769;filename=add-support-for-loong64.patch;msg=5

Regards,
-- 
肖盛文 xiao sheng wen -- Debian Developer(atzlinux)
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40debian.org
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB
[oaklisp_1.3.7-4_loong64.build (text/plain, attachment)]
[OpenPGP_0x00186602339240CB.asc (application/pgp-keys, attachment)]
[OpenPGP_signature.asc (application/pgp-signature, attachment)]

Information forwarded to [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Mon, 06 Jan 2025 09:33:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Barak A. Pearlmutter" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Barak A. Pearlmutter <[email protected]>. (Mon, 06 Jan 2025 09:33:01 GMT) (full text, mbox, link).


Message #15 received at [email protected] (full text, mbox, reply):

From: "Barak A. Pearlmutter" <[email protected]>
To: [email protected], wuruilong <[email protected]>
Cc: [email protected], [email protected]
Subject: Re: Bug#1091769: oaklisp: loong patch test fail
Date: Mon, 6 Jan 2025 09:30:14 +0000
Xiao Sheng,

Thanks for testing that -mabi=ilp32f patch.

----------------

wuruilong (and other loong folks),

Here is what the build log says:

> configure:5169: gcc -o conftest ... -mabi=ilp32f ... conftest.c ...
> gcc: error: unrecognized argument in option '-mabi=ilp32f'
> gcc: note: valid arguments to '-mabi=' are: lp64d lp64f lp64s

It would seem that Debian GCC for loongarch64 did not have 32-bit
support available on the build system.

Perhaps gcc-multilib needs to be installed? That is necessary for
other 64-bit architectures that have a 32-bit mode. I could add
loongarch64 to the architecture list for gcc-multilib in the build
dependencies. But I'm not seeing it as available for loongarch64 in
https://packages.debian.org/unstable/gcc-multilib



Information forwarded to [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Tue, 07 Jan 2025 02:12:01 GMT) (full text, mbox, link).


Acknowledgement sent to wuruilong <[email protected]>:
Extra info received and forwarded to list. Copy sent to Barak A. Pearlmutter <[email protected]>. (Tue, 07 Jan 2025 02:12:01 GMT) (full text, mbox, link).


Message #20 received at [email protected] (full text, mbox, reply):

From: wuruilong <[email protected]>
To: [email protected], [email protected]
Subject: Re: Bug#1091769: oaklisp: loong patch test fail
Date: Tue, 7 Jan 2025 10:09:19 +0800
[Message part 1 (text/plain, inline)]
Hi,

The current repository version of gcc does not support this option yet. 
Oaklisp needs to wait for gcc to be upgraded to support it.

wuruilong


On Mon, 6 Jan 2025 09:30:14 +0000 "Barak A. Pearlmutter" wrote:

> Xiao Sheng,
>
> Thanks for testing that -mabi=ilp32f patch.
>
> ----------------
>
> wuruilong (and other loong folks),
>
> Here is what the build log says:
>
> > configure:5169: gcc -o conftest ... -mabi=ilp32f ... conftest.c ...
> > gcc: error: unrecognized argument in option '-mabi=ilp32f'
> > gcc: note: valid arguments to '-mabi=' are: lp64d lp64f lp64s
>
> It would seem that Debian GCC for loongarch64 did not have 32-bit
> support available on the build system.
>
> Perhaps gcc-multilib needs to be installed? That is necessary for
> other 64-bit architectures that have a 32-bit mode. I could add
> loongarch64 to the architecture list for gcc-multilib in the build
> dependencies. But I'm not seeing it as available for loongarch64 in
> https://packages.debian.org/unstable/gcc-multilib
>
>

[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Fri, 10 Jan 2025 01:36:02 GMT) (full text, mbox, link).


Acknowledgement sent to wuruilong <[email protected]>:
Extra info received and forwarded to list. Copy sent to Barak A. Pearlmutter <[email protected]>. (Fri, 10 Jan 2025 01:36:02 GMT) (full text, mbox, link).


Message #25 received at [email protected] (full text, mbox, reply):

From: wuruilong <[email protected]>
To: [email protected], xiao sheng wen(肖盛文) <[email protected]>, [email protected]
Subject: Re: Bug#1091769: oaklisp: loong patch test fail
Date: Fri, 10 Jan 2025 09:34:00 +0800
[Message part 1 (text/plain, inline)]
Hi,

I'm very sorry, Oaklisp has not been verified locally, and currently GCC 
does not support it. I was very impatient to submit this bug, and I 
think it's better to close this bug now. It's safer to submit the 
corresponding patch after the local compilation is successful in the future.

wuruilong

On Mon, 6 Jan 2025 09:30:14 +0000 "Barak A. Pearlmutter" wrote:

> Xiao Sheng,
>
> Thanks for testing that -mabi=ilp32f patch.
>
> ----------------
>
> wuruilong (and other loong folks),
>
> Here is what the build log says:
>
> > configure:5169: gcc -o conftest ... -mabi=ilp32f ... conftest.c ...
> > gcc: error: unrecognized argument in option '-mabi=ilp32f'
> > gcc: note: valid arguments to '-mabi=' are: lp64d lp64f lp64s
>
> It would seem that Debian GCC for loongarch64 did not have 32-bit
> support available on the build system.
>
> Perhaps gcc-multilib needs to be installed? That is necessary for
> other 64-bit architectures that have a 32-bit mode. I could add
> loongarch64 to the architecture list for gcc-multilib in the build
> dependencies. But I'm not seeing it as available for loongarch64 in
> https://packages.debian.org/unstable/gcc-multilib
>
>

[Message part 2 (text/html, inline)]

Information forwarded to [email protected], Barak A. Pearlmutter <[email protected]>:
Bug#1091769; Package src:oaklisp. (Sun, 12 Jan 2025 19:36:01 GMT) (full text, mbox, link).


Acknowledgement sent to "Barak A. Pearlmutter" <[email protected]>:
Extra info received and forwarded to list. Copy sent to Barak A. Pearlmutter <[email protected]>. (Sun, 12 Jan 2025 19:36:01 GMT) (full text, mbox, link).


Message #30 received at [email protected] (full text, mbox, reply):

From: "Barak A. Pearlmutter" <[email protected]>
To: wuruilong <[email protected]>
Cc: [email protected], xiao sheng wen(肖盛文) <[email protected]>
Subject: Re: Bug#1091769: oaklisp: loong patch test fail
Date: Sun, 12 Jan 2025 19:33:16 +0000
Well, it's in the configure.ac script already so I'll just leave in
there and maybe someday it will work.



Send a report that this bug log contains spam.


Debian bug tracking system administrator <[email protected]>. Last modified: Tue May 13 15:55:05 2025; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU General Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.