NPTL support for ARM
Khem Raj
raj.khem at gmail.com
Thu Mar 19 19:34:04 UTC 2009
On Thu, Mar 19, 2009 at 12:52 AM, Christian Eggers <wgnetz at freenet.de> wrote:
>> The branch should still work. Try it out and report whats missing. It
>> has been synced with trunk recently but it does not have all the
>> changes.
>
> I've tried to build an ARM NPTL toolchain with buildroot. Therefore I've added
> a new option for using the head of the nptl-branch of uclibc to
> buildroot-2009.02.
>
> Buildroot-Settings:
> Target Architecture: arm
> Target Architecture-Variant: arm920t
> Target ABI: oabi
> Toolchain->Thread library implementation: NPTL
>
> With this the build of uclibc fails:
>
> -----------------------
>>/usr/bin/make -j1 -C
>> /home/christian/buildroot-2009.02-nptl/toolchain_bu
>>ild_arm/uClibc-nptl-snapshot \
>> PREFIX=/home/christian/buildroot-2009.02-nptl/build
>>_arm/staging_dir \ DEVEL_PREFIX=/usr/ \
>> RUNTIME_PREFIX=/ \
>> install_runtime install_dev
>>make[1]: Entering directory
>> `/home/christian/buildroot-2009.02-nptl/toolchain_b
>>uild_arm/uClibc-nptl-snapshot' make[2]: Nothing to be done for
>> `nptl_headers'.
>>make[2]: Nothing to be done for `nptl_linux_headers'.
>> AS ldso/ldso/arm/aeabi_read_tp.oS
>> AR cr ldso/ldso/ld-uClibc_so.a
>> STRIP -x -R .note -R .comment ldso/ldso/ld-uClibc_so.a
>> LD ld-uClibc-0.9.30-svn.so
>>make[2]: `lib/ld-uClibc.so' is up to date.
>> AS libc/sysdeps/linux/arm/libc-aeabi_read_tp.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/close.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/open.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/write.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/read.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.oS
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/close.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/open.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/write.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/read.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/clone.os
>> AS libpthread/nptl/sysdeps/unix/sysv/linux/arm/vfork.os
>> AR cr lib/libc.a
>> STRIP -x -R .note -R .comment lib/libc.a
>> AR cr libc/libc_so.a
>> STRIP -x -R .note -R .comment libc/libc_so.a
>> LD libuClibc-0.9.30-svn.so
>>libc/libc_so.a(close.oS):(.ARM.exidx+0x0): undefined reference to
>> `__aeabi_unwind_cpp_pr0' collect2: ld returned 1 exit status
This is due to the way you build the toolchain. These symbols are in libgcc
More information about the uClibc
mailing list