Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Marco Cane <mca@apss.it>
To: buildroot@busybox.net
Subject: [Buildroot] pthread broken in avr32 build
Date: Fri, 21 Mar 2008 10:35:35 +0100	[thread overview]
Message-ID: <47E38167.7010908@apss.it> (raw)

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.

             reply	other threads:[~2008-03-21  9:35 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-21  9:35 Marco Cane [this message]
2008-03-21 11:40 ` [Buildroot] pthread broken in avr32 build John Voltz
2008-03-25 23:09 ` Ulf Samuelsson

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=47E38167.7010908@apss.it \
    --to=mca@apss.it \
    --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