Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain
@ 2014-08-31  8:24 Waldemar Brodkorb
  2014-08-31 12:41 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Waldemar Brodkorb @ 2014-08-31  8:24 UTC (permalink / raw)
  To: buildroot

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>
---
 package/binutils/Config.in.host |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/package/binutils/Config.in.host b/package/binutils/Config.in.host
index e6b6535..56c733f 100644
--- a/package/binutils/Config.in.host
+++ b/package/binutils/Config.in.host
@@ -17,11 +17,11 @@ choice
 		bool "binutils 2.22"
 
 	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
-- 
1.7.10.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain
  2014-08-31  8:24 [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain Waldemar Brodkorb
@ 2014-08-31 12:41 ` Thomas Petazzoni
  2014-09-01 19:58   ` Waldemar Brodkorb
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2014-08-31 12:41 UTC (permalink / raw)
  To: buildroot

Dear Waldemar Brodkorb,

On Sun, 31 Aug 2014 10:24:54 +0200, Waldemar Brodkorb wrote:
> 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>
> ---
>  package/binutils/Config.in.host |    4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Could you report the bug to upstream binutils? I'd like to be able to
get rid of binutils 2.22 at some point.

Thanks a lot!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain
  2014-08-31 12:41 ` Thomas Petazzoni
@ 2014-09-01 19:58   ` Waldemar Brodkorb
  2014-09-02  7:11     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Waldemar Brodkorb @ 2014-09-01 19:58 UTC (permalink / raw)
  To: buildroot

Hi Thomas,
Thomas Petazzoni wrote,

> Dear Waldemar Brodkorb,
> 
> On Sun, 31 Aug 2014 10:24:54 +0200, Waldemar Brodkorb wrote:
> > 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>
> > ---
> >  package/binutils/Config.in.host |    4 ++--
> >  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> Could you report the bug to upstream binutils? I'd like to be able to
> get rid of binutils 2.22 at some point.
> 
> Thanks a lot!

Done:
https://sourceware.org/bugzilla/show_bug.cgi?id=17334

best regards
 Waldemar

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain
  2014-09-01 19:58   ` Waldemar Brodkorb
@ 2014-09-02  7:11     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2014-09-02  7:11 UTC (permalink / raw)
  To: buildroot

Dear Waldemar Brodkorb,

On Mon, 1 Sep 2014 21:58:18 +0200, Waldemar Brodkorb wrote:

> > Could you report the bug to upstream binutils? I'd like to be able to
> > get rid of binutils 2.22 at some point.
> > 
> > Thanks a lot!
> 
> Done:
> https://sourceware.org/bugzilla/show_bug.cgi?id=17334

Great. Could you respin a new version of your patch that references
this bug report in the comment, such as:

	# bfin disabled due to
	# https://sourceware.org/bugzilla/show_bug.cgi?id=17334
	config ...
		depends on !BR2_bfin

Thanks!

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-02  7:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-08-31  8:24 [Buildroot] [PATCH] bfin: disable newer binutils for internal toolchain Waldemar Brodkorb
2014-08-31 12:41 ` Thomas Petazzoni
2014-09-01 19:58   ` Waldemar Brodkorb
2014-09-02  7:11     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox