Toolchains: Update to GCC 10.5.0

All toolchain dependencies are circa the GCC 10.5.0 release:

  GCC 10.5.0, binutils 2.40, gmp 6.2.1, mpfr 4.1.1, mpc 1.3.1, isl 0.24

Native:

 * arm - mini2g, nano2g works
       - ipod6g hangs at logo display
 * mips - xduoox3 works
 * m68k - binaries untested

Hosted:

 * arm - samsungypr0 works
 * mips - xduoox3ii works
 * Android NDK - unchanged at GCC 4.9.4

Change-Id: Ic9c4ad487927d2ad4247c140f1a7db2740e5f316
This commit is contained in:
Solomon Peachy 2022-10-09 19:17:41 -04:00
parent 0456ec5630
commit 94712b34d4
13 changed files with 253 additions and 195 deletions

17
tools/configure vendored
View file

@ -138,7 +138,7 @@ app_set_lcd_size () {
findarmgcc() {
prefixtools arm-elf-eabi-
gccchoice="4.9.4"
gccchoice="10.5.0"
}
# scan the $PATH for the given command
@ -548,7 +548,7 @@ coldfirecc () {
GCCOPTS="$CCOPTS -mcpu=5249 -malign-int -mstrict-align"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="big"
gccchoice="4.9.4"
gccchoice="10.5.0"
}
arm7tdmicc () {
@ -628,7 +628,7 @@ mipselcc () {
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="4.9.4"
gccchoice="10.5.0"
}
mipsr2elcc () {
@ -638,7 +638,7 @@ mipsr2elcc () {
GCCOPTS="$GCCOPTS -ffunction-sections -msoft-float -G 0 -Wno-parentheses"
GCCOPTIMIZE="-fomit-frame-pointer"
endian="little"
gccchoice="4.9.4"
gccchoice="10.5.0"
}
maemocc () {
@ -776,6 +776,7 @@ arm1176jzlinuxcc () {
GCCOPTIMIZE=''
LDOPTS="-lasound -lpthread -lm -ldl -lrt $LDOPTS"
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs" # warn about undefined symbols in shared libraries
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,-z,defs -Wl,-z,noexecstack" # Stack is not executable
SHARED_LDFLAGS="-shared"
SHARED_CFLAGS=''
endian="little"
@ -785,7 +786,7 @@ arm1176jzlinuxcc () {
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
# Set up compiler
gccchoice="4.9.4"
gccchoice="10.5.0"
prefixtools "arm-rockbox-linux-gnueabi-"
}
@ -965,7 +966,7 @@ mipsellinuxcc () {
GCCOPTS="$GCCOPTS -D_GNU_SOURCE=1 -U_FORTIFY_SOURCE -D_REENTRANT"
# Set up compiler
gccchoice="4.9.4"
gccchoice="10.5.0"
prefixtools "mipsel-rockbox-linux-gnu-"
}
@ -4696,6 +4697,10 @@ else
ldnum=`$LD --version | sed -n '1p' | sed -e 's/.* \([0-9]*\)\.\([0-9]*\).*/\1\2/'`
fi
if test "$ldnum" -ge "239"; then
GLOBAL_LDOPTS="$GLOBAL_LDOPTS -Wl,--no-warn-rwx-segments"
fi
if test "$ldnum" -ge "227"; then
have_nocrossrefs_to="#define HAVE_NOCROSSREFS_TO"
else