BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0000497 [buildroot] Architecture Specific minor always 10-21-05 07:35 02-12-07 05:47
Reporter Masta-G View Status public  
Assigned To buildroot
Priority normal Resolution fixed  
Status closed   Product Version 0.9.27
Summary 0000497: libpthreads is broken for sh4
Description Tried the latest cvs of buildroot to build a toolchain for sh4 little endian.
I used the latest snapshot of uClibc, gcc 3.4.2 and the 2.6.12 headers.
When I try to build the toolchain it will give the following error:

/home/mastag/dc/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-strip -X --strip-debug -R .note -R .comment attr.o cancel.o condvar.o errno.o events.o join.o lockfile.o manager.o mutex.o oldsemaphore.o pt-machine.o ptfork.o pthread.o ptlongjmp.o rwlock.o semaphore.o signals.o specific.o spinlock.o
/home/mastag/dc/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-ar cr ../../lib/libpthread.a attr.o cancel.o condvar.o errno.o events.o join.o lockfile.o manager.o mutex.o oldsemaphore.o pt-machine.o ptfork.o pthread.o ptlongjmp.o rwlock.o semaphore.o signals.o specific.o spinlock.o
/home/mastag/dc/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-ar cr ../../lib/libpthread.a
rm -f ../../lib/libpthread-0.9.28.so ../../lib/libpthread.so.0 ../../lib/libpthread.so
/home/mastag/dc/buildroot/build_sh4/staging_dir/bin/sh4-linux-uclibc-ld -EL -shared --warn-common --warn-once -z combreloc -z defs -soname=libpthread.so.0 \
        -o ../../lib/libpthread-0.9.28.so ../../lib/crti.o /home/mastag/dc/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/crtbeginS.o --whole-archive ../../lib/libpthread.a \
        --no-whole-archive ../../libc/misc/internals/interp.o \
        -L../../lib -lc /home/mastag/dc/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/libgcc.a /home/mastag/dc/buildroot/build_sh4/staging_dir/lib/gcc/sh4-linux-uclibc/3.4.2/crtendS.o ../../lib/crtn.o
../../lib/libpthread.a(attr.o): In function `__pthread_attr_setstacksize':
: undefined reference to `__pthread_max_stacksize'
../../lib/libpthread.a(attr.o): In function `__pthread_attr_setstacksize':
: undefined reference to `__pthread_init_max_stacksize'
make[3]: *** [../../lib/libpthread.so] Error 1
make[3]: Leaving directory `/home/mastag/dc/buildroot/toolchain_build_sh4/uClibc/libpthread/linuxthreads'
make[2]: *** [_dir_linuxthreads] Error 2
make[2]: Leaving directory `/home/mastag/dc/buildroot/toolchain_build_sh4/uClibc/libpthread'
make[1]: *** [_dir_libpthread] Fout 2
make[1]: Leaving directory `/home/mastag/dc/buildroot/toolchain_build_sh4/uClibc'
make: *** [/home/mastag/dc/buildroot/toolchain_build_sh4/uClibc/lib/libc.a] Fout 2
Additional Information fix as of 0.9.28 version
Attached Files

- Relationships

There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
10-21-05 07:35 Masta-G New Issue
10-21-05 07:35 Masta-G Status new => assigned
10-21-05 07:35 Masta-G Assigned To  => uClibc
01-24-06 11:36 prpplague Status assigned => resolved
01-24-06 11:36 prpplague Resolution open => fixed
01-24-06 11:36 prpplague Additional Information Updated
03-08-06 16:54 vapier Status resolved => closed
02-12-07 05:47 vapier Status closed => assigned
02-12-07 05:47 vapier Assigned To uClibc => buildroot


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker