Source: gmp
Version: 2:6.1.2+dfsg-2
Severity: wishlist
Tags: patch
User: debian-ri...@lists.debian.org
Usertags: riscv64

Hello,

We need changes in this package to bootstrap the riscv64 architecture, in
particular we need an updated symbols file.

I am attaching a patch that allowed me to compile the package.

It would be great if you could include these changes and release a new version
for unstable.

If we can do something to speed-up this process, please let me/us know.


Thanks and cheers.
--
Manuel A. Fernandez Montecelo <m...@debian.org>
--- ../libgmp10.symbols.orig    2018-03-06 15:44:17.633015980 +0000
+++ debian/libgmp10.symbols     2018-03-06 15:44:22.576939680 +0000
@@ -215,7 +215,7 @@
  (arch=any-i386)__gmpn_add_n_pentium@Base 2:5.1.1
  __gmpn_add_n_sub_n@Base 2:5.1.1
  (arch=any-i386)__gmpn_add_n_x86@Base 2:5.1.1
- (arch=!hppa !mips !mipsel !m68k !nios2 !s390x !sh3 !sh4 !sparc !sparc64 
!tilegx !any-i386)__gmpn_add_nc@Base 0
+ (arch=!hppa !mips !mipsel !m68k !nios2 !riscv64 !s390x !sh3 !sh4 !sparc 
!sparc64 !tilegx !any-i386)__gmpn_add_nc@Base 0
  (arch=any-i386)__gmpn_add_nc_atom@Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_k6@Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_k7@Base 2:5.1.1
@@ -224,9 +224,9 @@
  (arch=any-i386)__gmpn_add_nc_pentium@Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_x86@Base 2:5.1.1
  (arch=any-amd64)__gmpn_addaddmul_1msb0@Base 0
- (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !sparc 
!sparc64 !sh3 !sh4 !tilegx)__gmpn_addlsh1_n@Base 0
+ (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !riscv64 
!sparc !sparc64 !sh3 !sh4 !tilegx)__gmpn_addlsh1_n@Base 0
  (arch=any-i386)__gmpn_addlsh1_n_init@Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 
!tilegx)__gmpn_addlsh2_n@Base 0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 
!tilegx)__gmpn_addlsh2_n@Base 0
  (arch=any-i386)__gmpn_addlsh2_n_init@Base 2:5.1.1
  (arch=any-amd64)__gmpn_addlsh_n@Base 0
  __gmpn_addmul_1@Base 0
@@ -394,7 +394,7 @@
  __gmpn_hgcd_reduce_itch@Base 2:5.1.1
  __gmpn_hgcd_step@Base 2:5.1.1
  __gmpn_invert@Base 0
- (arch=!hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !sparc !sparc64 !sh3 
!sh4 !tilegx !any-i386)__gmpn_invert_limb@Base 0
+ (arch=!hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !riscv64 !sparc 
!sparc64 !sh3 !sh4 !tilegx !any-i386)__gmpn_invert_limb@Base 0
  __gmpn_invertappr@Base 0
  __gmpn_ior_n@Base 0
  __gmpn_iorn_n@Base 0
@@ -507,7 +507,7 @@
  (arch=any-i386)__gmpn_mul_1_pentium@Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1_pentium_mmx@Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1_x86@Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_mul_1c@Base 0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_mul_1c@Base 0
  (arch=any-i386)__gmpn_mul_1c_atom_sse2@Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1c_k6@Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1c_k7@Base 2:5.1.1
@@ -571,13 +571,13 @@
  __gmpn_redc_n@Base 0
  __gmpn_remove@Base 0
  __gmpn_rootrem@Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k 
!nios2 !powerpc !powerpcspe !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsblsh1_n@Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k 
!nios2 !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsblsh2_n@Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc 
!sparc64 !tilegx !any-i386)__gmpn_rsblsh_n@Base 0
- (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsh1add_n@Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc 
!sparc64 !tilegx !any-i386)__gmpn_rsh1add_nc@Base 0
- (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsh1sub_n@Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc 
!sparc64 !tilegx !any-i386)__gmpn_rsh1sub_nc@Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k 
!nios2 !powerpc !powerpcspe !riscv64 !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsblsh1_n@Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k 
!nios2 !powerpc !powerpcspe !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsblsh2_n@Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sh3 !sh4 
!sparc !sparc64 !tilegx !any-i386)__gmpn_rsblsh_n@Base 0
+ (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsh1add_n@Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sh3 !sh4 
!sparc !sparc64 !tilegx !any-i386)__gmpn_rsh1add_nc@Base 0
+ (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!powerpc !powerpcspe !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_rsh1sub_n@Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !ia64 !mips !mipsel !mips64 !mips64el 
!m68k !nios2 !powerpc !powerpcspe !ppc64 !ppc64el !riscv64 !s390x !sh3 !sh4 
!sparc !sparc64 !tilegx !any-i386)__gmpn_rsh1sub_nc@Base 0
  __gmpn_rshift@Base 0
  (arch=any-i386)__gmpn_rshift_atom@Base 2:5.1.1
  (arch=any-i386)__gmpn_rshift_init@Base 2:5.1.1
@@ -629,7 +629,7 @@
  (arch=any-i386)__gmpn_sqr_basecase_pentium4_sse2@Base 2:5.1.1
  (arch=any-i386)__gmpn_sqr_basecase_pentium@Base 2:5.1.1
  (arch=any-i386)__gmpn_sqr_basecase_x86@Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!ppc64 !ppc64el !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_sqr_diag_addlsh1@Base 2:6.0.0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 
!ppc64 !ppc64el !riscv64 !s390x !sh3 !sh4 !sparc !sparc64 !tilegx 
!any-i386)__gmpn_sqr_diag_addlsh1@Base 2:6.0.0
  __gmpn_sqrlo@Base 2:6.1.0
  __gmpn_sqrlo_basecase@Base 2:6.1.0
  __gmpn_sqrmod_bnm1@Base 0
@@ -649,7 +649,7 @@
  (arch=any-i386)__gmpn_sub_n_pentium4_sse2@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_n_pentium@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_n_x86@Base 2:5.1.1
- (arch=!hppa !mips !mipsel !m68k !nios2 !s390x !sh3 !sh4 !sparc !sparc64 
!tilegx !any-i386)__gmpn_sub_nc@Base 0
+ (arch=!hppa !mips !mipsel !m68k !nios2 !riscv64 !s390x !sh3 !sh4 !sparc 
!sparc64 !tilegx !any-i386)__gmpn_sub_nc@Base 0
  (arch=any-i386)__gmpn_sub_nc_atom@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_k6@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_k7@Base 2:5.1.1
@@ -657,7 +657,7 @@
  (arch=any-i386)__gmpn_sub_nc_pentium4_sse2@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_pentium@Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_x86@Base 2:5.1.1
- (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !sh3 !sh4 
!sparc !sparc64 !tilegx)__gmpn_sublsh1_n@Base 0
+ (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !nios2 !riscv64 !sh3 
!sh4 !sparc !sparc64 !tilegx)__gmpn_sublsh1_n@Base 0
  (arch=any-i386)__gmpn_sublsh1_n_init@Base 2:5.1.1
  (arch=alpha ia64 ppc64 ppc64el)__gmpn_sublsh2_n@Base 2:5.1.1
  __gmpn_submul_1@Base 0
-- 
debian-science-maintainers mailing list
debian-science-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to