Skip to content

Commit

Permalink
Fix bfin-unknown-linux-uclibc sample.
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
stilor committed Oct 1, 2015
1 parent b565e94 commit 55d0770
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion samples/bfin-unknown-linux-uclibc/crosstool.config
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 55d0770

Please sign in to comment.