Source: golang-github-jacobsa-crypto
Severity: normal
Tags: patch
User: [email protected]
Usertags: loong64
X-Debbugs-Cc: [email protected]
Dear Maintainer,
golang-github-jacobsa-cryptocompiled incorrectly on loongarch architecture,
the attached patch solved the above problem and compiled successfully. Please
refer to patch to modify the code.
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.
.
golang-github-jacobsa-crypto (0.0~git20190317.9f44e2d+dfsg1-4) unstable;
urgency=medium
.
* Team Upload.
* d/t/{in-tree-testing,installed-packages}: Set GO111MODULE=off to
fix test with go 1.16
Author: Nilesh Patra <[email protected]>
---
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-05-13
---
golang-github-jacobsa-crypto-0.0~git20190317.9f44e2d+dfsg1.orig/cmac/hash_64bit.go
+++
golang-github-jacobsa-crypto-0.0~git20190317.9f44e2d+dfsg1/cmac/hash_64bit.go
@@ -13,7 +13,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
-// +build amd64 arm64 ppc64 ppc64le ppc64el mips64 mips64le mips64el s390x
alpha amd64p32 arm64be mipso64 mipsn64 mips64p32 mips64p32le ia64 riscv64
sparc64
+// +build amd64 arm64 ppc64 ppc64le ppc64el mips64 mips64le mips64el s390x
alpha amd64p32 arm64be loong64 mipso64 mipsn64 mips64p32 mips64p32le ia64
riscv64 sparc64
// This code assumes that it's safe to perform unaligned word-sized loads.
This is safe on:
// - arm64 per
http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.den0024a/ch05s01s02.html
_______________________________________________
Pkg-go-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-go-maintainers