From 55d07702094fb882bf4602b0e4b062432d401de8 Mon Sep 17 00:00:00 2001 From: Alexey Neyman Date: Wed, 30 Sep 2015 17:22:28 -0700 Subject: Fix bfin-unknown-linux-uclibc sample. Pin GCC to 4.5.3 and binutils to 2.22, the last versions working. There are multiple bugs affecting bfin configuration; while [3] is fixed on trunk in GCC (but not backported to gcc-5-release branch yet), [1] and [2] do not have fixes yet. References: [1] https://sourceware.org/bugzilla/show_bug.cgi?id=17334 (binutils bug) [2] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=47779 (gcc bug #1) [3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=55144 (gcc bug #2) diff --git a/samples/bfin-unknown-linux-uclibc/crosstool.config b/samples/bfin-unknown-linux-uclibc/crosstool.config index b7ae4e6..a8b8b51 100644 --- a/samples/bfin-unknown-linux-uclibc/crosstool.config +++ b/samples/bfin-unknown-linux-uclibc/crosstool.config @@ -4,11 +4,12 @@ CT_LOG_EXTRA=y CT_ARCH_blackfin=y CT_KERNEL_linux=y CT_ARCH_BINFMT_FDPIC=y +CT_BINUTILS_V_2_22=y CT_BINUTILS_PLUGINS=y CT_LIBC_uClibc=y CT_LIBC_UCLIBC_CONFIG_FILE="${CT_LIB_DIR}/samples/${CT_TARGET}/${CT_LIBC}-${CT_LIBC_VERSION}.config" CT_THREADS_LT=y -CT_CC_V_4_5_3=y +CT_CC_GCC_V_4_5_3=y # CT_CC_GCC_USE_GRAPHITE is not set # CT_CC_GCC_USE_LTO is not set CT_GMP_V_4_3_2=y -- cgit v0.10.2-6-g49f6