summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSolomon Peachy <pizza@shaftnet.org>2024-10-11 12:53:16 -0400
committerSolomon Peachy <pizza@shaftnet.org>2024-10-11 13:01:26 -0400
commit49b6853c19c5ae6414efa2aca379eccb9a573f98 (patch)
treece6d4420ad7aca6bc868473473d05e864ffa4d46
parentedbcf0b0f4fc7c4a4315fc1eec24ac37723c9f8e (diff)
downloadrockbox-49b6853c19.tar.gz
rockbox-49b6853c19.zip
rockboxdev.sh: bump required version of GMP and MPFR
GMP 4.3.2 was quite old even at the time of the GCC 4.9.4 release, and it refuses to compile out of the box on modern toolchains (eg GCC 14) due to issues in the configure script. Instead of trying to backport fixes, just bump it up to 6.1.2, the final release in the 6.1.x series that was current when GCC 4.9.4 was released. Meanwhile, with the update to GMP, the also-quite-old MPFR 3.1.0 fails to compile; instead bump it up to 3.1.6, which is the final release in the 3.1.x series. Change-Id: I356c07282b20629c90fb0de1b8be40d2c55bbefc
-rwxr-xr-xtools/rockboxdev.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/rockboxdev.sh b/tools/rockboxdev.sh
index f8e9ab2140..7e363da160 100755
--- a/tools/rockboxdev.sh
+++ b/tools/rockboxdev.sh
@@ -464,16 +464,16 @@ build() {
cd "$toolname-$version"
if (echo $needs_libs | grep -q gmp && test ! -d gmp); then
echo "ROCKBOXDEV: Getting GMP"
- getfile "gmp-4.3.2.tar.bz2" "$GNU_MIRROR/gmp"
- tar xjf $dlwhere/gmp-4.3.2.tar.bz2
- ln -s gmp-4.3.2 gmp
+ getfile "gmp-6.1.2.tar.xz" "$GNU_MIRROR/gmp"
+ tar xJf $dlwhere/gmp-6.1.2.tar.xz
+ ln -s gmp-6.1.2 gmp
fi
if (echo $needs_libs | grep -q mpfr && test ! -d mpfr); then
echo "ROCKBOXDEV: Getting MPFR"
- getfile "mpfr-3.1.0.tar.bz2" "$GNU_MIRROR/mpfr"
- tar xjf $dlwhere/mpfr-3.1.0.tar.bz2
- ln -s mpfr-3.1.0 mpfr
+ getfile "mpfr-3.1.6.tar.xz" "$GNU_MIRROR/mpfr"
+ tar xJf $dlwhere/mpfr-3.1.6.tar.xz
+ ln -s mpfr-3.1.6 mpfr
fi
if (echo $needs_libs | grep -q mpc && test ! -d mpc); then