building uClibc for ARM MMU-less
Christophe Lyon
christophe.lyon at st.com
Wed Aug 1 15:29:54 UTC 2012
Hello,
I am having some trouble building uClibc for an ARM MMU-less target.
It's likely that I have chosen incompatible configuration options.
I have configured GCC with --target=arm-cortex-linux-uclibcgnueabi --disable-libssp --disable-shared.
My uClibc build currently fails at libpthread/nptl/sysdeps/generic/dl-tls.o:
./ldso/include/dl-elf.h: In function '__dl_parse_dynamic_info':
./ldso/include/dl-elf.h:173:20: error: 'RTLD_NODELETE' undeclared (first use in this function)
RTLD_NODELETE is defined via dlfcn.h, which is included by link.h only if __HAVE_SHARED__ is defined.
dl-elf.h includes links.h.
My .config file includes:
TARGET_arm=y
[...]
UCLIBC_FORMAT_FLAT=y
ARCH_HAS_NO_SHARED=y
ARCH_HAS_NO_LDSO=y
UCLIBC_CTOR_DTOR=y
UCLIBC_HAS_THREADS_NATIVE=y
UCLIBC_HAS_THREADS=y
UCLIBC_HAS_TLS=y
PTHREADS_DEBUG_SUPPORT=y
UCLIBC_HAS_SYSLOG=y
UCLIBC_HAS_LFS=y
MALLOC=y
MALLOC_GLIBC_COMPAT=y
UCLIBC_DYNAMIC_ATEXIT=y
UCLIBC_SUSV3_LEGACY=y
UCLIBC_SUSV4_LEGACY=y
UCLIBC_HAS_STUBS=y # I had to define this one for fork.o to compile.
I have probably selected incompatible features, which ones?
Thanks!
Christophe.
More information about the uClibc
mailing list