diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2017-07-10 14:29:41 +0200 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2017-07-11 22:17:12 +0200 |
commit | 1a405ea56d5240832df10c5491cecc13efbb0b2d (patch) | |
tree | c2b507aab96c26aacb125593089f8025f3762aaf /package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch | |
parent | 2ab924213d3d50b176f1b8efaecb5fcaef28dae4 (diff) | |
download | buildroot-1a405ea56d5240832df10c5491cecc13efbb0b2d.tar.gz buildroot-1a405ea56d5240832df10c5491cecc13efbb0b2d.zip |
gcc: bump 6.x series to version 6.4.0
Drop the following patches:
* the Xtensa patches 870 and 871 are upstream now
* patch 942 was backported to GCC 6 branch
Note, that a bz2 release tarball is not provided anymore and is replaced by
a xz tarball file.
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch')
-rw-r--r-- | package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch b/package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch deleted file mode 100644 index 98e627053b..0000000000 --- a/package/gcc/6.3.0/942-ubsan-fix-check-empty-string.patch +++ /dev/null @@ -1,40 +0,0 @@ -From 8db2cf6353c13f2a84cbe49b689654897906c499 Mon Sep 17 00:00:00 2001 -From: kyukhin <kyukhin@138bc75d-0d04-0410-961f-82ee72b054a4> -Date: Sat, 3 Sep 2016 10:57:05 +0000 -Subject: [PATCH] gcc/ubsan.c: Fix check for empty string - -Building host-gcc-initial with GCC7 on the host fails due to the -comparison of a pointer to an integer in ubsan_use_new_style_p, which -is forbidden by ISO C++: - -ubsan.c:1474:23: error: ISO C++ forbids comparison between pointer and -integer [-fpermissive] - || xloc.file == '\0' || xloc.file[0] == '\xff' - -Backport the fix from upstream GCC to enable the build with GCC 7. - -Backported from: -https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=239971 - -Signed-off-by: Joshua Lock <joshua.g.lock@intel.com> -[Add commit log from [1]] -Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks> - -[1] https://patchwork.openembedded.org/patch/138884/ ---- - gcc/ubsan.c | 2 +- - 2 files changed, 5 insertions(+), 1 deletion(-) - -Index: gcc-6.3.0/gcc/ubsan.c -=================================================================== ---- gcc-6.3.0.orig/gcc/ubsan.c -+++ gcc-6.3.0/gcc/ubsan.c -@@ -1471,7 +1471,7 @@ ubsan_use_new_style_p (location_t loc) - - expanded_location xloc = expand_location (loc); - if (xloc.file == NULL || strncmp (xloc.file, "\1", 2) == 0 -- || xloc.file == '\0' || xloc.file[0] == '\xff' -+ || xloc.file[0] == '\0' || xloc.file[0] == '\xff' - || xloc.file[1] == '\xff') - return false; - |