[PATCH] gnu: libtool: Fix building on riscv64-linux.

  • Open
  • quality assurance status badge
Details
One participant
  • Efraim Flashner
Owner
unassigned
Submitted by
Efraim Flashner
Severity
normal
E
E
Efraim Flashner wrote on 17 Sep 2021 10:43
(address . guix-patches@gnu.org)(name . Efraim Flashner)(address . efraim@flashner.co.il)
d5303b67d8946152e71b3902c6671d865d5279f8.1631868073.git.efraim@flashner.co.il
* gnu/packages/patches/libtool-skip-tests2.patch: Adjust patch to also
affect riscv* machines.
---
gnu/packages/patches/libtool-skip-tests2.patch | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)

Toggle diff (41 lines)
diff --git a/gnu/packages/patches/libtool-skip-tests2.patch b/gnu/packages/patches/libtool-skip-tests2.patch
index c9d61e3b41..b0a479325f 100644
--- a/gnu/packages/patches/libtool-skip-tests2.patch
+++ b/gnu/packages/patches/libtool-skip-tests2.patch
@@ -1,4 +1,4 @@
-Skip the nopic test on ARM and MIPS systems.
+Skip the nopic test on ARM, MIPS and RISCV systems.
--- libtool-2.4.6/tests/demo.at.orig 2015-01-16 13:52:04.000000000 -0500
+++ libtool-2.4.6/tests/demo.at 2015-02-16 10:48:51.435851966 -0500
@@ -7,7 +7,7 @@ Skip the nopic test on ARM and MIPS systems.
AT_CHECK([case $host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
@@ -18,7 +18,7 @@ Skip the nopic test on ARM and MIPS systems.
{ set +x
$as_echo "$at_srcdir/demo.at:535: case \$host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)
@@ -27,7 +27,7 @@ Skip the nopic test on ARM and MIPS systems.
at_fn_check_prepare_notrace 'a `...` command substitution' "demo.at:535"
( $at_check_trace; case $host in
-hppa*|x86_64*|s390*)
-+hppa*|x86_64*|s390*|arm*|mips*)
++hppa*|x86_64*|s390*|arm*|mips*|riscv*)
# These hosts cannot use non-PIC shared libs
exit 77 ;;
*-solaris*|*-sunos*)

base-commit: 716470cda447e8cc3e73b09a8dfdcf1032aa37f2
--
2.33.0
E
E
Efraim Flashner wrote on 17 Sep 2021 10:48
Re: bug#50633: Acknowledgement ([PATCH] gnu: libtool: Fix building on riscv64-linux.)
(address . 50633@debbugs.gnu.org)
YURWafYVcOymfKjl@3900XT
block 50358 by 50633
stop

this fixes the test suite on riscv64-linux. If it isn't pushed it's not
a big deal, I have another patch that will work around this and not
rebuild the world.


--
Efraim Flashner <efraim@flashner.co.il> ????? ?????
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmFEVmkACgkQQarn3Mo9
g1HlUA//R3bR2psHNNqn8JEgPOwNBTvZgoRtvsyNAWmdvjBM83/TIAbvSgsyTHdl
cMWhlakEUiByVSN1iVqaBRjNmg8KYeC6jJHLTZazINVFhib8p9MpoS5E0xoqaSgM
i9bHcOTPKAkZCzg15Tcxy/+V4h316A1ZL24L46EcV3E/6SRzZOjySS7/AZM7FVBm
CYVDUum+4poexOnMtBvCXkjpvsQAVzO36309ic5hZGkPXNICPOOq5QrM0DNpjvSp
oziR/fLi5MJpCkK/hzQ2Dfur5Y0z2xKT1TrCwWwStY5E/Z93BeJoL6cXHeVajvxY
BLiAaGHAY87pWu1jjqXBWxM+lDHlHX+/al6vAilMqjGjMWSySpfwu41+b2RGFVwE
Xb8DlwEz9rRrghoa+m87GzasTB58UW6ynxVGFivwW4kgaD6uen5TDjnF+NZutCWn
Nf8NOjXXTHFtid5dQ7DR2nRUKqMNaKzPjswX+iO62y0tjOXMlpZrdOsEdPXyJP/0
RvWIBZdCTqJjgB63rRMg0XBPJpMRx5ibhrgLh7QWFkgRT7i5cLgrDBm4AUTy5k0Q
O/lvzOVNiJrRMPtbgq9AyWTnn/zX2vBePugBtjQUXzCgqRZHXf3n0b4xE+LTXxgI
N7Lz25EyHdF6lK1ARYWFCR8PX6HglKs1p41KwSraN+Aa5M1TQ84=
=NKLt
-----END PGP SIGNATURE-----


?