[Bug 6224] New: Cannot enable threads on arm7tdmi (MMU-less) arch
bugzilla at busybox.net
bugzilla at busybox.net
Sat May 4 04:57:32 UTC 2013
https://bugs.busybox.net/show_bug.cgi?id=6224
Summary: Cannot enable threads on arm7tdmi (MMU-less) arch
Product: uClibc
Version: 0.9.33.2
Platform: PC
OS/Version: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Threads
AssignedTo: unassigned at uclibc.org
ReportedBy: a.nielsen at shikadi.net
CC: uclibc-cvs at uclibc.org
Estimated Hours: 0.0
Created attachment 4862
--> https://bugs.busybox.net/attachment.cgi?id=4862
uClibc config, generated through buildroot
It does not seem to be possible to compile uClibc on the arm7tdmi architecture
with threads enabled:
With old/new linuxthreads:
CC libpthread/linuxthreads/sysdeps/arm/pspinlock.os
CC libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.os
In file included from
./libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.h:21:0,
from
libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.c:21:
./include/bits/libc-lock.h:36:27: fatal error: lowlevellock.h: No such file or
directory
# include <lowlevellock.h>
^
compilation terminated.
make[1]: *** [libpthread/linuxthreads/sysdeps/unix/sysv/linux/fork.os] Error 1
With native (NPTL) threads:
AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.os
AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.os
CC libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.os
In file included from libpthread/nptl/sysdeps/unix/sysv/linux/arm/fork.c:31:0:
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:61:17: error: 'fork'
undeclared here (not in a function)
extern __typeof(fork) __libc_fork;
^
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:63:1: error:
'__libc_fork' redeclared as different kind of symbol
__libc_fork (void)
^
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:61:23: note: previous
declaration of '__libc_fork' was here
extern __typeof(fork) __libc_fork;
^
In file included from <command-line>:0:0:
libpthread/nptl/sysdeps/unix/sysv/linux/arm/../fork.c:228:24: error: 'fork'
redeclared as different kind of symbol
weak_alias(__libc_fork,fork)
...
If it is not possible to use threads on an MMU-less system, I think the option
should be disabled.
--
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the uClibc-cvs
mailing list