[Buildroot] [PATCH] arch/arm: add support for thumb(1) mode

Peter Korsgaard jacmet at uclibc.org
Thu Jul 18 22:32:16 UTC 2013


>>>>> "Gustavo" == Gustavo Zacarias <gustavo at zacarias.com.ar> writes:

 Gustavo> On 07/18/2013 05:10 AM, Peter Korsgaard wrote:
 >> FYI, I just did a test build (arm926/thumb1/internal uclibc), and the
 >> build dies in NPTL when it runs out of registers. Without threads it
 >> builds and seems to work.

 Gustavo> I regularly build -mthumb (via CFLAGS) projects without issues for an
 Gustavo> arm920t, but that doesn't force those flags for uclibc, just catched the
 Gustavo> breakage after you fixed my patch (mine was a no-op, d'oh!)
 Gustavo> Seems uclibc is broken for thumb builds, even with
 Gustavo> COMPILE_IN_THUMB_MODE=y in its config (which the only thing it does is
 Gustavo> add -mthumb to the compile flags).

Actually the uClibc breakage seems to only be in the NPTL stuff. A test
build without threads worked OK.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list