Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot]  gcc-4.7.3 potential issue with barebox
@ 2013-06-17 12:57 Grégory Hermant
  2013-06-17 14:25 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Grégory Hermant @ 2013-06-17 12:57 UTC (permalink / raw)
  To: buildroot

Hi all,
I noticed an issue with barebox binary about the nandflash detection.
Indeed barebox is unable to detect the nandflash when i build barebox from gcc-4.7.3 (buildroot-2013.05)
By digging a little bit  i noticed  that  the size of atmel_nand.o was different according to the toolchain release (atmel_nand.o 4732bytes vs 5096 bytes for gcc-4.6.3 )
If i disassemble atmel_nand.o i notice that  atmel_nand_enable & atmel_nand_disable are missing.
Is it an known issue ?
Gr?gory

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

* [Buildroot] gcc-4.7.3 potential issue with barebox
  2013-06-17 12:57 [Buildroot] gcc-4.7.3 potential issue with barebox Grégory Hermant
@ 2013-06-17 14:25 ` Thomas Petazzoni
  2013-06-18 15:02   ` Grégory Hermant
  0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2013-06-17 14:25 UTC (permalink / raw)
  To: buildroot

Dear Gr?gory Hermant,

On Mon, 17 Jun 2013 14:57:21 +0200, Gr?gory Hermant wrote:

> I noticed an issue with barebox binary about the nandflash detection.
> Indeed barebox is unable to detect the nandflash when i build barebox from gcc-4.7.3 (buildroot-2013.05)
> By digging a little bit  i noticed  that  the size of atmel_nand.o was different according to the toolchain release (atmel_nand.o 4732bytes vs 5096 bytes for gcc-4.6.3 )
> If i disassemble atmel_nand.o i notice that  atmel_nand_enable & atmel_nand_disable are missing.
> Is it an known issue ?

I don't remember hearing about this, but maybe you could check with
another ARM gcc 4.7 based toolchain such as the Linaro toolchain, and
see if the generated code is correct or not. If the generated code is
also not correct, then maybe it's a Barebox issue, otherwise it would
most likely be a Buildroot toolchain issue.

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

* [Buildroot] gcc-4.7.3 potential issue with barebox
  2013-06-17 14:25 ` Thomas Petazzoni
@ 2013-06-18 15:02   ` Grégory Hermant
  2013-06-18 17:05     ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Grégory Hermant @ 2013-06-18 15:02 UTC (permalink / raw)
  To: buildroot

Hi thomas,
Same issue with gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) toolchain.
BR,
gr?gory

Le 17/06/2013 16:25, Thomas Petazzoni a ?crit :
> Dear Gr?gory Hermant,
>
> On Mon, 17 Jun 2013 14:57:21 +0200, Gr?gory Hermant wrote:
>
>> I noticed an issue with barebox binary about the nandflash detection.
>> Indeed barebox is unable to detect the nandflash when i build barebox from gcc-4.7.3 (buildroot-2013.05)
>> By digging a little bit  i noticed  that  the size of atmel_nand.o was different according to the toolchain release (atmel_nand.o 4732bytes vs 5096 bytes for gcc-4.6.3 )
>> If i disassemble atmel_nand.o i notice that  atmel_nand_enable & atmel_nand_disable are missing.
>> Is it an known issue ?
> I don't remember hearing about this, but maybe you could check with
> another ARM gcc 4.7 based toolchain such as the Linaro toolchain, and
> see if the generated code is correct or not. If the generated code is
> also not correct, then maybe it's a Barebox issue, otherwise it would
> most likely be a Buildroot toolchain issue.
>
> Best regards,
>
> Thomas

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

* [Buildroot] gcc-4.7.3 potential issue with barebox
  2013-06-18 15:02   ` Grégory Hermant
@ 2013-06-18 17:05     ` Thomas Petazzoni
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Petazzoni @ 2013-06-18 17:05 UTC (permalink / raw)
  To: buildroot

Dear Gr?gory Hermant,

On Tue, 18 Jun 2013 17:02:59 +0200, Gr?gory Hermant wrote:

> Same issue with gcc version 4.7.3 (Sourcery CodeBench Lite 2013.05-24) toolchain.

Then maybe it's a Barebox vs. gcc 4.7.x issue that should be reported
to the Barebox people? I'm pretty sure they have already built and
tested Barebox with gcc 4.7, but maybe there are some remaining
problems in specific areas?

Best regards,

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

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

end of thread, other threads:[~2013-06-18 17:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-06-17 12:57 [Buildroot] gcc-4.7.3 potential issue with barebox Grégory Hermant
2013-06-17 14:25 ` Thomas Petazzoni
2013-06-18 15:02   ` Grégory Hermant
2013-06-18 17:05     ` Thomas Petazzoni

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