summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorAlexey Neyman <stilor@att.net>2015-10-01 00:22:28 (GMT)
committerAlexey Neyman <stilor@att.net>2015-10-01 00:22:28 (GMT)
commit55d07702094fb882bf4602b0e4b062432d401de8 (patch)
tree07eea8b2619d0f79dd06652fd830d1ebe3d2ca8a /samples
parentb565e949d4d9eb695d026a963aa537f0d0992291 (diff)
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)
Diffstat (limited to 'samples')
-rw-r--r--samples/bfin-unknown-linux-uclibc/crosstool.config3
1 files changed, 2 insertions, 1 deletions
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