Bug#1059972: marked as pending in dpdk

2024-02-17 Thread Zhang Na

On Thu, 15 Feb 2024 15:25:48 + Luca Boccassi wrote:
> Control: tag -1 pending
>
> Hello,
>
> Bug #1059972 in dpdk reported by you has been fixed in the
> Git repository and is awaiting an upload. You can see the commit
> message below and you can check the diff of the fix at:
>
> 
https://salsa.debian.org/debian/dpdk/-/commit/9123ab5f4458c40a9d2ede624febd0dfefe15372

>
> 
> d/rules, d/control, d/*.symbols: Add loong64 support (Closes: #1059972)
>
> Thanks to Zhang Na for the changes.
>
> Luca checked with upstream and there is regular CI and it is
> considered to be a supported architecture.
> 
>
> (this message was generated automatically)
> --
> Greetings
>
> https://bugs.debian.org/1059972
>
>

Thanks Luca! If you have any questions, you can contact me.



Bug#1062026: autopkgtest: add loongarch64 support

2024-01-30 Thread Zhang Na
Package: autopkgtest
Version: 5.31.2
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loongarch64 support, thanks!




-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages autopkgtest depends on:
ii  apt-utils   2.7.7
ii  libdpkg-perl1.22.1
ii  mawk1.3.4.20231126-1
ii  procps  2:4.0.4-2
ii  python3 3.11.6-1
ii  python3-debian  0.1.49

Versions of packages autopkgtest recommends:
ii  autodep8  0.28
ii  fakeroot  1.32.2-1

Versions of packages autopkgtest suggests:
pn  docker.io
pn  fakemachine  
pn  genisoimage  
pn  lxc  
pn  lxd  
pn  ovmf 
pn  ovmf-ia32
pn  podman   
pn  python3-distro-info  
pn  qemu-efi-aarch64 
pn  qemu-efi-arm 
pn  qemu-system  
pn  qemu-utils   
ii  schroot  1.6.13-3+b3
ii  util-linux   2.39.3-2
pn  vmdb2
pn  zerofree 

-- no debconf information
>From 588a76ea2f332ae68f204ed658b54216e136f10a Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Tue, 30 Jan 2024 07:37:07 +
Subject: [PATCH] add loongarch64 support

---
 lib/autopkgtest_qemu.py | 5 -
 tests/qemu  | 2 ++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/lib/autopkgtest_qemu.py b/lib/autopkgtest_qemu.py
index df24970..c3b45ff 100644
--- a/lib/autopkgtest_qemu.py
+++ b/lib/autopkgtest_qemu.py
@@ -374,7 +374,7 @@ class Qemu:
 argv.extend(['-machine', 'type=virt,gic-version=max'])
 else:
 argv.extend(['-machine', 'virt'])
-elif self.qemu_architecture in ('arm', 'riscv64'):
+elif self.qemu_architecture in ('arm', 'riscv64', 'loongarch64'):
 argv.extend(['-machine', 'virt'])
 elif (
 self.qemu_architecture in ('i386', 'x86_64') and
@@ -531,6 +531,7 @@ class Qemu:
 # cris not in dpkg-architecture -L
 # hppa
 # i386
+'loongarch64': 'loong64',
 # m68k
 # microblaze not in dpkg-architecture -L
 # microblazeel not in dpkg-architecture -L
@@ -569,6 +570,7 @@ class Qemu:
 'cris',
 'hppa',
 'i386',
+'loongarch64',
 'm68k',
 'microblaze',
 'microblazeel',
@@ -623,6 +625,7 @@ class Qemu:
 # hppa
 # i386
 # ia64?
+'loong64': 'loongarch64',
 # m32r?
 # m68k
 # mips
diff --git a/tests/qemu b/tests/qemu
index bbc92b5..6876478 100755
--- a/tests/qemu
+++ b/tests/qemu
@@ -58,6 +58,7 @@ class QemuTestCase(unittest.TestCase):
 self.assertEqual(get('armel'), 'arm')
 self.assertEqual(get('armhf'), 'arm')
 self.assertEqual(get('i386'), 'i386')
+self.assertEqual(get('loong64'), 'loongarch64')
 self.assertEqual(get('m68k'), 'm68k')
 self.assertEqual(get('mips'), 'mips')
 self.assertEqual(get('mips64'), 'mips64')
@@ -77,6 +78,7 @@ class QemuTestCase(unittest.TestCase):
 self.assertEqual(get('aarch64'), 'arm64')
 self.assertEqual(get('arm'), 'armhf')
 self.assertEqual(get('i386'), 'i386')
+self.assertEqual(get('loongarch64'), 'loong64')
 self.assertEqual(get('m68k'), 'm68k')
 self.assertEqual(get('mips'), 'mips')
 self.assertEqual(get('mips64'), 'mips64')
-- 
2.43.0



Bug#1061730: openjfx: add loongarch64 support

2024-01-29 Thread Zhang Na
Source: openjfx
Version: 11.0.11+1-3.1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,
  I have a patch and a suggestion!
  Firstly, I submitted a loongarch64's patch for openjfx-11, but it does not 
support webkit as the minimum version of LoongArch's g++ is 13;
  Secondly, I suggest upgrading to the latest version of openjfx, which already 
supports LoongArch and also supports g++13, looking forward to your reply. Of 
course, I also saw the same question(#1023702 and #1041527), but there was no 
response, but I still look forward to it.
  
  Thanks!



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From fc418a426205deb8e198f51a374bcfc125f96111 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Mon, 29 Jan 2024 08:37:58 +
Subject: [PATCH] Add LoongArch support

---
 debian/control | 2 +-
 debian/gradle.properties.loong64   | 4 
 debian/rules   | 4 
 .../gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h | 2 +-
 modules/javafx.web/src/main/native/CMakeLists.txt  | 2 ++
 .../src/main/native/Source/JavaScriptCore/CMakeLists.txt   | 7 +++
 .../ThirdParty/icu/source/i18n/double-conversion-utils.h   | 2 +-
 .../javafx.web/src/main/native/Source/WTF/wtf/PageBlock.h  | 2 +-
 .../src/main/native/Source/WTF/wtf/PlatformCPU.h   | 6 ++
 .../javafx.web/src/main/native/Source/WTF/wtf/dtoa/utils.h | 2 +-
 10 files changed, 28 insertions(+), 5 deletions(-)
 create mode 100644 debian/gradle.properties.loong64

diff --git a/debian/control b/debian/control
index d6bff1a3..aff82e6a 100644
--- a/debian/control
+++ b/debian/control
@@ -10,7 +10,7 @@ Build-Depends: antlr4,
default-jdk,
default-jdk-doc,
flex,
-   g++-11,
+   g++-11 [!loong64],
gperf,
gradle (>= 4.4),
gradle-debian-helper (>= 2.0),
diff --git a/debian/gradle.properties.loong64 b/debian/gradle.properties.loong64
new file mode 100644
index ..47cc7b48
--- /dev/null
+++ b/debian/gradle.properties.loong64
@@ -0,0 +1,4 @@
+COMPILE_WEBKIT = false
+COMPILE_MEDIA = true
+GRADLE_VERSION_CHECK = false
+CONF = Release
diff --git a/debian/rules b/debian/rules
index 63f7f36a..4e4aafc0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -19,7 +19,11 @@ export NUMBER_OF_PROCESSORS ?= $(shell nproc)
dh $@ --buildsystem=gradle --no-parallel --with maven-repo-helper
 
 override_dh_auto_configure-arch:
+ifneq (,$(filter $(DEB_HOST_ARCH), loong64))
+   cp debian/gradle.properties.loong64 gradle.properties
+else
cp debian/gradle.properties .
+endif
 
 override_dh_auto_configure-indep:
echo "GRADLE_VERSION_CHECK = false" >> gradle.properties
diff --git 
a/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h
 
b/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h
index c889459e..dbc9bcda 100644
--- 
a/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h
+++ 
b/modules/javafx.media/src/main/native/gstreamer/gstreamer-lite/gstreamer/gst/gstconfig.h
@@ -107,7 +107,7 @@
  */
 #if defined(__alpha__) || defined(__arc__) || defined(__arm__) || 
defined(__aarch64__) || defined(__bfin) || defined(__hppa__) || 
defined(__nios2__) || defined(__MICROBLAZE__) || defined(__mips__) || 
defined(__or1k__) || defined(__sh__) || defined(__SH4__) || defined(__sparc__) 
|| defined(__sparc) || defined(__ia64__) || defined(_M_ALPHA) || 
defined(_M_ARM) || defined(_M_IA64) || defined(__xtensa__) || defined(__e2k__)
 #  define GST_HAVE_UNALIGNED_ACCESS 0
-#elif defined(__i386__) || defined(__i386) || defined(__amd64__) || 
defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || 
defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || 
defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) 
|| defined(__s390__) || defined(__s390x__) || defined(__zarch__)
+#elif defined(__i386__) || defined(__i386) || defined(__amd64__) || 
defined(__amd64) || defined(__x86_64__) || defined(__ppc__) || 
defined(__ppc64__) || defined(__powerpc__) || defined(__powerpc64__) || 
defined(__m68k__) || defined(_M_IX86) || defined(_M_AMD64) || defined(_M_X64) 
|| defined(__s390__) || defined(__s390x__) || defined(__zarch__) || 
defined(__loongarch__)
 #  define GST_HAVE_UNALIGNED_ACCESS 1
 #else
 #  error "Could not detect architecture; don't know whether it supports 
unali

Bug#1060823: baler: Update debian/control for loong64

2024-01-14 Thread Zhang Na
Source: baler
Version: 1.3.0-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please update debian/control for loong64, thanks!


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 2425b38cb0d0a926ae1c4f7c5c5d7e85b1103797 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Mon, 15 Jan 2024 02:23:00 +
Subject: [PATCH] Update debian/control for loong64

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index f94651a..8f5cb41 100644
--- a/debian/control
+++ b/debian/control
@@ -20,7 +20,7 @@ Homepage: https://github.com/baler-collaboration/baler/
 
 Package: python3-baler
 Section: python
-Architecture: amd64 arm64 ppc64el s390x riscv64
+Architecture: amd64 arm64 loong64 ppc64el s390x riscv64
 Multi-Arch: foreign
 Depends:
  ${python3:Depends},
-- 
2.43.0



Bug#1060298: pocl: update llvm version in debian/control

2024-01-08 Thread Zhang Na
Source: pocl
Version: 4.0-3
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please update llvm version in debian/control, thanks! The latest
  version of LLVM is 16 in Debian. Convenient support for more new
  architectures.


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 318a56cba2c1fe681fc453fdf91858f6ca66e993 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Mon, 8 Jan 2024 10:02:05 +
Subject: [PATCH] update llvm-16 in  debian/control

---
 debian/control | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/debian/control b/debian/control
index db25d45..a732143 100644
--- a/debian/control
+++ b/debian/control
@@ -7,10 +7,10 @@ Uploaders: Vincent Danjean ,
 Build-Depends:
  debhelper-compat (= 13),
  gcc (>= 4:13),
- clang-15,
- libclang-15-dev,
- libclang-cpp15-dev,
- llvm-15-dev,
+ clang-16, 
+ libclang-16-dev,
+ libclang-cpp16-dev,
+ llvm-16-dev,
  cmake,
  libhwloc-dev,
  ocl-icd-dev,
-- 
2.43.0

--- debian/libpocl2.symbols (libpocl2_4.0-3_loong64)
+++ dpkg-gensymbolsd953pV   2024-01-08 10:12:19.307182559 +
@@ -25,40 +25,40 @@
  
_ZGVZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb0EEclEcE5__nul@Base
 3.0
  
_ZGVZNKSt8__detail11_AnyMatcherINSt7__cxx1112regex_traitsIcEELb0ELb1ELb1EEclEcE5__nul@Base
 3.0
  _ZN4pocl23eraseFunctionAndCallersEPN4llvm8FunctionE@Base 1.8-3~visibility
-#MISSING: 1.8# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJS5_EEEvDpOT_@Base
 0.11
-#MISSING: 1.8# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
-#MISSING: 1.8# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
-#MISSING: 1.8# 
(optional=templinst)_ZNSt6vectorIPKcSaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
-#MISSING: 1.8# 
(optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceE{size_t}{size_t}PKc{size_t}@Base
 1.6-2~hardening
+#MISSING: 4.0-3# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE12emplace_backIJS5_EEEvDpOT_@Base
 0.11
+#MISSING: 4.0-3# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJRKS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
+#MISSING: 4.0-3# 
(optional=templinst)_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE17_M_realloc_insertIJS5_EEEvN9__gnu_cxx17__normal_iteratorIPS5_S7_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
+#MISSING: 4.0-3# 
(optional=templinst)_ZNSt6vectorIPKcSaIS1_EE17_M_realloc_insertIJS1_EEEvN9__gnu_cxx17__normal_iteratorIPS1_S3_EEDpOT_@Base
 0.13-9~llvm3.8+gcc7
+#MISSING: 4.0-3# 
(optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE10_M_replaceE{size_t}{size_t}PKc{size_t}@Base
 1.6-2~hardening
 #MISSING: 1.8# 
(optional=templinst|arch=mipsel)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag@Base
 1.1-6~llvm6.0+gcc8
  
(optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE15_M_replace_coldEPc{size_t}PKc{size_t}{size_t}@Base
 4.0-2~gcc13
-#MISSING: 1.8# 
(optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE4swapERS4_@Base
 1.6-2~hardening
-#MISSING: 1.8# 
(optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_appendEPKc{size_t}@Base
 1.6-2~hardening
-#MISSING: 1.8# 
(optional=templinst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_assignERKS4_@Base
 1.6-2~hardening
-#MISSING: 4.0-2~gcc13# 
(optional=templinst|subst)_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE9_M_mutateE{size_t}{size_t}PKc{size_t}@Base
 4
- (optional=templinst|arch=amd64 arm64 mips64el ppc64el riscv64 
sparc64)_ZNSt8_Rb_treeIN3spv10DecorationES1_St9_IdentityIS1_ESt4lessIS1_ESaIS1_EE16_M_insert_uniqueIRKS1_EESt4pairISt17_Rb_tree_iteratorIS1_EbEOT_@Base
 4
-#MISSING: 1.8# 
(optional=templinst)_ZNSt8_Rb_treeINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_St9_IdentityIS5_ESt4lessIS5_ESaIS5_EE24_M_get_insert_unique_posERKS5_@Base
 1.0
-#MISSING: 1.8# 
(optional=tem

Bug#1060127: radare2: Add basic support for LoongArch

2024-01-05 Thread Zhang Na
Source: radare2
Version: 5.5.0+dfsg-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add basic support for LoongArch, without this patch, building on LoongArch 
will fail.
  https://github.com/radareorg/radare2/pull/19505, the PR has been merged.



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 2fcdd59ed81bd016ca9a43529f082feac0277bfe Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Sat, 6 Jan 2024 07:01:31 +
Subject: [PATCH] add loongarch support

---
 libr/core/cconfig.c   |  2 +-
 libr/debug/p/debug_native.c   |  4 ++
 libr/debug/p/native/linux/linux_debug.c   |  2 +
 libr/debug/p/native/linux/linux_debug.h   |  6 ++
 .../p/native/linux/reg/linux-loongarch64.h| 66 +++
 .../r_jemalloc/internal/jemalloc_internal.h   |  3 +
 libr/include/r_types.h|  4 ++
 libr/include/r_util/r_sys.h   |  2 +
 8 files changed, 88 insertions(+), 1 deletion(-)
 create mode 100644 libr/debug/p/native/linux/reg/linux-loongarch64.h

diff --git a/libr/core/cconfig.c b/libr/core/cconfig.c
index e995238..4ac8560 100644
--- a/libr/core/cconfig.c
+++ b/libr/core/cconfig.c
@@ -3668,7 +3668,7 @@ R_API int r_core_config_init(RCore *core) {
r_config_set_getter (cfg, "dbg.swstep", 
(RConfigCallback)__dbg_swstep_getter);
 
 // TODO: This should be specified at first by the debug backend when attaching
-#if __arm__ || __mips__
+#if __arm__ || __mips__ || __loongarch__
SETICB ("dbg.bpsize", 4, _dbgbpsize, "Size of software breakpoints");
 #else
SETICB ("dbg.bpsize", 1, _dbgbpsize, "Size of software breakpoints");
diff --git a/libr/debug/p/debug_native.c b/libr/debug/p/debug_native.c
index bd7c686..bcfe04a 100644
--- a/libr/debug/p/debug_native.c
+++ b/libr/debug/p/debug_native.c
@@ -1622,6 +1622,10 @@ RDebugPlugin r_debug_plugin_native = {
.bits = R_SYS_BITS_32 | R_SYS_BITS_64,
.arch = "mips",
.canstep = false,
+#elif __loongarch
+   .bits = R_SYS_BITS_32 | R_SYS_BITS_64,
+   .arch = "loongarch",
+   .canstep = false,
 #elif __powerpc__
 # if __powerpc64__
.bits = R_SYS_BITS_32 | R_SYS_BITS_64,
diff --git a/libr/debug/p/native/linux/linux_debug.c 
b/libr/debug/p/native/linux/linux_debug.c
index 569aa71..34700bc 100644
--- a/libr/debug/p/native/linux/linux_debug.c
+++ b/libr/debug/p/native/linux/linux_debug.c
@@ -39,6 +39,8 @@ char *linux_reg_profile (RDebug *dbg) {
} else {
 #  include "reg/linux-mips64.h"
}
+#elif __loongarch__
+#  include "reg/linux-loongarch64.h"
 #elif (__i386__ || __x86_64__)
if (dbg->bits & R_SYS_BITS_32) {
 #if __x86_64__
diff --git a/libr/debug/p/native/linux/linux_debug.h 
b/libr/debug/p/native/linux/linux_debug.h
index 55cebb6..0f2f882 100644
--- a/libr/debug/p/native/linux/linux_debug.h
+++ b/libr/debug/p/native/linux/linux_debug.h
@@ -105,6 +105,12 @@ struct powerpc_regs_t {
 #include 
 typedef ut64 mips64_regs_t [274];
 #define R_DEBUG_REG_T mips64_regs_t
+
+#elif __loongarch__
+
+#include 
+typedef ut64 la_regs_t [274];
+#define R_DEBUG_REG_T la_regs_t
 #endif
 #endif
 
diff --git a/libr/debug/p/native/linux/reg/linux-loongarch64.h 
b/libr/debug/p/native/linux/reg/linux-loongarch64.h
new file mode 100644
index 000..ae85d66
--- /dev/null
+++ b/libr/debug/p/native/linux/reg/linux-loongarch64.h
@@ -0,0 +1,66 @@
+#if 0
+   reg  nameusage
+   ---+---+-
+   0zero   always zero
+   1 rareturn address
+   2 tpTLS
+   3 spstack pointer
+   4-11  a0-a7 argument
+   4-5   v0-v1 return value
+   12-20 t0-t8 temp
+   21x reserved
+   22fpframe point
+   23-31 s0-s8 subroutine registe variables
+#endif
+
+   return strdup (
+   "=PCpc\n"
+   "=SPsp\n"
+   "=BPfp\n"
+   "=A0a0\n"
+   "=A1a1\n"
+   "=A2a2\n"
+   "=A3a3\n"
+   "=A4a0\n"
+   "=A5a1\n"
+   "=A6a2\n"
+   "=A7a3\n"
+   "gprzero.64 0   0\n"
+   "gprra  .64 8   0\n"
+   "gprtp  .64 16  0\n"
+   "gprsp  .64 24  0\n"
+   /* args *

Bug#1060120: freebsd-glue: modify gcc version for build

2024-01-05 Thread Zhang Na
Source: freebsd-glue
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,
 
  Please modify gcc version for build, thanks! 
  I think the gcc version should not be fixed, but should be greater
  than a certain version, unless the required features only exist on a
  specific version.

  example:

  - gcc-9,
  + gcc (>= 9),



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 8ffd030b321a6c602cb91c60df5241b46ce7bc10 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Sat, 6 Jan 2024 03:44:19 +
Subject: [PATCH] modify gcc version for build

---
 debian/control | 2 +-
 debian/rules   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index 1699ffe..87faabe 100644
--- a/debian/control
+++ b/debian/control
@@ -7,7 +7,7 @@ Uploaders:
  Steven Chamberlain ,
 Build-Depends:
  debhelper (>= 8.0),
- gcc-9,
+ gcc (>= 9),
  kfreebsd-kernel-headers (>= 10.0~3) [kfreebsd-any],
  freebsd-mk,
  bmake,
diff --git a/debian/rules b/debian/rules
index b11b752..503ee26 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,7 +6,7 @@ DEB_HOST_ARCH_OS?= $(shell dpkg-architecture 
-qDEB_HOST_ARCH_OS)
 # Determine host architecture compiler
 DEB_HOST_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 ifeq ($(origin CC),default)
-CC := $(DEB_HOST_GNU_TYPE)-gcc-9
+CC := $(DEB_HOST_GNU_TYPE)-gcc
 endif
 
 # Determine build architecture compiler
-- 
2.43.0



Bug#1060050: petsc: update debian/control for loong64

2024-01-05 Thread Zhang Na
Source: petsc
Version: 3.19.6
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please update debian/control for loong64, thanks!


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 912ec965986f52472d9784ff5ef9fafa780f0162 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Fri, 5 Jan 2024 09:15:06 +
Subject: [PATCH] update debian/control for loong64

---
 debian/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 82c8c6b4..3fb2c8e2 100644
--- a/debian/control
+++ b/debian/control
@@ -14,7 +14,7 @@ Build-Depends: debhelper-compat (= 13), python3, gfortran,
  liblapack-dev | libopenblas-dev | libatlas-base-dev | liblapack.so,
  libsuitesparse-dev (>= 1:5.6.0),
  libhypre-dev (>= 2.21.0),
- libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64],
+ libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64 loong64],
  libptscotch-dev,
  libhdf5-mpi-dev (>= 1.10.6+repack-1),
  libscalapack-mpi-dev,
@@ -370,7 +370,7 @@ Section: libdevel
 Depends: libpetsc64-real3.19 (= ${binary:Version}),
  libpetsc3.19-dev-common (= ${source:Version}),
  ${MPI:Depends},
- libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64],
+ libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64 loong64],
  libmumps64-dev,
  libtrilinos-zoltan-dev [amd64 arm64 ppc64el s390x ppc64],
  gfortran,
@@ -418,7 +418,7 @@ Section: debug
 Pre-Depends: ${misc:Pre-Depends}
 Depends: libpetsc-real3.19-dev (= ${binary:Version}),
  libpetsc3.19-dev-common (= ${source:Version}),
- libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64],
+ libhypre64m-dev (>= 2.21.0) [amd64 arm64 mips64el ppc64el s390x alpha ia64 
ppc64 riscv64 sparc64 loong64],
  libtrilinos-zoltan-dev [amd64 arm64 ppc64el s390x ppc64],
  ${misc:Depends}, ${shlibs:Depends},
  python3, ${python3:Depends}
-- 
2.43.0



Bug#1060035: prison-kf5: update debian/libkf5prison5.symbols for loong64

2024-01-04 Thread Zhang Na
Source: prison-kf5
Version: 5.107.0-2
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please update debian/libkf5prison5.symbols for loong64, thanks!




-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From f14c6fa0c27d50ac29696ec75717d81ecae0f7b7 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Fri, 5 Jan 2024 03:16:47 +
Subject: [PATCH] update debian/libkf5prison5.symbols for loong64

---
 debian/libkf5prison5.symbols | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/libkf5prison5.symbols b/debian/libkf5prison5.symbols
index ac6aae6..187cf42 100644
--- a/debian/libkf5prison5.symbols
+++ b/debian/libkf5prison5.symbols
@@ -1,4 +1,4 @@
-# SymbolsHelper-Confirmed: 5.85.0 alpha amd64 arm64 armel armhf hurd-i386 i386 
ia64 m68k mips64el ppc64el riscv64 sh4 x32
+# SymbolsHelper-Confirmed: 5.85.0 alpha amd64 arm64 armel armhf hurd-i386 i386 
ia64 loong64 m68k mips64el ppc64el riscv64 sh4 x32
 libKF5Prison.so.5 libkf5prison5 #MINVER#
 * Build-Depends-Package: libkf5prison-dev
  _ZN6Prison13createBarcodeENS_11BarcodeTypeE@Base 5.25.0~
-- 
2.43.0



Bug#1059972: dpdk: add loong64 support

2024-01-04 Thread Zhang Na
Source: dpdk
Version: 23.11-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,
 
  Add loong64 support, please! I have verified it on my PC. Thanks!

build log:
dpkg-deb --root-owner-group --build debian/librte-acl24 ..
dpkg-deb: building package 'librte-acl24' in 
'../librte-acl24_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build 
debian/.debhelper/librte-acl24/dbgsym-root ..
dpkg-deb: building package 'librte-acl24-dbgsym' in 
'../librte-acl24-dbgsym_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build debian/librte-baseband-acc24 ..
dpkg-deb: building package 'librte-baseband-acc24' in 
'../librte-baseband-acc24_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build 
debian/.debhelper/librte-baseband-acc24/dbgsym-root ..
dpkg-deb: building package 'librte-baseband-acc24-dbgsym' in 
'../librte-baseband-acc24-dbgsym_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build 
debian/librte-baseband-fpga-5gnr-fec24 ..
dpkg-deb: building package 'librte-baseband-fpga-5gnr-fec24' in 
'../librte-baseband-fpga-5gnr-fec24_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build 
debian/.debhelper/librte-baseband-fpga-5gnr-fec24/dbgsym-root ..
dpkg-deb: building package 'librte-baseband-fpga-5gnr-fec24-dbgsym' in 
'../librte-baseband-fpga-5gnr-fec24-dbgsym_23.11-1_loong64.deb'.
dpkg-deb --root-owner-group --build 
debian/librte-baseband-fpga-lte-fec24 ..
dpkg-deb: building package 'librte-baseband-fpga-lte-fec24' in 
'../librte-baseband-fpga-lte-fec24_23.11-1_loong64.deb'.
 dpkg-genbuildinfo --build=binary -O../dpdk_23.11-1_loong64.buildinfo
 dpkg-genchanges --build=binary -O../dpdk_23.11-1_loong64.changes
dpkg-genchanges: info: binary-only upload (no source code included)
 dpkg-source --after-build .
dpkg-source: info: using options from dpdk-23.11/debian/source/options: 
--extend-diff-ignore=(^|/)(\.gitreview|\.git|maven_env.txt)$
dpkg-buildpackage: info: binary-only upload (no source included)





-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 7b855f81eee81ea607830e377c649d27d9774cb0 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Thu, 4 Jan 2024 09:16:42 +
Subject: [PATCH] add loong64 support

---
 debian/control  | 396 ++--
 debian/librte-eal24.symbols |   2 +-
 debian/rules|   2 +-
 3 files changed, 200 insertions(+), 200 deletions(-)

diff --git a/debian/control b/debian/control
index 9c3f7f9..4d151fb 100644
--- a/debian/control
+++ b/debian/control
@@ -42,7 +42,7 @@ Vcs-Browser: https://salsa.debian.org/debian/dpdk
 
 Package: dpdk
 Section: admin
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Depends: pci.ids | hwdata,
  pciutils,
  procps,
@@ -90,7 +90,7 @@ Description: Data Plane Development Kit (runtime)
  This package contains the runtime environment to run DPDK applications.
 
 Package: librte-meta-baseband
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Multi-Arch: same
 Depends: ${librte:Baseband},
  ${misc:Depends},
@@ -101,7 +101,7 @@ Description: Data Plane Development Kit (baseband libraries)
  This is a metapackage to pull in all the librte baseband libraries.
 
 Package: librte-meta-bus
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Multi-Arch: same
 Depends: ${librte:Bus},
  ${misc:Depends},
@@ -112,7 +112,7 @@ Description: Data Plane Development Kit (bus libraries)
  This is a metapackage to pull in all the librte bus libraries.
 
 Package: librte-meta-common
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Multi-Arch: same
 Depends: ${librte:Common},
  ${misc:Depends},
@@ -123,7 +123,7 @@ Description: Data Plane Development Kit (common libraries)
  This is a metapackage to pull in all the librte common libraries.
 
 Package: librte-meta-compress
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Multi-Arch: same
 Depends: ${librte:Compress},
  ${misc:Depends},
@@ -134,7 +134,7 @@ Description: Data Plane Development Kit (compress libraries)
  This is a metapackage to pull in all the librte compress libraries.
 
 Package: librte-meta-crypto
-Architecture: amd64 arm64 ppc64el riscv64
+Architecture: amd64 arm64 ppc64el riscv64 loong64
 Multi-Arch: same
 Depends: ${librte:Crypto},
  ${misc:Depends},
@@ -145,7 +145,7 @@ Description: Data Plane Development Kit (crypto librar

Bug#1059952: curl: update debian/control for loong64

2024-01-03 Thread Zhang Na
Package: curl
Version: 8.2.1-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please update debian/control for loong64, thanks!

Na Zhang


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages curl depends on:
ii  libc6 2.37-13
ii  libcurl4  8.2.1-1
ii  libssl3   3.1.4-2
ii  zlib1g1:1.3.dfsg-3

curl recommends no packages.

curl suggests no packages.

-- no debconf information
>From 7d2909a4b5c970e041e6733e1ae750f736fa9cbd Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Thu, 4 Jan 2024 01:30:59 +
Subject: [PATCH] update debian/control for loong64

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 953ffb4..b06d3c3 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,7 @@ Build-Depends:
  openssh-server ,
  python3:native ,
  python3-impacket ,
- gnutls-bin [amd64 arm64 armel armhf i386 mips64el mipsel s390x powerpc ppc64 
riscv64] ,
+ gnutls-bin [amd64 arm64 armel armhf i386 loong64 mips64el mipsel s390x 
powerpc ppc64 riscv64] ,
  quilt,
  stunnel4 ,
  zlib1g-dev,
-- 
2.43.0



Bug#1059550: jellyfish: add loong64 support

2023-12-27 Thread Zhang Na
Source: jellyfish
Version: 2.3.1-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,
  
  Please add loong64 support in debian/control, thanks!

-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 59324455b12992fad1eb016174805c4a26661131 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Thu, 28 Dec 2023 07:03:30 +
Subject: [PATCH] add loong64 support

---
 debian/control | 10 +-
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/debian/control b/debian/control
index 77a0fba..9c13507 100644
--- a/debian/control
+++ b/debian/control
@@ -29,7 +29,7 @@ Homepage: https://github.com/gmarcais/Jellyfish
 Rules-Requires-Root: no
 
 Package: jellyfish
-Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 loong64
 Depends: ${shlibs:Depends},
  ${misc:Depends},
  libjellyfish-2.0-2 (= ${binary:Version})
@@ -49,7 +49,7 @@ Description: count k-mers in DNA sequences
  format using the "jellyfish dump" command.
 
 Package: libjellyfish-2.0-2
-Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
@@ -73,7 +73,7 @@ Description: count k-mers in DNA sequences (dynamic library 
of jellyfish)
  jellyfish is linked to.
 
 Package: libjellyfish-2.0-dev
-Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 loong64
 Section: libdevel
 Depends: ${misc:Depends},
  libjellyfish-2.0-2 (= ${binary:Version})
@@ -96,7 +96,7 @@ Description: count k-mers in DNA sequences (development files 
of jellyfish)
  header files)
 
 Package: python3-dna-jellyfish
-Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 loong64
 Section: python
 Depends: ${python3:Depends},
  ${misc:Depends},
@@ -119,7 +119,7 @@ Description: count k-mers in DNA sequences (Python bindings 
of jellyfish)
  This package contains the Python bindings of jellyfish.
 
 Package: libjellyfish-perl
-Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64
+Architecture: amd64 arm64 armel armhf i386 mips64el ppc64el hppa hurd-i386 
ia64 kfreebsd-amd64 kfreebsd-i386 riscv64 loong64
 Multi-Arch: same
 Section: perl
 Depends: ${perl:Depends},
-- 
2.43.0



Bug#1059508: tcsh: Compilation failed on multiple architectures

2023-12-27 Thread Zhang Na
Please try again,  I did not occur this error. This has nothing to do 
with the architecture, perhaps you can help solve this permission problem.



## -- ##
## Detailed failed tests. ##
## -- ##

# -*- compilation -*-
68. commands.at:1041: testing nice ...
./commands.at:1045: tcsh -f -c 'nice set var=1; echo $?var'
--- /dev/null    2023-08-30 13:17:09.0 +
+++ /<>/testsuite.dir/at-groups/68/stderr 2023-09-01 
09:12:12.022965657 +

@@ -0,0 +1 @@
+setpriority: Permission denied.
68. commands.at:1041: 68. nice (commands.at:1041): FAILED (commands.at:1045)



Bug#1059508: tcsh: Compilation failed on multiple architectures

2023-12-27 Thread Zhang Na
Source: tcsh
Version: 6.24.10-3
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  https://buildd.debian.org/status/package.php?p=tcsh=sid
  Compilation failed on multiple architectures, the reason for failure is the 
same. You should compile using regular users instead of root. The shell prompts 
for root and user are different, and testing will result in errors for root.
  I have verified on Loong64.
  Many packages depend on tcsh, please help compile them through,
  thanks!

   my test:
   dh_md5sums
   dh_builddeb
dpkg-deb: building package 'tcsh-dbgsym' in 
'../tcsh-dbgsym_6.24.10-3_loong64.deb'.
dpkg-deb: building package 'tcsh' in '../tcsh_6.24.10-3_loong64.deb'.
 dpkg-genbuildinfo -O../tcsh_6.24.10-3_loong64.buildinfo
 dpkg-genchanges -O../tcsh_6.24.10-3_loong64.changes
dpkg-genchanges: info: not including original source code in upload
 dpkg-source --after-build .
dpkg-buildpackage: info: binary and diff upload (original source NOT included)
zhangna@localhost:~/tcsh-1/tcsh-6.24.10$ ls ../
build.log  tcsh_6.24.10-3.debian.tar.xz  
tcsh_6.24.10-3_loong64.changes
tcsh-6.24.10   tcsh_6.24.10-3.dsc
tcsh_6.24.10-3_loong64.deb
tcsh-dbgsym_6.24.10-3_loong64.deb  tcsh_6.24.10-3_loong64.buildinfo  
tcsh_6.24.10.orig.tar.gz
zhangna@localhost:~$ arch
loongarch64



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect



Bug#1059262: trilinos: add loongarch64 support

2023-12-22 Thread Zhang Na
Source: trilinos
Version: 13.2.0-5
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please add loong64 support in debian/control, thanks!

-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 5228d627563b76c942c0ffb84121269f8a350586 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Fri, 22 Dec 2023 07:18:59 +
Subject: [PATCH] add loongarch64 support

---
 debian/control | 176 -
 1 file changed, 88 insertions(+), 88 deletions(-)

diff --git a/debian/control b/debian/control
index 3caba1cb..0a56f351 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Vcs-Git: https://salsa.debian.org/science-team/trilinos.git
 Vcs-Browser: https://salsa.debian.org/science-team/trilinos
 
 Package: trilinos-all-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${misc:Depends}, ${mydevpackages}
@@ -50,7 +50,7 @@ Description: object-oriented framework for large-scale 
problems - development fi
  This package depends on all Trilinos development packages.
 
 Package: trilinos-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${misc:Depends}
@@ -65,7 +65,7 @@ Description: object-oriented framework for large-scale 
problems - development fi
  This package contains the development header and some makefile templates.
 
 Package: libtrilinos-amesos-13.2
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -77,7 +77,7 @@ Description: direct sparse solver package - runtime files
  This package contains the dynamic libraries.
 
 Package: libtrilinos-amesos-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libdevel
 # Manually add libtrilinos-trilinosss-dev as dependency until
@@ -92,7 +92,7 @@ Description: direct sparse solver package - development files
  This package provides headers.
 
 Package: libtrilinos-amesos2-13.2
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -104,7 +104,7 @@ Description: next generation direct sparse solver package - 
runtime files
  This package contains the dynamic libraries.
 
 Package: libtrilinos-amesos2-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libdevel
 # Manually add libtrilinos-trilinosss-dev as dependency until
@@ -119,7 +119,7 @@ Description: next generation direct sparse solver package - 
development files
  This package provides headers.
 
 Package: libtrilinos-anasazi-13.2
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -134,7 +134,7 @@ Description: large-scale eigenvalue algorithms - runtime 
files
  This package contains the dynamic libraries.
 
 Package: libtrilinos-anasazi-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libdevel
 Depends: libtrilinos-anasazi-13.2 (= ${binary:Version}), trilinos-dev, 
${misc:Depends}
@@ -150,7 +150,7 @@ Description: large-scale eigenvalue algorithms - 
development files
  This package provides headers.
 
 Package: libtrilinos-aztecoo-13.2
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends}, ${misc:Depends}
@@ -164,7 +164,7 @@ Description: object-oriented interface to the Aztec solver 
- runtime files
  This package contains the dynamic libraries.
 
 Package: libtrilinos-aztecoo-dev
-Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64
+Architecture: amd64 arm64 ppc64el s390x ppc64 riscv64 loong64
 Multi-Arch: same
 Section: libdevel
 Depends: liblapack-dev, libtrilinos-aztecoo-13.2 (= ${binary:Version}), 
trilinos-dev, ${misc:Depends}
@@ -179,7 +179,7 @@ Description: object-oriented interface to the Aztec solver 
- development files
  This package provides headers.
 
 Package: libtrilinos-belos-13.2
-Architect

Bug#1059214: python-skbio: add loong64 support

2023-12-21 Thread Zhang Na
Source: python-skbio
Version: 0.5.9-1
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,
  
  Please add loong64 support in debian/control, thanks!


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 2519e11aeacee9685b00a063046c4e7a43f50e34 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Thu, 21 Dec 2023 11:30:42 +
Subject: [PATCH] add loong64 support

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 8d89f0f..53c1a02 100644
--- a/debian/control
+++ b/debian/control
@@ -54,7 +54,7 @@ Description: Data structures, algorithms, educational 
resources for bioinformati
 Build-Profiles: 
 
 Package: python3-skbio
-Architecture: amd64 arm64 mips64el ppc64el riscv64
+Architecture: amd64 arm64 mips64el ppc64el riscv64 loong64
 Depends: ${shlibs:Depends},
  ${misc:Depends},
  ${python3:Depends},
-- 
2.43.0



Bug#1059207: aseba: add loong64 support

2023-12-21 Thread Zhang Na
Source: aseba
Version: 1.6.99+dfsg-8
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loong64 support

diff --git a/debian/control b/debian/control
index 1dad46e..b4c3cb4 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Vcs-Git: https://salsa.debian.org/science-team/aseba.git
 Homepage: https://github.com/aseba-community/aseba

 Package: aseba
-Architecture: any-amd64 any-i386 arm64 mips64el mipsel riscv64 s390x ppc64el
+Architecture: any-amd64 any-i386 arm64 mips64el mipsel riscv64 s390x ppc64el 
loong64
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Suggests: aseba-plugin-blockly


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect



Bug#1059021: baconqrcode: add loongarch64 support

2023-12-19 Thread Zhang Na
Source: baconqrcode
Version: 2.0.8-2
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loongarch64 support, thanks!


-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 853fa5b2b72851a26f29498335c2e4b99523cee7 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Tue, 19 Dec 2023 12:32:08 +
Subject: [PATCH] add loongarch64 support

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 9205873..8cdd33b 100644
--- a/debian/control
+++ b/debian/control
@@ -18,7 +18,7 @@ Rules-Requires-Root: no
 Depends: php, ${phpcomposer:Debian-require}
 
 Package: php-bacon-qr-code
-Architecture: any-amd64 any-arm64 any-ppc64 any-ppc64el any-s390x any-mips64el 
any-riscv64 any-sparc64 any-sparc64 any-ia64
+Architecture: any-amd64 any-arm64 any-ppc64 any-ppc64el any-s390x any-mips64el 
any-riscv64 any-sparc64 any-sparc64 any-ia64 any-loong64
 Depends: php-imagick, ${misc:Depends}, ${phpcomposer:Debian-require}
 Recommends: ${phpcomposer:Debian-recommend}
 Suggests: ${phpcomposer:Debian-suggest}
-- 
2.43.0



Bug#1058998: discosnp: add loong64 support

2023-12-18 Thread Zhang Na
Source: discosnp
Version: 1:2.6.2-2
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loong64 support, fix debian/contorl.
  Dependent package libgatbcore-dev, similar questions have been submitted 
(https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1058714)



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 29960adf5bd9e0598c6625d4e884dec8a3bd6b55 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Tue, 19 Dec 2023 07:36:18 +
Subject: [PATCH] add loong64 support

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index f7a7afd..d0a9ddc 100644
--- a/debian/control
+++ b/debian/control
@@ -19,7 +19,7 @@ Homepage: http://colibread.inria.fr/discosnp/
 Rules-Requires-Root: no
 
 Package: discosnp
-Architecture: any-amd64 arm64 mips64el ppc64el ia64 ppc64 riscv64 sparc64 alpha
+Architecture: any-amd64 arm64 mips64el ppc64el ia64 ppc64 riscv64 sparc64 
alpha loong64
 Depends: ${misc:Depends},
  ${shlibs:Depends},
  ${python3:Depends},
-- 
2.43.0



Bug#1058992: odil: add loong64 support

2023-12-18 Thread Zhang Na
Source: odil
Version: 0.12.2-3
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loong64 support, please! Thanks.

-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect
>From 6c23feb87e751cae8de5661a2f343f538c3f6b48 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Tue, 19 Dec 2023 06:24:05 +
Subject: [PATCH] add loong64 support

---
 debian/control | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 2204f1c..8ae7434 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Homepage: https://github.com/lamyj/odil
 Rules-Requires-Root: no
 
 Package: libodil0
-Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x alpha ia64 
powerpc ppc64 riscv64 x32
+Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x alpha ia64 
powerpc ppc64 riscv64 x32 loong64
 Multi-Arch: same
 Section: libs
 Depends: ${shlibs:Depends},
@@ -55,7 +55,7 @@ Description: C++11 library for the DICOM standard
  This package contains the shared library.
 
 Package: libodil-dev
-Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x
+Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x loong64
 Multi-Arch: same
 Section: libdevel
 Depends: libodil0 (= ${binary:Version}),
@@ -94,7 +94,7 @@ Description: C++11 library for the DICOM standard 
(documentation)
  This package contains the documentation files.
 
 Package: python3-odil
-Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x
+Architecture: amd64 arm64 armel armhf i386 mipsel ppc64el s390x loong64
 Multi-Arch: foreign
 Section: python
 Depends: libodil0 (= ${binary:Version}),
-- 
2.43.0



Bug#1058919: pktanon: add loong64 support

2023-12-18 Thread Zhang Na

On Mon, 18 Dec 2023 10:20:19 + Zhang Na wrote:
> Source: pktanon
> Version: 2~git20160407.0.2bde4f2+dfsg-11
> Severity: normal
> X-Debbugs-Cc: zhan...@loongson.cn
>
> Dear Maintainer,
>
> Add loong64 support, please.
>
>
>
> -- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 
(charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE not set

> Shell: /bin/sh linked to /usr/bin/dash
> Init: unable to detect
>
>

diff --git a/debian/control b/debian/control
index 1d1c793..9612928 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Vcs-Git: https://salsa.debian.org/debian/pktanon.git
 Vcs-Browser: https://salsa.debian.org/debian/pktanon

 Package: pktanon
-Architecture: amd64 arm64 i386 mips64el mipsel ppc64el alpha hppa ia64 
m68k powerpc ppc64 riscv64 sh4 sparc64 x32
+Architecture: amd64 arm64 i386 mips64el mipsel ppc64el alpha hppa ia64 
m68k powerpc ppc64 riscv64 sh4 sparc64 x32 loong64

 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: profile-based traffic anonymizer
  PKtAnon performs network trace anonymization, e.g. on pcap files.
--
2.43.0

>From 99e9175ab4a768f66958c7aae32d3e2accb61102 Mon Sep 17 00:00:00 2001
From: Zhang Na 
Date: Mon, 18 Dec 2023 10:17:07 +
Subject: [PATCH] add loong64 support

---
 debian/control | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/control b/debian/control
index 1d1c793..9612928 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,7 @@ Vcs-Git: https://salsa.debian.org/debian/pktanon.git
 Vcs-Browser: https://salsa.debian.org/debian/pktanon
 
 Package: pktanon
-Architecture: amd64 arm64 i386 mips64el mipsel ppc64el alpha hppa ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32
+Architecture: amd64 arm64 i386 mips64el mipsel ppc64el alpha hppa ia64 m68k powerpc ppc64 riscv64 sh4 sparc64 x32 loong64
 Depends: ${shlibs:Depends}, ${misc:Depends}
 Description: profile-based traffic anonymizer
  PKtAnon performs network trace anonymization, e.g. on pcap files.
-- 
2.43.0



Bug#1058919: pktanon: add loong64 support

2023-12-18 Thread Zhang Na
Source: pktanon
Version: 2~git20160407.0.2bde4f2+dfsg-11
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Add loong64 support, please.



-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect



Bug#1058907: princeprocessor: Add support for loong64

2023-12-17 Thread Zhang Na
Package: princeprocessor
Version: 0.22-5
Severity: normal
X-Debbugs-Cc: zhan...@loongson.cn

Dear Maintainer,

  Please add 'loong64' to the 'Architecture' field in the debian/control file, 
patch file is attached.

Thanks,
Zhang Na

-- 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=zh_CN.UTF-8, LC_CTYPE=zh_CN.UTF-8 (charmap=ANSI_X3.4-1968) 
(ignored: LC_ALL set to C), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: unable to detect

Versions of packages princeprocessor depends on:
ii  libc6  2.37-13

princeprocessor recommends no packages.

princeprocessor suggests no packages.

-- no debconf information
diff -Naur princeprocessor-0.22-orj/debian/control 
princeprocessor-0.22/debian/control
--- princeprocessor-0.22-orj/debian/control 2023-12-11 12:55:39.0 
+
+++ princeprocessor-0.22/debian/control 2023-12-18 07:29:58.031494138 +
@@ -11,7 +11,7 @@
 Homepage: https://github.com/hashcat/princeprocessor
 
 Package: princeprocessor
-Architecture: amd64 arm64 mips64el ppc64el s390x alpha kfreebsd-amd64 ppc64 
riscv64 sparc64 x32
+Architecture: amd64 arm64 mips64el ppc64el s390x alpha kfreebsd-amd64 ppc64 
riscv64 sparc64 x32 loong64
 Depends: ${misc:Depends},
  ${shlibs:Depends}
 Description: standalone password candidate generator using the PRINCE algorithm