mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-09 18:45:54 +02:00
gcc: Update to 11.3.0
This is just a bug fix release that we should be using. Signed-off-by: Michael Tremer <michael.tremer@ipfire.org> Acked-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
committed by
Peter Müller
parent
9c51f71f2f
commit
89be2a0b3b
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
8
lfs/gcc
8
lfs/gcc
@@ -24,7 +24,7 @@
|
||||
|
||||
include Config
|
||||
|
||||
VER = 11.1.0
|
||||
VER = 11.3.0
|
||||
|
||||
GMP_VER = 6.2.1
|
||||
MPFR_VER = 4.1.0
|
||||
@@ -201,7 +201,7 @@ gmp-$(GMP_VER).tar.xz = $(DL_FROM)/gmp-$(GMP_VER).tar.xz
|
||||
mpfr-$(MPFR_VER).tar.xz = $(DL_FROM)/mpfr-$(MPFR_VER).tar.xz
|
||||
mpc-$(MPC_VER).tar.gz = $(DL_FROM)/mpc-$(MPC_VER).tar.gz
|
||||
|
||||
$(DL_FILE)_BLAKE2 = fe617e776b0270d11adea21b5c37d889de90865c19ab82d1c37bbd5c5b9c583a98c174606c4f893ca4950a4233e2a58aae93ad6aa7ad33d4e78a31c72371c1ed
|
||||
$(DL_FILE)_BLAKE2 = 7e562d25446ca4ab9fe8cdb714866f66aba3744d78bf84f31bfb097c1a981e4c7f990cb1e6bcfec5ae6671836a4984e2b70eb8fed81dcef5e244f88da8623469
|
||||
gmp-$(GMP_VER).tar.xz_BLAKE2 = c0d85f175392a50cfa01bc6b0a312b235946ad8b4f6f84f6dabd33d7a6f2cc75c9b0e1e33057be07750bfa0145b7c4cf3b6188a5be6ca9d7271ec2276c84ebcb
|
||||
mpfr-$(MPFR_VER).tar.xz_BLAKE2 = 41d1be0c4b557760f12a4525ad3a84b6e2cd6f0927c935fcfba577ac0490e582d1ae4b581dce58e21e705cf9d7c88373054d7fb7a94bb32c69b339f99a25dc68
|
||||
mpc-$(MPC_VER).tar.gz_BLAKE2 = 9cd03c6a71839e4cdb3c1f18d718cc4d3097c3f8ec307a5c756bd5df27c68aa013755156b3b156efee1acabfee2269602c6a3a358092ef0d522271c9c56c133d
|
||||
@@ -234,10 +234,6 @@ $(subst %,%_BLAKE2,$(objects)) :
|
||||
$(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
|
||||
@$(PREBUILD)
|
||||
@rm -rf $(DIR_APP) $(DIR_SRC)/gcc-build && cd $(DIR_SRC) && tar axf $(DIR_DL)/$(DL_FILE)
|
||||
|
||||
cd $(DIR_APP) && patch -Np1 < $(DIR_SRC)/src/patches/gcc/gcc.git-745dae5-remove_cyclades.patch
|
||||
|
||||
|
||||
@mkdir $(DIR_SRC)/gcc-build
|
||||
|
||||
cd $(DIR_APP) && sed -i 's/install_to_$$(INSTALL_DEST) //' libiberty/Makefile.in
|
||||
|
||||
25
make.sh
25
make.sh
@@ -35,7 +35,7 @@ GIT_BRANCH="$(git rev-parse --abbrev-ref HEAD)" # Git Branch
|
||||
GIT_TAG="$(git tag | tail -1)" # Git Tag
|
||||
GIT_LASTCOMMIT="$(git rev-parse --verify HEAD)" # Last commit
|
||||
|
||||
TOOLCHAINVER=20220203
|
||||
TOOLCHAINVER=20220508
|
||||
|
||||
# use multicore and max compression
|
||||
ZSTD_OPT="-T0 --ultra -22"
|
||||
@@ -984,29 +984,6 @@ if [ "${ENABLE_RAMDISK}" = "auto" ]; then
|
||||
fi
|
||||
|
||||
buildtoolchain() {
|
||||
local error=false
|
||||
case "${BUILD_ARCH}:${HOST_ARCH}" in
|
||||
# x86_64
|
||||
x86_64:x86_64)
|
||||
# This is working.
|
||||
;;
|
||||
|
||||
# ARM
|
||||
arvm7hl:armv7hl|armv7hl:armv7l)
|
||||
# These are working.
|
||||
;;
|
||||
|
||||
armv6l:armv6l|armv6l:armv7l|armv6l:aarch64)
|
||||
# These are working.
|
||||
;;
|
||||
armv6l:*)
|
||||
error=true
|
||||
;;
|
||||
esac
|
||||
|
||||
${error} && \
|
||||
exiterror "Cannot build ${BUILD_ARCH} toolchain on $(uname -m). Please use the download if any."
|
||||
|
||||
local gcc=$(type -p gcc)
|
||||
if [ -z "${gcc}" ]; then
|
||||
exiterror "Could not find GCC. You will need a working build enviroment in order to build the toolchain."
|
||||
|
||||
Reference in New Issue
Block a user