Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] avr32: no selection for Binutils version
@ 2008-12-23 10:29 Bernhard Gödel
  2008-12-23 10:40 ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Gödel @ 2008-12-23 10:29 UTC (permalink / raw)
  To: buildroot

Hi,

I'm new to embedded Linux, so I want to apologize for stupid questions 
in advance. :-)

I've bought the Atmel NGW100 featuring an AVR32 AP7000. Now I'm 
following the instructions given in the book 'Building embedded Linux 
Systems' (O'Reilly) to build a Linux system for this platform from scratch.

Therefore I've downloaded the package 
http://buildroot.uclibc.org/downloads/snapshots/buildroot-snapshot.tar.bz2 
(which points to 
http://buildroot.uclibc.org/downloads/snapshots/buildroot-20081221.tar.bz2 
currently) in order to build the tool chain.

I used 'make menuconfig' to enter the configuration for my target but 
I've encountered a problem here. After selecting 'AVR32' as target 
architecture, I cannot select any Binutils Version from the 'Toolchain' 
submenu.

I've downloaded an older version 
(http://buildroot.uclibc.org/downloads/snapshots/buildroot-20081120.tar.bz2), 
which offers Binutils 2.17 for AVR32.

Is this a bug in the newest buildroot package?
I didn't find the location where the available versions are stored, so I 
couldn't patch it myself...

Yours,
Bernhard

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

* [Buildroot] avr32: no selection for Binutils version
  2008-12-23 10:29 [Buildroot] avr32: no selection for Binutils version Bernhard Gödel
@ 2008-12-23 10:40 ` Peter Korsgaard
  2008-12-23 15:08   ` Bernhard Gödel
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Korsgaard @ 2008-12-23 10:40 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernhard" == Bernhard G?del <bernhard.goedel@gmx.at> writes:

Hi,

 Bernhard> Hi, I'm new to embedded Linux, so I want to apologize for
 Bernhard> stupid questions in advance. :-)

Don't worry ;)

 Bernhard> I used 'make menuconfig' to enter the configuration for my
 Bernhard> target but I've encountered a problem here. After selecting
 Bernhard> 'AVR32' as target architecture, I cannot select any
 Bernhard> Binutils Version from the 'Toolchain' submenu.

Sorry, the avr32 stuff is quite special case, and I don't know
anything about it. Ulf recently did some changes to it, so maybe you
could try either the newest snapshot or a version before his changes
(20/12)?

Ulf, comments?

-- 
Bye, Peter Korsgaard

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

* [Buildroot] avr32: no selection for Binutils version
  2008-12-23 10:40 ` Peter Korsgaard
@ 2008-12-23 15:08   ` Bernhard Gödel
  2008-12-23 15:17     ` Peter Korsgaard
  0 siblings, 1 reply; 4+ messages in thread
From: Bernhard Gödel @ 2008-12-23 15:08 UTC (permalink / raw)
  To: buildroot

Peter Korsgaard wrote:
>>>>>> "Bernhard" == Bernhard G?del <bernhard.goedel@gmx.at> writes:
>  Bernhard> I used 'make menuconfig' to enter the configuration for my
>  Bernhard> target but I've encountered a problem here. After selecting
>  Bernhard> 'AVR32' as target architecture, I cannot select any
>  Bernhard> Binutils Version from the 'Toolchain' submenu.

I found the file where it is specified which binutils versions are 
available for a certain architecture.

It is in /buildroot/toolchain/binutils/config.in

In the older version (allowing to select 2.17) there is:

	config BR2_BINUTILS_VERSION_2_17
		depends on BR2_avr32 || !BR2_nios2 && BR2_DEPRECATED
		depends on BR2_EXT_BINUTILS_VERSION_2_17
		bool "binutils 2.17"

where as in the most recent snapshot it is:

	config BR2_BINUTILS_VERSION_2_17
		depends on BR2_avr32 || !BR2_nios2
		depends on BR2_DEPRECATED && !BR2_avr32
		depends on BR2_EXT_BINUTILS_VERSION_2_17
		bool "binutils 2.17"

The later configuration makes it impossible to select 2.17 as a binutils 
version for avr32. As there is no other binutils version that is allowed 
to be selected for avr32, it is simply impossible to select a binutils 
version at all.
I've replaced this section of the file by the older one and now I can 
select 2.17 also on the most recent snapshot.

Unfortunately, the problems described in "[Buildroot] avr32: lbipthread 
problem" remain the same also for the most recent snapshot. I'm stuck in 
the make process at the generation of libgomp.

Bernhard

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

* [Buildroot] avr32: no selection for Binutils version
  2008-12-23 15:08   ` Bernhard Gödel
@ 2008-12-23 15:17     ` Peter Korsgaard
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2008-12-23 15:17 UTC (permalink / raw)
  To: buildroot

>>>>> "Bernhard" == Bernhard G?del <bernhard.goedel@gmx.at> writes:

Hi,

 Bernhard> where as in the most recent snapshot it is:

 Bernhard> 	config BR2_BINUTILS_VERSION_2_17
 Bernhard> 		depends on BR2_avr32 || !BR2_nios2
 Bernhard> 		depends on BR2_DEPRECATED && !BR2_avr32
 Bernhard> 		depends on BR2_EXT_BINUTILS_VERSION_2_17
 Bernhard> 		bool "binutils 2.17"

Yes, depending on BR2_avr32 AND !BR2_avr32 is bad - I already mailed
Ulf / the list about this earlier today.

-- 
Bye, Peter Korsgaard

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

end of thread, other threads:[~2008-12-23 15:17 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-12-23 10:29 [Buildroot] avr32: no selection for Binutils version Bernhard Gödel
2008-12-23 10:40 ` Peter Korsgaard
2008-12-23 15:08   ` Bernhard Gödel
2008-12-23 15:17     ` Peter Korsgaard

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