diff options
author | Jörg Krause <joerg.krause@embedded.rocks> | 2017-06-01 09:37:58 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-06-05 12:05:59 +0200 |
commit | 2d57ad29b15628b01cdca37e8f05ac1dd376602c (patch) | |
tree | 4c3cc665abafb4afef5bcc42ecf0e421f8cee05c /package/gcc/gcc-initial | |
parent | 7d2c135b9406b9ce3b83597ec0f3329413da5521 (diff) | |
download | buildroot-2d57ad29b15628b01cdca37e8f05ac1dd376602c.tar.gz buildroot-2d57ad29b15628b01cdca37e8f05ac1dd376602c.zip |
gcc: add upstream patch to fix build of GCC6 with GCC7
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'
Backported from:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=239971
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/gcc/gcc-initial')
0 files changed, 0 insertions, 0 deletions