bfin: disable newer binutils for internal toolchain
authorWaldemar Brodkorb <wbx@openadk.org>
Thu, 4 Sep 2014 15:41:12 +0000 (17:41 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Thu, 4 Sep 2014 20:42:24 +0000 (22:42 +0200)
You get following linking error, when trying to build a
toolchain for bfin with newer binutils:
bfin-buildroot-linux-uclibc/bin/ld: fde encoding in _divdi3_s.o(.eh_frame) prevents .eh_frame_hdr table being created.

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/binutils/Config.in.host

index 826db6ddc038189fbcafa301c97c2b071f908428..45f604a5704624f77998e27862888b0c7084614e 100644 (file)
@@ -16,12 +16,14 @@ choice
                depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
                bool "binutils 2.22"
 
+       # bfin disabled for newer binutils due to
+       # https://sourceware.org/bugzilla/show_bug.cgi?id=17334
        config BR2_BINUTILS_VERSION_2_23_2
-               depends on !BR2_avr32 && !BR2_aarch64 && !BR2_microblaze && !BR2_powerpc64le
+               depends on !BR2_avr32 && !BR2_aarch64 && !BR2_bfin && !BR2_microblaze && !BR2_powerpc64le
                bool "binutils 2.23.2"
 
        config BR2_BINUTILS_VERSION_2_24
-               depends on !BR2_avr32
+               depends on !BR2_avr32 && !BR2_bfin
                bool "binutils 2.24"
 
 endchoice