Source: grpc
Version: 1.30.2-4
Followup-For: Bug #1024744
User: debian-ri...@lists.debian.org
Usertags: riscv64
X-Debbugs-Cc: m...@debian.org, locutusofb...@debian.org, bba...@debian.org
Control: tags -1 ftbfs patch


Hi,

> If you have time, please look into this. Sure, grpc 1.51.0 may still
> need to link with atomic, but first we need to get abseil work on
> riscv64.

Yes, it will still need to link against -latomic.

The package in its current version in unstable builds with the patch attached, I
built the package locally on this architecture, so please include it in the next
uploads -- as Gianfranco said, it's critical for LLVM.

Regarding grpc 1.51.0 and abseil, we're looking at it in parallel and probably
will submit a patch about it in the next days, so I hope that it will be ready
by the time that you want to migrate to the newer version.


Thanks and cheers.
-- 
Manuel A. Fernandez Montecelo <m...@debian.org>
diff -Nru grpc-1.30.2/debian/changelog grpc-1.30.2/debian/changelog
--- grpc-1.30.2/debian/changelog        2022-09-25 18:03:42.000000000 +0000
+++ grpc-1.30.2/debian/changelog        2022-11-30 10:55:30.000000000 +0000
@@ -1,3 +1,10 @@
+grpc (1.30.2-4+0.riscv64.1) unreleased; urgency=medium
+
+  * Non-maintainer upload.
+  * riscv64: build without tests, try to link against -latomic
+
+ -- Manuel A. Fernandez Montecelo <m...@debian.org>  Wed, 30 Nov 2022 10:55:30 
+0000
+
 grpc (1.30.2-4) unstable; urgency=medium
 
   * Import setuptools before distutils in setup.py (closes: #1020116).
diff -Nru grpc-1.30.2/debian/rules grpc-1.30.2/debian/rules
--- grpc-1.30.2/debian/rules    2021-01-13 21:50:31.000000000 +0000
+++ grpc-1.30.2/debian/rules    2022-11-30 10:55:30.000000000 +0000
@@ -25,7 +25,7 @@
 # package maintainers to append LDFLAGS
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc))
+ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc riscv64))
   export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
 endif
 
diff -Nru grpc-1.30.2/debian/changelog grpc-1.30.2/debian/changelog
--- grpc-1.30.2/debian/changelog        2022-09-25 18:03:42.000000000 +0000
+++ grpc-1.30.2/debian/changelog        2022-11-30 10:55:30.000000000 +0000
@@ -1,3 +1,10 @@
+grpc (1.30.2-4+0.riscv64.1) unreleased; urgency=medium
+
+  * Non-maintainer upload.
+  * riscv64: build without tests, try to link against -latomic
+
+ -- Manuel A. Fernandez Montecelo <m...@debian.org>  Wed, 30 Nov 2022 10:55:30 
+0000
+
 grpc (1.30.2-4) unstable; urgency=medium
 
   * Import setuptools before distutils in setup.py (closes: #1020116).
diff -Nru grpc-1.30.2/debian/rules grpc-1.30.2/debian/rules
--- grpc-1.30.2/debian/rules    2021-01-13 21:50:31.000000000 +0000
+++ grpc-1.30.2/debian/rules    2022-11-30 10:55:30.000000000 +0000
@@ -25,7 +25,7 @@
 # package maintainers to append LDFLAGS
 export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
-ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc))
+ifneq (,$(filter $(DEB_HOST_ARCH), armel mips mipsel powerpc riscv64))
   export DEB_LDFLAGS_MAINT_APPEND = -Wl,--no-as-needed -latomic -Wl,--as-needed
 endif
 

Reply via email to