From: Christian Lamparter Date: Mon, 26 Sep 2022 21:36:56 +0000 (+0200) Subject: carl9170 toolchain: update gcc to 12.2 / binutils 2.39 X-Git-Url: https://jxself.org/git/?a=commitdiff_plain;h=8bbbb4dcc171ff8e74e4f7e310e50491e90597b7;p=carl9170fw.git carl9170 toolchain: update gcc to 12.2 / binutils 2.39 and remove old SHA256SUMs. Also silences a linker warning that shows up: |ld: warning: carl9170.elf has a LOAD segment with RWX permissions unfortunately, yes. The embedded CPU has no MMU to make use of this. So, the warning is turned off. Signed-off-by: Christian Lamparter --- diff --git a/extra/sh-elf-linux.cmake b/extra/sh-elf-linux.cmake index 3fdf98c..713d33c 100644 --- a/extra/sh-elf-linux.cmake +++ b/extra/sh-elf-linux.cmake @@ -6,7 +6,7 @@ set_property(DIRECTORY PROPERTY TARGET_SUPPORTS_SHARED_LIBS FALSE) set(CMAKE_FIND_ROOT_PATH ${CMAKE_SOURCE_DIR}/toolchain/inst/) set(CMAKE_C_FLAGS "-m2 -ml -Os -ffreestanding -nostartfiles") -set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections") +set(CMAKE_C_LINK_FLAGS "-Wl,-static,-EL,-x,--gc-sections,--no-warn-rwx-segments") set(CMAKE_SHARED_LIBRARY_LINK_C_FLAGS "") set(OBJCOPY ${CMAKE_SOURCE_DIR}/toolchain/inst/bin/sh-elf-objcopy) diff --git a/toolchain/Makefile b/toolchain/Makefile index 57660ad..f00259a 100644 --- a/toolchain/Makefile +++ b/toolchain/Makefile @@ -1,4 +1,4 @@ -BINUTILS_VER=2.38 +BINUTILS_VER=2.39 BINUTILS_TAR=binutils-$(BINUTILS_VER).tar.xz BINUTILS_URL="http://mirrors.kernel.org/gnu/binutils/$(BINUTILS_TAR)" @@ -6,7 +6,7 @@ NEWLIB_VER=4.1.0 NEWLIB_TAR=newlib-$(NEWLIB_VER).tar.gz NEWLIB_URL="ftp://sourceware.org/pub/newlib/$(NEWLIB_TAR)" -GCC_VER=12.1.0 +GCC_VER=12.2.0 GCC_TAR=gcc-$(GCC_VER).tar.xz GCC_URL="http://mirrors.kernel.org/gnu/gcc/gcc-$(GCC_VER)/$(GCC_TAR)" diff --git a/toolchain/SHA256SUMS b/toolchain/SHA256SUMS index 2530a88..855952d 100644 --- a/toolchain/SHA256SUMS +++ b/toolchain/SHA256SUMS @@ -2,7 +2,7 @@ fd4829912cddd12f84181c3451cc752be224643e87fac497b69edddadc49b4f2 src/gmp-6.2.1. 17503d2c395dfcf106b622dc142683c1199431d095367c6aacba6eec30340459 src/mpc-1.2.1.tar.gz 0c98a3f1732ff6ca4ea690552079da9c597872d30e96ec28414ee23c95558a7f src/mpfr-4.1.0.tar.xz f296e372f51324224d387cc116dc37a6bd397198756746f93a2b02e9a5d40154 src/newlib-4.1.0.tar.gz -820d9724f020a3e69cb337893a0b63c2db161dadcb0e06fc11dc29eb1e84a32c src/binutils-2.37.tar.xz -d08edc536b54c372a1010ff6619dd274c0f1603aa49212ba20f7aa2cda36fa8b src/gcc-11.2.0.tar.xz e316477a914f567eccc34d5d29785b8b0f5a10208d36bbacedcc39048ecfe024 src/binutils-2.38.tar.xz 62fd634889f31c02b64af2c468f064b47ad1ca78411c45abe6ac4b5f8dd19c7b src/gcc-12.1.0.tar.xz +645c25f563b8adc0a81dbd6a41cffbf4d37083a382e02d5d3df4f65c09516d00 src/binutils-2.39.tar.xz +e549cf9cf3594a00e27b6589d4322d70e0720cdd213f39beb4181e06926230ff src/gcc-12.2.0.tar.xz