From 3c02cd629a7cef8ff472409966cd4502bd6d5d9a Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Fri, 27 Nov 2015 21:11:24 +0100 Subject: bfin: allow newer gcc and kernel to be build, ICE with uClibc-ng regex, so disable it for now. --- toolchain/gcc/patches/4.9.3/disable-dwarf.bfin | 12 ++++++++++++ toolchain/gcc/patches/4.9.3/gcc.bfin | 12 ++++++++++++ toolchain/gcc/patches/5.2.0/disable-dwarf.bfin | 12 ++++++++++++ toolchain/gcc/patches/5.2.0/gcc.bfin | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 toolchain/gcc/patches/4.9.3/disable-dwarf.bfin create mode 100644 toolchain/gcc/patches/4.9.3/gcc.bfin create mode 100644 toolchain/gcc/patches/5.2.0/disable-dwarf.bfin create mode 100644 toolchain/gcc/patches/5.2.0/gcc.bfin (limited to 'toolchain/gcc/patches') diff --git a/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin b/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin new file mode 100644 index 000000000..c11baec92 --- /dev/null +++ b/toolchain/gcc/patches/4.9.3/disable-dwarf.bfin @@ -0,0 +1,12 @@ +diff -Nur gcc-git.orig/libgcc/config.host gcc-git/libgcc/config.host +--- gcc-git.orig/libgcc/config.host 2015-10-23 21:12:52.000000000 +0200 ++++ gcc-git/libgcc/config.host 2015-11-15 21:17:38.385745887 +0100 +@@ -231,7 +231,7 @@ + esac + ;; + *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) +- tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" ++ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" + extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" + if test x$enable_vtable_verify = xyes; then + extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" diff --git a/toolchain/gcc/patches/4.9.3/gcc.bfin b/toolchain/gcc/patches/4.9.3/gcc.bfin new file mode 100644 index 000000000..a0643f5fc --- /dev/null +++ b/toolchain/gcc/patches/4.9.3/gcc.bfin @@ -0,0 +1,12 @@ +diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc +--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200 ++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100 +@@ -1101,7 +1101,7 @@ + ;; + bfin*-linux-uclibc*) + tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h" +- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux" ++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux" + use_collect2=no + ;; + bfin*-rtems*) diff --git a/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin b/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin new file mode 100644 index 000000000..c11baec92 --- /dev/null +++ b/toolchain/gcc/patches/5.2.0/disable-dwarf.bfin @@ -0,0 +1,12 @@ +diff -Nur gcc-git.orig/libgcc/config.host gcc-git/libgcc/config.host +--- gcc-git.orig/libgcc/config.host 2015-10-23 21:12:52.000000000 +0200 ++++ gcc-git/libgcc/config.host 2015-11-15 21:17:38.385745887 +0100 +@@ -231,7 +231,7 @@ + esac + ;; + *-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu) +- tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" ++ tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-linux" + extra_parts="crtbegin.o crtbeginS.o crtbeginT.o crtend.o crtendS.o" + if test x$enable_vtable_verify = xyes; then + extra_parts="$extra_parts vtv_start.o vtv_end.o vtv_start_preinit.o vtv_end_preinit.o" diff --git a/toolchain/gcc/patches/5.2.0/gcc.bfin b/toolchain/gcc/patches/5.2.0/gcc.bfin new file mode 100644 index 000000000..a0643f5fc --- /dev/null +++ b/toolchain/gcc/patches/5.2.0/gcc.bfin @@ -0,0 +1,12 @@ +diff -Nur gcc-4.9.3.orig/gcc/config.gcc gcc-4.9.3/gcc/config.gcc +--- gcc-4.9.3.orig/gcc/config.gcc 2015-05-21 22:50:59.000000000 +0200 ++++ gcc-4.9.3/gcc/config.gcc 2015-11-23 22:51:58.686375134 +0100 +@@ -1101,7 +1101,7 @@ + ;; + bfin*-linux-uclibc*) + tm_file="${tm_file} dbxelf.h elfos.h bfin/elf.h gnu-user.h linux.h glibc-stdint.h bfin/linux.h ./linux-sysroot-suffix.h" +- tmake_file="bfin/t-bfin-linux t-slibgcc t-linux" ++ tmake_file="${tmake_file} bfin/t-bfin-linux t-slibgcc t-linux" + use_collect2=no + ;; + bfin*-rtems*) -- cgit v1.2.3