kumquat-buildroot/package/gcc/6.4.0
Joel Stanley 88a161b388 gcc: Fix building on ppc64le GCC 8 host
When building on a ppc64le host we see this error:

    build/genmatch --gimple ../../gcc/match.pd \
        > tmp-gimple-match.c
    ../../gcc/match.pd:120:1 error: expected (, got NAME
       negative value by 0 gives -0, not +0.  */

This was reported upstream[1] and fixed on the GCC 6 [2] and GCC 7 [3]
branches:

    Backport from mainline
    2018-01-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>

    * lex.c (search_line_fast): Remove illegal coercion of an
    unaligned pointer value to vector pointer type and replace with
    use of __builtin_vec_vsx_ld () built-in function, which operates
    on unaligned pointer values.

The patches included in Buildroot contain just the code changes, and not
the changelog, to make it easer to manage backporting.

Tested on Ubuntu Cosmic ppc64le.

[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86162
[2] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=261621
[3] https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=262243

Signed-off-by: Joel Stanley <joel@jms.id.au>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-07-31 22:00:58 +02:00
..
100-uclibc-conf.patch
301-missing-execinfo_h.patch
810-arm-softfloat-libgcc.patch
830-arm_unbreak_armv4t.patch
831-ARM-PR-target-70473-Reduce-size-of-Cortex-A8-automat.patch
860-cilk-wchar.patch
870-xtensa-fix-PR-target-82181.patch
871-xtensa-fix-PR-target-65416.patch
890-fix-m68k-compile.patch
896-microblaze-Revert.patch
897-Make-MicroBlaze-support-DWARF-EH-old-Xilinx-patch-ne.patch
940-uclinux-enable-threads.patch
941-mips-Add-support-for-mips-r6-musl.patch
942-Use-ucontext_t-not-struct-ucontext-in-linux-unwind.h.patch
943-sanitizer-linux.patch
0001-m68k-coldfire-pr68467.patch
0002-fix-building-on-ppc64.patch