Bug#851895: gmp: Please update symbols for sh3

John Paul Adrian Glaubitz glaubitz at physik.fu-berlin.de
Thu Jan 19 16:53:30 UTC 2017


Source: gmp
Version: 2:6.1.2+dfsg-1
Severity: normal
Tags: patch
User: helmutg at debian.org
Usertags: rebootstrap

Hi!

We're currently adding sh3 as a new architecture to rebootstrap which
allows to cross-bootstrap Debian for architectures. sh3 is an older
architecture which is currently being redesigned as an open source
CPU with the name J-Core.

While cross-bootstrapping, the build stopped because the symbols for
gmp need to be updated for sh3. This can be trivially achieved by
globally replacing "!sh4" with "!sh3 !sh4" in libgmp10.symbols:

	 $ sed -i 's/!sh4/!sh3 !sh4/g' debian/libgmp10.symbols

But it's also possible just to apply the attached debdiff.

Thanks,
Adrian

--
 .''`.  John Paul Adrian Glaubitz
: :' :  Debian Developer - glaubitz at debian.org
`. `'   Freie Universitaet Berlin - glaubitz at physik.fu-berlin.de
  `-    GPG: 62FF 8A75 84E0 2956 9546  0006 7426 3B37 F5B5 F913
-------------- next part --------------
diff -Nru a/gmp-6.1.2+dfsg/debian/libgmp10.symbols b/gmp-6.1.2+dfsg/debian/libgmp10.symbols
--- a/gmp-6.1.2+dfsg/debian/libgmp10.symbols	2015-11-17 12:07:24.000000000 +0100
+++ b/gmp-6.1.2+dfsg/debian/libgmp10.symbols	2017-01-19 17:15:34.296930214 +0100
@@ -215,7 +215,7 @@
  (arch=any-i386)__gmpn_add_n_pentium at Base 2:5.1.1
  __gmpn_add_n_sub_n at Base 2:5.1.1
  (arch=any-i386)__gmpn_add_n_x86 at Base 2:5.1.1
- (arch=!hppa !mips !mipsel !m68k !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_add_nc at Base 0
+ (arch=!hppa !mips !mipsel !m68k !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_add_nc at Base 0
  (arch=any-i386)__gmpn_add_nc_atom at Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_k6 at Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_k7 at Base 2:5.1.1
@@ -224,9 +224,9 @@
  (arch=any-i386)__gmpn_add_nc_pentium at Base 2:5.1.1
  (arch=any-i386)__gmpn_add_nc_x86 at Base 2:5.1.1
  (arch=any-amd64)__gmpn_addaddmul_1msb0 at Base 0
- (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !sparc !sparc64 !sh4)__gmpn_addlsh1_n at Base 0
+ (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !sparc !sparc64 !sh3 !sh4)__gmpn_addlsh1_n at Base 0
  (arch=any-i386)__gmpn_addlsh1_n_init at Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh4 !sparc !sparc64)__gmpn_addlsh2_n at Base 0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64)__gmpn_addlsh2_n at Base 0
  (arch=any-i386)__gmpn_addlsh2_n_init at Base 2:5.1.1
  (arch=any-amd64)__gmpn_addlsh_n at Base 0
  __gmpn_addmul_1 at Base 0
@@ -394,7 +394,7 @@
  __gmpn_hgcd_reduce_itch at Base 2:5.1.1
  __gmpn_hgcd_step at Base 2:5.1.1
  __gmpn_invert at Base 0
- (arch=!hppa !mips !mipsel !mips64 !mips64el !m68k !sparc !sparc64 !sh4 !any-i386)__gmpn_invert_limb at Base 0
+ (arch=!hppa !mips !mipsel !mips64 !mips64el !m68k !sparc !sparc64 !sh3 !sh4 !any-i386)__gmpn_invert_limb at Base 0
  __gmpn_invertappr at Base 0
  __gmpn_ior_n at Base 0
  __gmpn_iorn_n at Base 0
@@ -507,7 +507,7 @@
  (arch=any-i386)__gmpn_mul_1_pentium at Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1_pentium_mmx at Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1_x86 at Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_mul_1c at Base 0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_mul_1c at Base 0
  (arch=any-i386)__gmpn_mul_1c_atom_sse2 at Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1c_k6 at Base 2:5.1.1
  (arch=any-i386)__gmpn_mul_1c_k7 at Base 2:5.1.1
@@ -571,13 +571,13 @@
  __gmpn_redc_n at Base 0
  __gmpn_remove at Base 0
  __gmpn_rootrem at Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh1_n at Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh2_n at Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh_n at Base 0
- (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1add_n at Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1add_nc at Base 0
- (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1sub_n at Base 0
- (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1sub_nc at Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh1_n at Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh2_n at Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsblsh_n at Base 0
+ (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1add_n at Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1add_nc at Base 0
+ (arch=!alpha !arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1sub_n at Base 0
+ (arch=!alpha !arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !powerpc !powerpcspe !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_rsh1sub_nc at Base 0
  __gmpn_rshift at Base 0
  (arch=any-i386)__gmpn_rshift_atom at Base 2:5.1.1
  (arch=any-i386)__gmpn_rshift_init at Base 2:5.1.1
@@ -629,7 +629,7 @@
  (arch=any-i386)__gmpn_sqr_basecase_pentium4_sse2 at Base 2:5.1.1
  (arch=any-i386)__gmpn_sqr_basecase_pentium at Base 2:5.1.1
  (arch=any-i386)__gmpn_sqr_basecase_x86 at Base 2:5.1.1
- (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !ppc64 !ppc64el !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_sqr_diag_addlsh1 at Base 2:6.0.0
+ (arch=!arm64 !armel !armhf !hppa !mips !mipsel !mips64 !mips64el !m68k !ppc64 !ppc64el !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_sqr_diag_addlsh1 at Base 2:6.0.0
  __gmpn_sqrlo at Base 2:6.1.0
  __gmpn_sqrlo_basecase at Base 2:6.1.0
  __gmpn_sqrmod_bnm1 at Base 0
@@ -649,7 +649,7 @@
  (arch=any-i386)__gmpn_sub_n_pentium4_sse2 at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_n_pentium at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_n_x86 at Base 2:5.1.1
- (arch=!hppa !mips !mipsel !m68k !s390x !sh4 !sparc !sparc64 !any-i386)__gmpn_sub_nc at Base 0
+ (arch=!hppa !mips !mipsel !m68k !s390x !sh3 !sh4 !sparc !sparc64 !any-i386)__gmpn_sub_nc at Base 0
  (arch=any-i386)__gmpn_sub_nc_atom at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_k6 at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_k7 at Base 2:5.1.1
@@ -657,7 +657,7 @@
  (arch=any-i386)__gmpn_sub_nc_pentium4_sse2 at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_pentium at Base 2:5.1.1
  (arch=any-i386)__gmpn_sub_nc_x86 at Base 2:5.1.1
- (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !sh4 !sparc !sparc64)__gmpn_sublsh1_n at Base 0
+ (arch=!arm64 !hppa !mips !mipsel !mips64 !mips64el !m68k !sh3 !sh4 !sparc !sparc64)__gmpn_sublsh1_n at Base 0
  (arch=any-i386)__gmpn_sublsh1_n_init at Base 2:5.1.1
  (arch=alpha ppc64 ppc64el)__gmpn_sublsh2_n at Base 2:5.1.1
  __gmpn_submul_1 at Base 0


More information about the debian-science-maintainers mailing list