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

Bug#1061414: marked as done (clisp: please add support for loong64)



Your message dated Wed, 20 Nov 2024 19:50:17 +0000
with message-id <E1tDqiP-00BndT-Gm@fasolo.debian.org>
and subject line Bug#1061414: fixed in clisp 1:2.49.20241118.gitfaa3b6b-1
has caused the Debian Bug report #1061414,
regarding clisp: please add support for loong64
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
1061414: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1061414
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: clisp
Severity: normal
X-Debbugs-Cc: wuruilong@loongson.cn

Dear Maintainer,

Please refer to the attachment patch to support loong64 arch

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
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 clisp (1:2.49.20210628.gitde01f0f-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * Drop clisp-module-pcre. (Closes: #1000089)
Author: Bastian Germann <bage@debian.org>
Bug-Debian: https://bugs.debian.org/1000089

---
The information above should follow the Patch Tagging Guidelines, please
checkout https://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: (upstream|backport|vendor|other), (<patch-url>|commit:<commit-id>)
Bug: <upstream-bugtracker-url>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: (no|not-needed|<patch-forwarded-url>)
Applied-Upstream: <version>, (<commit-url>|commit:<commid-id>)
Reviewed-By: <name and email of someone who approved/reviewed the patch>
Last-Update: 2024-01-24

--- clisp-2.49.20210628.gitde01f0f.orig/src/lispbibl.d
+++ clisp-2.49.20210628.gitde01f0f/src/lispbibl.d
@@ -259,6 +259,9 @@
   #if defined(__riscv) && (__riscv_xlen == 64)
     #define RISCV64
   #endif
+  #if defined(__loongarch__) || defined(__loongarch64)
+    #define LOONGARCH64
+  #endif
   /* 64-bit processors: */
   #ifdef __alpha
     #define DECALPHA
@@ -591,7 +594,7 @@
   #define log2_C_CODE_ALIGNMENT  1
   #define C_FUNCTION_POINTER_BIAS 2
 #endif
-#if defined(M68K) || defined(RISCV64) || defined(__CR16__) || defined(__cris__) || defined(__H8300__) || defined(__mcore__) || defined(__mep__) || defined(__moxie__) || defined(__MSP430__) || defined(__pdp11__) || defined(__sh__) || defined(__xstormy16__) || defined(__v850__) || defined(__vax__)
+#if defined(M68K) || defined(RISCV64) || defined(__CR16__) || defined(__cris__) || defined(__H8300__) || defined(__mcore__) || defined(__mep__) || defined(__moxie__) || defined(__MSP430__) || defined(__pdp11__) || defined(__sh__) || defined(__xstormy16__) || defined(__v850__) || defined(__vax__) || defined(LOONGARCH64)
   #define C_CODE_ALIGNMENT  2
   #define log2_C_CODE_ALIGNMENT  1
 #endif
@@ -2777,6 +2780,10 @@ typedef enum {
     #define MAPPABLE_ADDRESS_RANGE_START 0x000080000000UL
     #define MAPPABLE_ADDRESS_RANGE_END   0x001FFFFFFFFFUL
   #endif
+  #if defined(UNIX_LINUX) && defined(LOONGARCH64)
+    #define MAPPABLE_ADDRESS_RANGE_START 0x000080000000UL
+    #define MAPPABLE_ADDRESS_RANGE_END   0x001FFFFFFFFFUL
+  #endif
   #if defined(UNIX_LINUX) && defined(S390_64)
     /* On Linux/s390x:
        MMAP_FIXED_ADDRESS_HIGHEST_BIT = 52
@@ -4340,6 +4347,10 @@ Long-Float, Ratio and Complex (only if S
         #define HEAPCODES1BIT_WITH_TRIVIALMAP_WORKS 1
         #define HEAPCODES1BIT_WITH_MALLOC_WORKS 1
       #endif
+      #if defined(UNIX_LINUX) && defined(LOONGARCH64)
+        #define HEAPCODES1BIT_WITH_TRIVIALMAP_WORKS 1
+        #define HEAPCODES1BIT_WITH_MALLOC_WORKS 1
+      #endif
       #if defined(UNIX_LINUX) && defined(S390_64) /* Linux/s390x */
         #define HEAPCODES1BIT_WITH_TRIVIALMAP_WORKS 1 /* but only with(!) GENERATIONAL_GC */
         #define HEAPCODES1BIT_WITH_MALLOC_WORKS 0
@@ -4729,6 +4740,9 @@ Long-Float, Ratio and Complex (only if S
     #if defined(UNIX_LINUX) && defined(RISCV64) /* Linux/riscv64 */
       #define GENERIC64C_HEAPCODES_WORKS 1
     #endif
+    #if defined(UNIX_LINUX) && defined(LOONGARCH64)
+      #define GENERIC64C_HEAPCODES_WORKS 1
+    #endif
     #if defined(UNIX_LINUX) && defined(S390_64) /* Linux/s390x */
       #define GENERIC64C_HEAPCODES_WORKS 1
     #endif
@@ -5031,6 +5045,9 @@ Long-Float, Ratio and Complex (only if S
           #if defined(UNIX_LINUX) && defined(RISCV64) /* Linux/riscv64 */
             #define TYPECODES_WITH_TRIVIALMAP_WORKS 1
           #endif
+	  #if defined(UNIX_LINUX) && defined(LOONGARCH64)
+            #define TYPECODES_WITH_TRIVIALMAP_WORKS 1
+          #endif
           #if defined(UNIX_LINUX) && defined(S390_64) /* Linux/s390x */
             #define TYPECODES_WITH_TRIVIALMAP_WORKS 1
           #endif
@@ -5167,6 +5184,9 @@ Long-Float, Ratio and Complex (only if S
           #if defined(UNIX_LINUX) && defined(RISCV64) /* Linux/riscv64 */
             #define TYPECODES_WITH_MALLOC_WORKS 1
           #endif
+	  #if defined(UNIX_LINUX) && defined(LOONGARCH64)
+            #define TYPECODES_WITH_MALLOC_WORKS 1
+          #endif
           #if defined(UNIX_LINUX) && defined(S390_64) /* Linux/s390x */
             #define TYPECODES_WITH_MALLOC_WORKS 1
           #endif
@@ -5396,6 +5416,8 @@ typedef signed_int_with_n_bits(intVsize)
        !(defined(UNIX_LINUX) && (defined(MIPS) || defined(MIPS64)))           \
     && /* It does not work on Linux/riscv64 so far (Linux bug with PROT_NONE). */\
        !(defined(UNIX_LINUX) && defined(RISCV64))                             \
+    && \
+       !((defined(UNIX_LINUX) && defined(LOONGARCH64))
     && /* It does not work on NetBSD 7 (both NetBSD/i386 and NetBSD/sparc). */\
        !defined(UNIX_NETBSD)                                                  \
     && /* It does not work in QEMU user-mode. */                              \
@@ -6227,7 +6249,7 @@ typedef signed_int_with_n_bits(intVsize)
 #if defined(I80386) || defined(POWERPC) || defined(ARM) || defined(S390)
   #define varobject_alignment  4
 #endif
-#if defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(DECALPHA) || defined(IA64) || defined(AMD64) || defined(ARM64) || defined(RISCV64)
+#if defined(SPARC) || defined(HPPA) || defined(MIPS) || defined(DECALPHA) || defined(IA64) || defined(AMD64) || defined(ARM64) || defined(RISCV64) || defined(LOONGARCH64)
   #define varobject_alignment  8
 #endif
 #if (!defined(TYPECODES) || defined(GENERATIONAL_GC)) && (varobject_alignment < 4)
@@ -11838,6 +11860,9 @@ All other long words on the LISP-Stack a
   #ifdef RISCV64
     #define SP_register "sp"
   #endif
+  #ifdef LOONGARCH64
+    #define SP_register "$sp"
+  #endif
 #endif
 #if (defined(GNU) || defined(INTEL)) && !defined(NO_ASM)
   /* Assembler-instruction that copies the SP-register into a variable. */
@@ -11888,6 +11913,9 @@ All other long words on the LISP-Stack a
   #ifdef RISCV64
     #define ASM_get_SP_register(resultvar)  ("mv %0,sp" : "=r" (resultvar) : )
   #endif
+  #ifdef LOONGARCH64
+    #define ASM_get_SP_register(resultvar)  ("mv %0,$sp" : "=r" (resultvar) : )
+  #endif
 #endif
 #if defined(GNU) && defined(M68K) && !defined(NO_ASM)
   /* Access to a global register-"variable" SP */

--- End Message ---
--- Begin Message ---
Source: clisp
Source-Version: 1:2.49.20241118.gitfaa3b6b-1
Done: Peter Van Eynde <pvaneynd@debian.org>

We believe that the bug you reported is fixed in the latest version of
clisp, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1061414@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Peter Van Eynde <pvaneynd@debian.org> (supplier of updated clisp package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 20 Nov 2024 08:56:43 +0100
Source: clisp
Architecture: source
Version: 1:2.49.20241118.gitfaa3b6b-1
Distribution: experimental
Urgency: medium
Maintainer: Debian Common Lisp Team <debian-common-lisp@lists.debian.org>
Changed-By: Peter Van Eynde <pvaneynd@debian.org>
Closes: 1061414
Changes:
 clisp (1:2.49.20241118.gitfaa3b6b-1) experimental; urgency=medium
 .
   * New upstream version 2.49.20241118.gitfaa3b6b
   * Just disable the flakey socket test
   * Depend on updated ffcall 2.25. (Closes: 1061414)
Checksums-Sha1:
 c98e91151008ef7c91b390691b5619a15efdbdd6 3203 clisp_2.49.20241118.gitfaa3b6b-1.dsc
 334cdb35041c93b84d2d20c08c6f34355f20ea65 7326196 clisp_2.49.20241118.gitfaa3b6b.orig.tar.xz
 04b3baa46642f33704de58cf772bcea5ac365d6a 29948 clisp_2.49.20241118.gitfaa3b6b-1.debian.tar.xz
 a9f7447cc81c1fa15b10793d12a43a4d1611df76 16296 clisp_2.49.20241118.gitfaa3b6b-1_amd64.buildinfo
Checksums-Sha256:
 59d32dca5373d3bfeb8f95a95b6125cf2658ef161bd010e4cf22c7b368f3c7db 3203 clisp_2.49.20241118.gitfaa3b6b-1.dsc
 09287c7981fc0e4ad55d507e7d5c42fb5415e832f1cd92806f398ee064921d3a 7326196 clisp_2.49.20241118.gitfaa3b6b.orig.tar.xz
 3410945febd78edb098cf0f2a55325e11b6559666d5387da19f5ed353279cba4 29948 clisp_2.49.20241118.gitfaa3b6b-1.debian.tar.xz
 a9339fcad9d454ddf2a6fe08a0f8f70bbe9a13d0a420842f29050ec7a4ef8ea5 16296 clisp_2.49.20241118.gitfaa3b6b-1_amd64.buildinfo
Files:
 ee7e083bfc4311113cc77a5844dd9bec 3203 lisp optional clisp_2.49.20241118.gitfaa3b6b-1.dsc
 529262dcd07fcbd98af1ec2d4b0004c9 7326196 lisp optional clisp_2.49.20241118.gitfaa3b6b.orig.tar.xz
 d4e98142149c777af18d7122af80cf36 29948 lisp optional clisp_2.49.20241118.gitfaa3b6b-1.debian.tar.xz
 e5ebcd97d5b1c6c556e6a930c26d4798 16296 lisp optional clisp_2.49.20241118.gitfaa3b6b-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQKTBAEBCgB9FiEEq/pVygOvMEtssvu/qyvF+S+rne0FAmc+N7RfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFC
RkE1NUNBMDNBRjMwNEI2Q0IyRkJCRkFCMkJDNUY5MkZBQjlERUQACgkQqyvF+S+r
ne2n3xAAjzAWx4aNu3TATouH2E/QQ/mKSAUN2dzSjeL+YU330LFaV+EYBzQFFRDt
PcKceiQ7Y7Z6MTEkDkTf33SD+QeDB4gE4LC1hRtwfrxvho2hP6hOMUhcrvfTZco8
AT85/PZKJ4QR1z74VJm+ugE2buifCGlyCMUTWCkfb/fWTQGYbpIpdmW5wzy58tw+
wpMi90ls8KRn7BQGtpLd0t/jiNl9Ps6vP5AFhN3qUfscCPGgwech/qkaAVCw74dl
BhdCN/ODFFFH6amiOeHjvCovEVvoHC6eLKgLw3YpZpbgsXazCfgyDmOtNLK7KydK
kvdijGVgledl1m1Hp/Hqt1Wv+A0cSumhbD6v4MEuk/runRfVmAoUIvxDLZnUGGyu
0Siro3LjxaZ4xbCXcGWftpwGgHUsZCNdYF3V7w8MXkFOebn7xnwAGOhFT9ozYaEg
xiWFmkEr3P+LcedaZYujUsUI3hFLrEZgVWANq6dnTj/CeRcqR/o2pZ411BXzUY8D
QmsYY1UP/EFdxChmjOu/V7SpaQV7s/jAVRjAdwUhex99R91AfEMPe2/QQdTKvBVv
28GAL+SvjydzfQyVASoF5pqAYCTnndN8Bryt51bOpycrNGdE+iasYDIyQEIjXM23
XnJTX0nqZqbA5WsqHFTc06pCQFE68fIRvgKJP7WpDeObHxZxZ2w=
=NypY
-----END PGP SIGNATURE-----

Attachment: pgpayFsPnyipG.pgp
Description: PGP signature


--- End Message ---

Reply to: