[Buildroot] [PATCH v2] package/uclibc: Enable compile in thumb mode configuration option
Waldemar Brodkorb
wbx at openadk.org
Sat Dec 19 09:31:45 UTC 2015
Hi Paul,
Paul Enman wrote,
> Hi All,
> Thanks for your feedback and insight. Buildroot does build a working Cortex-M
> (thumb instructions only) uClibc toolchain by touching up the uClibc(-ng)
> config file with
>
> Enable COMPILE_IN_THUMB_MODE
> and
> Disable UCLIBC_HAS_CONTEXT_FUNCS
>
> ARMv5 and thumb1 targets shouldn't be effected by this patch; I'll look into
> guarding packages that depend on (obsolescent?) context control functions and
> prepare an updated version for review.
I think some general symbol like BR2_ARCH_HAS_CONTEXT_FUNCS might be
useful, as other architectures like ARC/Xtensa do have the same
problem here.
> The toolchain compiles a bootable kernel and both Linuxthreads and NPTL build
> without error, however I am looking into why flthdr shows busybox bFLT flags
> are set to 0x2 (Has-PIC-GOT).
Is this a problem? What target do you use and did you do some
runtime testing on real hardware?
best regards
Waldemar
More information about the buildroot
mailing list