avr32: lbipthread problem
Hi,
I'm trying to build a toolchain based on uClibc for the AVR32. I'm using
buildroot-20081120 (as I had problems with binutils in newer
snapshots). I've configured threading support to NPTL, don't know whether the compile error below happens also with other configurations.
I'm experiencing the following issues:
1. The file tls.h is missing.
In order to overcome a problem with the missing tls.h I created an empty file named tls.h in /buildroot/toolchain_build_avr32/uClibc-0.9.29-avr32-2.1.5/include
2. __THROW undefined in pt-machine.h /libpthread/linuxthreads/sysdeps/avr32/pt-machine.h:16: error: expected ',' or ';' before '{' token
Reason for that was obviously that the __THROW definition was missing in this file. I simply defined it as blank in the same file because I didn't figure out where the original definition of this preprocessor macro is.
3. The file sysdep-cancel.h is missing
I created an empty file in /buildroot/toolchain_build_avr32/uClibc-0.9.29-avr32-2.1.5/libpthread/linuxthreads to overcome this problem.
4. finally I'm stuck with this one:
configure: error: Pthreads are required to build libgomp make[2]: *** [configure-target-libgomp] Error 1
Any suggestions are welcome :-)
Bernhard
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernhard" == Bernhard G?del <[email protected]> writes:
Bernhard> Hi,
Bernhard> I'm trying to build a toolchain based on uClibc for the AVR32. I'm using
Bernhard> buildroot-20081120 (as I had problems with binutils in newer
Bernhard> snapshots). I've configured threading support to NPTL, don't know Bernhard> whether the compile error below happens also with other configurations.
Don't do that. I'm pretty sure avr32/uclibc 0.9.29 doesn't support NTPL.
Signature · 1 line
Bye, Peter Korsgaard
Egtvedt
Correct, AVR32 does not support NPTL.
Sorry for top quoting, I'm on vacation and using MS Exchange web interface. Free beer to anybody telling me how to get a proper editor...
-----Opprinnelig melding-----
Fra: buildroot-bounces at busybox.net p? vegne av Peter Korsgaard
Sendt: ti 2008-12-23 16:18
Til: Bernhard G?del
Kopi: buildroot at uclibc.org
Emne: Re: [Buildroot] avr32: lbipthread problem
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Bernhard" == Bernhard G?del <[email protected]> writes:
Bernhard> Hi,
Bernhard> I'm trying to build a toolchain based on uClibc for the AVR32. I'm using
Bernhard> buildroot-20081120 (as I had problems with binutils in newer
Bernhard> snapshots). I've configured threading support to NPTL, don't know Bernhard> whether the compile error below happens also with other configurations.
Don't do that. I'm pretty sure avr32/uclibc 0.9.29 doesn't support NTPL.
Signature · 9 lines
Bye, Peter Korsgaard _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.busybox.net/pipermail/buildroot/attachments/20081223/8b490285/attachment.htm