Buildroot thread model problem

Adrian McMenamin adrian at mcmen.demon.co.uk
Sat Jan 21 23:47:40 UTC 2006


To build the ALSA utils I need to have a working implementation of
pthreads and currently I get this on my dreamcast when I select the
old/stable model:

BusyBox v1.1.0-pre1 (2006.01.05-23:14+0000) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
/ # modprobe snd-pcm
/ # insmod /lib/modules/2.6.14-sh/kernel/sound/drivers/snd_card_aica.ko
[  133.104000] ALSA /home/adrian/aica/aica/snd_card_aica.c:313: Probing
for AICA device
[  134.815000] ALSA /home/adrian/aica/aica/snd_card_aica.c:295: Loading
aica firmware
[  141.992000] ALSA /home/adrian/aica/aica/snd_card_aica.c:356: ALSA
Driver for Yamaha AICA Super Intelligent Sound Processor on slot 0
/ # aplay -V
aplay: can't resolve symbol '__libc_pthread_init'


So, I tried changing the thread model to see if that solved the problem
but no change through make menuconfig seems to trigger any sort of
rebuild and .config in ./buildroot/toolchain_build_sh4/uClibc-0.9.28
always seems to be fixed like this...

# HAS_NO_THREADS is not set
UCLIBC_HAS_THREADS=y
PTHREADS_DEBUG_SUPPORT=y
# UCLIBC_HAS_THREADS_NATIVE is not set
LINUXTHREADS_OLD=y


I will edit this by hand, but it does appear to be some sort of bug in
the config system. I think?

Adrian





More information about the uClibc mailing list