upgrade Linaro GCC 4.8 to 2014.01

Signed-off-by: Imre Kaloz <kaloz@openwrt.org>

SVN-Revision: 39501
master
Imre Kaloz 11 years ago
parent a7f0eb013a
commit 5e906232b0
  1. 6
      toolchain/gcc/common.mk
  2. 4
      toolchain/gcc/patches/4.8-linaro/910-mbsd_multi.patch
  3. 2
      toolchain/gcc/patches/4.8-linaro/920-specs_nonfatal_getenv.patch

@ -2,7 +2,7 @@
# Copyright (C) 2002-2003 Erik Andersen <andersen@uclibc.org> # Copyright (C) 2002-2003 Erik Andersen <andersen@uclibc.org>
# Copyright (C) 2004 Manuel Novoa III <mjn3@uclibc.org> # Copyright (C) 2004 Manuel Novoa III <mjn3@uclibc.org>
# Copyright (C) 2005-2006 Felix Fietkau <nbd@openwrt.org> # Copyright (C) 2005-2006 Felix Fietkau <nbd@openwrt.org>
# Copyright (C) 2006-2013 OpenWrt.org # Copyright (C) 2006-2014 OpenWrt.org
# #
# This program is free software; you can redistribute it and/or modify # This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by # it under the terms of the GNU General Public License as published by
@ -34,10 +34,10 @@ ifeq ($(findstring linaro, $(CONFIG_GCC_VERSION)),linaro)
PKG_COMP:=bz2 PKG_COMP:=bz2
endif endif
ifeq ($(CONFIG_GCC_VERSION),"4.8-linaro") ifeq ($(CONFIG_GCC_VERSION),"4.8-linaro")
PKG_REV:=4.8-2013.12 PKG_REV:=4.8-2014.01
PKG_VERSION:=4.8.3 PKG_VERSION:=4.8.3
PKG_VERSION_MAJOR:=4.8 PKG_VERSION_MAJOR:=4.8
PKG_MD5SUM:=bd7a22ff4d1b6bb4824ef908e07bde66 PKG_MD5SUM:=b8bc08b05ff079dcdc020336a67ca4e1
PKG_COMP:=xz PKG_COMP:=xz
endif endif
PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/ PKG_SOURCE_URL:=http://launchpad.net/gcc-linaro/$(PKG_VERSION_MAJOR)/$(PKG_REV)/+download/

@ -209,7 +209,7 @@
-Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol -Wfatal-errors -Wfloat-equal -Wformat -Wformat=2 @gol
-Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol -Wno-format-contains-nul -Wno-format-extra-args -Wformat-nonliteral @gol
-Wformat-security -Wformat-y2k @gol -Wformat-security -Wformat-y2k @gol
@@ -4809,6 +4809,22 @@ This option is only supported for C and @@ -4817,6 +4817,22 @@ This option is only supported for C and
@option{-Wall} and by @option{-Wpedantic}, which can be disabled with @option{-Wall} and by @option{-Wpedantic}, which can be disabled with
@option{-Wno-pointer-sign}. @option{-Wno-pointer-sign}.
@ -232,7 +232,7 @@
@item -Wstack-protector @item -Wstack-protector
@opindex Wstack-protector @opindex Wstack-protector
@opindex Wno-stack-protector @opindex Wno-stack-protector
@@ -6920,7 +6936,7 @@ so, the first branch is redirected to ei @@ -6928,7 +6944,7 @@ so, the first branch is redirected to ei
second branch or a point immediately following it, depending on whether second branch or a point immediately following it, depending on whether
the condition is known to be true or false. the condition is known to be true or false.

@ -1,6 +1,6 @@
--- a/gcc/gcc.c --- a/gcc/gcc.c
+++ b/gcc/gcc.c +++ b/gcc/gcc.c
@@ -8004,7 +8004,10 @@ getenv_spec_function (int argc, const ch @@ -8029,7 +8029,10 @@ getenv_spec_function (int argc, const ch
value = getenv (argv[0]); value = getenv (argv[0]);
if (!value) if (!value)

Loading…
Cancel
Save