[Buildroot] Analysis of build failures

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Mon Nov 11 10:17:18 UTC 2013


Dear Will Newton,

On Mon, 11 Nov 2013 10:01:17 +0000, Will Newton wrote:

> >>        arm |                 valgrind-3.8.1 | NOK | http://autobuild.buildroot.net/results/f174541ac06aeeac82b8399686a8d4371532760d/
> >
> > /tmp/cceJNtCh.s: Assembler messages:
> > /tmp/cceJNtCh.s:200: Error: r15 not allowed here -- `str r15,[r3,#+0]'
> > make[4]: *** [libcoregrind_arm_linux_a-m_libcassert.o] Error 1
> > make[4]: *** Waiting for unfinished jobs....
> >
> > Not sure what's going on here. Anyone to have a look?
> 
> valgrind uses inline assembly that is not Thumb compatible. It seems
> it isn't expected to build it in Thumb mode (although it emulates
> Thumb mode). It might be quite simple to fix but would need
> coordination with upstream etc.

Are you talking about Thumb, or Thumb-2 ? Because here the
configuration has:

BR2_arm=y
BR2_cortex_a8=y
BR2_TARGET_OPTIMIZATION="-mthumb"

so it's an ARMv7-A with -mthumb, so that means Thumb-2, right?

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list