From 49b6853c19c5ae6414efa2aca379eccb9a573f98 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Fri, 11 Oct 2024 12:53:16 -0400 Subject: [PATCH] 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 --- tools/rockboxdev.sh | 12 ++++++------ 1 file 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