[Buildroot] pthread broken in avr32 build

John Voltz john.voltz at gmail.com
Fri Mar 21 11:40:48 UTC 2008


There are some nasty problems in the AVR32 parts of gcc, I would bet these
are the true cause of your problems. I'm hoping the folks at Atmel will give
it some serious attention soon.

John Voltz


On Fri, Mar 21, 2008 at 5:35 AM, Marco Cane <mca at apss.it> wrote:

> hi,
> this is my first post on this list.
>
> I'm developing an embedded system based on the atngw100 board, powered
> by an Atmel AVR32 CPU but I found a big issue.
> It seems that libpthread has some problems because every program using
> threads ends with a segmentation fault. I first discovered this bug
> while testing JamVM & GNU Classpath. All worked fine, but simple
> applications using Java threads behaved in unexpected manner, while they
> worked fine on my Ubuntu box
> So I tried a simple C program like this
> http://www.opengroup.org/onlinepubs/009695399/functions/pthread_join.html,
> compiled by the toolchain and also by the installed gcc with the
> -lpthread option with the same result.
>
> I also tried to compile uclibc with the new linux thread support but
> it's broken, due to a missing file (tls.h) for AVR32 architecture.
>
> So my questions are:
> 1. has anyone experienced this bug and found any solution/workaround?
> 2. how can I retrieve, if exists, a snapshot of buildroot correctly
> supporting threads for AVR32? because I think something went wrong with
> some patches and I wonder if there is somewhere a working snapshot,
> older than recent ones
>
> thanks in advance
>
> Marco
>
>
>
>
> Ai sensi del D.Lgs. 196/2003, si precisa che le informazioni contenute in
> questo messaggio e nei suoi eventuali allegati sono riservate e per uso
> esclusivo del destinatario. Nessuno, all'infuori dello stesso, può copiare o
> distribuire il messaggio, o parte di esso, a terzi. Chiunque riceva questo
> messaggio per errore, è pregato di distruggerlo e di darne informazione
> all'indirizzo di origine.
>
> The information contained in this message may be privileged and
> confidential and thus protected from disclosure. If the reader of this
> message is not the intended recipient, or an employee or agent responsible
> for delivering this message to the intended recipient, you are hereby
> notified that any dissemination, distribution or copying of this
> communication is strictly prohibited. If you have received this
> communication in error, please notify us immediately by replying to the
> message and deleting it from your computer. Thank you.
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at uclibc.org
> http://busybox.net/mailman/listinfo/buildroot
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20080321/4b238bee/attachment-0001.html>


More information about the buildroot mailing list