[Pkg-privacy-maintainers] Bug#1088542: snowflake: Please add support for loong64

wuruilong wuruilong at loongson.cn
Thu Nov 28 08:19:53 GMT 2024


Source: snowflake
Version: 2.5.1-1
Severity: normal
X-Debbugs-Cc: wuruilong at loongson.cn

Dear Maintainer,

Snowflake compiles incorrectly on the loongarch platform due to the dependency on golang-refraction-networking-utls software. The attached patch for golang-refraction-networking-utls has been verified and can be successfully compiled on the loongarch platform after modification. Please forward the patch to the maintainer of golang-refraction-networking-utls for merging.

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
-------------- next part --------------
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.
 .
 golang-refraction-networking-utls (1.2.1-2) unstable; urgency=medium
 .
   * Team upload
   * Use short mode in tests to skip external network related.
     And enable tests on ppc64le. The failed test in #976940 is removed
     by upstream.
   * Add patch to skip failed handshake tests.
Author: Shengjing Zhu <zhsj at debian.org>

---
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-11-28

--- golang-refraction-networking-utls-1.2.1.orig/cpu/cpu_loong64.go
+++ golang-refraction-networking-utls-1.2.1/cpu/cpu_loong64.go
@@ -7,7 +7,7 @@
 
 package cpu
 
-const CacheLineSize = 64
+const CacheLinePadSize = 64
 
-func initOptions() {
+func doinit() {
 }



More information about the Pkg-privacy-maintainers mailing list