Skip to contentSkip to conversation

State of AVR32 in Buildroot and improving it

Buildroot Thomas Petazzoni 2 participants 2 messages Oct 29, 2013 – Oct 30, 2013

lore
Share & tools
lore
#0 lore raw

Hello Simon,

The state of AVR32 in Buildroot and the fact that the old binutils/gcc needed for the architecture is causing a number of build failures raised some discussion at the Buildroot Developers Meeting this week-end.

As you seem to be the person most interested in keeping the AVR32 support in Buildroot, we'd like to discuss with you what can be done to improve the autobuilder results for this platform. I've done a quick analysis of the autobuilders statistics. On a total of 726 build tests done in 2013 on AVR32, 91 were successful, and 635 failed, which means 12% success, 87% failed. In comparison, ARM has had 11125 build tests done in 2013, with 6874 success and 4235 failures, which means 62% of success and 38% of failures.

Do you think you could help in fixing some of the AVR32 autobuilder failures? Note that we don't necessarily want to fix all packages: if something is known broken on AVR32 and you don't need it or you're not interested in fixing it, we can just mark it as 'depends
on !BR2_avr32', or another appropriate dependency (such as the gcc version, absence of TLS, or other).

In order to achieve this, I'm proposing to send you a daily e-mail with only the AVR32 build failures. This is something we already do with the ARC and Blackfin architectures and that we would like to generalize to all the "specialized" architectures.

As a reference, the top ten failures on AVR32 since July 2013 were caused by the following packages:

+-------------------+-----+
| reason            | cnt |
+-------------------+-----+
| connman-1.12      |  51 |
| zeromq-3.2.3      |  48 |
| libevas-1.7.7     |  20 |
| dropwatch-1.4     |  18 |
| iozone-3_414      |  12 |
| zeromq-3.2.4      |  12 |
| libcap-ng-0.6.6   |  11 |
| libpfm4-4.3.0     |   9 |
| libcap-ng-0.7.3   |   9 |
| util-linux-2.22.2 |   9 |
+-------------------+-----+

Of course, some of these failures may be caused by non-AVR32 specific problems.

Note that at the Buildroot meeting, one proposal was simply to get rid of AVR32 in the autobuilders, but the conclusion was that we do not like advertising an architecture as being supported if it's not actively tested by our autobuilders.

Can you give us your feeling on this topic, and tell us if you're ready to help in fixing the AVR32 autobuilders failures?

Thanks a lot!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#1 lore raw

Hi Thomas.

Quoted 6 lines · Thomas Petazzoni

Do you think you could help in fixing some of the AVR32 autobuilder failures? Note that we don't necessarily want to fix all packages: if something is known broken on AVR32 and you don't need it or you're not interested in fixing it, we can just mark it as 'depends
on !BR2_avr32', or another appropriate dependency (such as the gcc version, absence of TLS, or other).

Yes, I'm happy to help with this wherever I can. I still need the avr32 support in Buildroot, unfortunately. Time is a little scarce at the moment, but I'll try to have a look at some of the most recent/frequent failures some time over the next week or so.

As I've said before on the mailing list, the internal toolchain doesn't build a usable root filesystem for me any more. I'm building my toolchain using a Buildroot forked before commit 8abb5b33c1aae035cf48b1c81104b433ff884c64, which removed support for uClibc 0.9.31. I'm then using this as an external toolchain with an up-to-date Buildroot to build my root filesystem.

I'd still like to see support for this older, but usable, toolchain reinstated. I did submit a patch to kick this off some time ago, but (quite understandably) there wasn't much enthusiasm for applying it.

Quoted 4 lines

In order to achieve this, I'm proposing to send you a daily e-mail with only the AVR32 build failures. This is something we already do with the ARC and Blackfin architectures and that we would like to generalize to all the "specialized" architectures.

Okay, sounds like a good idea.

Quoted 4 lines

Note that at the Buildroot meeting, one proposal was simply to get rid of AVR32 in the autobuilders, but the conclusion was that we do not like advertising an architecture as being supported if it's not actively tested by our autobuilders.

Yes, agreed.

Simon.