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
This commit is contained in:
Solomon Peachy 2024-10-11 12:53:16 -04:00
parent edbcf0b0f4
commit 49b6853c19

View file

@ -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