Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] AVR32 is broken (toolchain)
Date: Thu, 22 Jul 2010 17:10:35 +0200	[thread overview]
Message-ID: <20100722171035.0e656a6c@surf> (raw)
In-Reply-To: <20100722141715.7bbc4963@surf>

Hello,

On Thu, 22 Jul 2010 14:17:15 +0200
Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote:

> FWIW, I can also reproduce the issue. It seems to be due to the fact
> that the --prefix location is not writable (since it's /usr). See
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32101#c4.
> 
> So, I've cooked the attached patch, which allows the toolchain to
> build, but the toolchain fails when compiling Busybox with messages
> such as :
> 
> dc.c:(.text+0x10c): relocation truncated to fit: R_AVR32_22H_PCREL
> against symbol `__avr32_f64_to_u32' defined in .text section
> in /home/test/issue/old-br/buildroot/output/staging/usr/lib/gcc/avr32-unknown-linux-uclibc/4.2.2/libgcc.a(_avr32_f64_to_s32.o)
> 
> I don't yet know what is happening.

Ok, the patch that Gustavo has posted on Busybox at 3:50 PM today fixes
the problem. So with my patch on the toolchain + Gustavo's patch on
Busybox, I've been able to build an AVR32 toolchain, BusyBox, DirectFB
and a sample DirectFB application. However, I don't have any hardware
to test.

BTW, if there are people working at Atmel on this list, it'd be great
if Atmel could put online updated version of gcc, binutils and gdb for
the AVR32 architecture. Currently, we are stuck at gcc 4.2.x and
binutils 2.18.

On the Atmel website, it is possible to download a single zip file that
contains tarballs for gcc, gdb, binutils and newlib. Having that in a
single zip file is very unpractical for build systems like Buildroot.
Moreover, having to register on the website (name, address, phone
number and all the stuff) is even more inconvenient.

Would it be possible to just drop the individual tarballs at some
public location, with no registration required ? Or even better, get
the AVR32 support merged in the respective upstream projects :-)

Thanks!

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

  reply	other threads:[~2010-07-22 15:10 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-21 22:02 [Buildroot] AVR32 is broken (toolchain) Thiago A. Corrêa
2010-07-22  1:52 ` Peter Hüwe
2010-07-22  2:29   ` Thiago A. Corrêa
2010-07-22  2:57     ` Peter Hüwe
2010-07-22 12:17       ` Thomas Petazzoni
2010-07-22 15:10         ` Thomas Petazzoni [this message]
2010-07-22 16:35           ` Thiago A. Corrêa
2010-07-23 19:12           ` Thiago A. Corrêa
2010-07-23 21:18             ` Thomas Petazzoni
2010-07-27  1:14               ` Peter Hüwe
2010-07-27 15:17                 ` Thomas Petazzoni
2010-07-27 20:39           ` Peter Hüwe
2010-07-31  0:50           ` Bjørn Forsman
2010-07-31  4:58             ` Thiago A. Corrêa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100722171035.0e656a6c@surf \
    --to=thomas.petazzoni@free-electrons.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox