Rodrigo Vivi wrote: > Hi all, > I need to compile my linux to arm without NPTL ... > > I'm trying to pass to glibc configure the --without-__thread > but I got the following error: > > running configure fragment for ports/sysdeps/unix/sysv/linux/arm/eabi/nptl > running configure fragment for ports/sysdeps/unix/sysv/linux/arm/eabi > running configure fragment for nptl/sysdeps/pthread > configure: error: compiler support for __thread is required > > does any body has an idea ? > > I'm passing this too: > echo "libc_cv_arm_tls=no" >> config.cache > > what more do I need ? > > The glibc is the only package that I need to compile with thread > support to remove nptl or am I missing something ? > > Thanks in advance > > Best Regards, > Rodrigo Vivi. > Hi Rodrigo,
Building without nptl might work, but personally I haven't tried it. Glibc needs some kind of pthread library, the only other one is with linuxthreads (for linux 2.4). Your best bet would be to extract linuxthreads and just move the nptl directory out of the glibc tree. This will probably require some tinkering to get it working right. Looking in your favorite search engine might help too. Cheers, Maarten _______________________________________________ Clfs-support mailing list [email protected] http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-support
