[oe] minimo not building

Khem Raj raj.khem at gmail.com
Sun Sep 20 15:07:13 UTC 2009


On Sun, Sep 20, 2009 at 2:02 AM, Alain2210 <alain2210 at free.fr> wrote:
> Hello,
>
> I'm using the shr/import branch, and Angstrom distribution, and I want to build
> minimo for a h2200 ipaq.
>
> It fails on
> tmp/work/armv5te-angstrom-linux-gnueabi/minimo-1_0.02+cvs20070626-r1/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
> with the error message below, that is an assembler problem.
>
> But the stange thing, is that fennec is building in the same configuration
> and with the same assembler instructions. (the xptcinvoke_arm.cpp is quite the
> same for minimo and fennec).
>
> It have tried google to find such error but without succes.
>
> Thanks,
>
> Alain
>
> below : builds of minimo and fennec for xptcinvoke_arm.cpp
>
> ----------------- building minimo ----------------
>  arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -mthumb-interwork
> -mthumb -o xptcinvoke_arm.o -c -fvisibility=hidden -DMOZILLA_INTERNAL_API
> -DOSTYPE=\"Linux\" -DOSARCH=\"Linux\" -DBUILD_ID=0000000000 -DEXPORT_XPTC_API
> -I../../../../../../dist/include/xpcom -I../../../../../../dist/include
> -I../../../../../../dist/include/nspr    -I./../..    -fPIC
> -isystem/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
>  -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align
> -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor
> -Wno-long-long -pedantic
> -isystem/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
> -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2
> -fpermissive -fvisibility-inlines-hidden -fshort-wchar -pthread -pipe  -DNDEBUG
> -DTRIMMED -Os -O2
> -isystem/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
>  -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h
> -Wp,-MD,.deps/xptcinvoke_arm.pp xptcinvoke_arm.cpp
> | In file included from ../../../../../../dist/include/xpcom/xptcall.h:47,
> |                  from ./../../xptcprivate.h:43,
> |                  from xptcinvoke_arm.cpp:40:
> | ../../../../../../dist/include/xpcom/xptinfo.h: In member function 'const
> nsXPTCMiniVariant* nsXPTConstant::GetValue() const':
> | ../../../../../../dist/include/xpcom/xptinfo.h:258: warning: type-punning to
> incomplete type might break strict-aliasing rules
> | xptcinvoke_arm.cpp: In function 'void invoke_copy_to_stack(PRUint32*,
> PRUint32, nsXPTCVariant*)':
> | xptcinvoke_arm.cpp:112: warning: cast from 'PRUint32*' to 'PRInt64*' increases
> required alignment of target type
> | xptcinvoke_arm.cpp:116: warning: cast from 'PRUint32*' to 'PRUint64*'
> increases required alignment of target type
> | xptcinvoke_arm.cpp:118: warning: cast from 'PRUint32*' to 'double*' increases
> required alignment of target type
> | {standard input}: Assembler messages:
> | {standard input}:28: Error: lo register required -- `ldr ip,[r5,#16]'
> | {standard input}:33: Error: lo register required -- `sub sp,sp,r4'
> | {standard input}:37: Error: lo register required -- `ldr ip,[r5,#20]'
> | {standard input}:44: Error: lo register required -- `ldr ip,[r1,r2]'
> | {standard input}:46: Error: Thumb does not support conditional execution
> | {standard input}:47: Error: Thumb does not support conditional execution
> | {standard input}:48: Error: Thumb does not support conditional execution
> | {standard input}:49: Error: Thumb does not support conditional execution
> | {standard input}:50: Error: Thumb does not support conditional execution
> | make[8]: *** [xptcinvoke_arm.o] Error 1


The error messages are clear that there is mixed arm
and thumb code in a file but is not properly guarded with
.arm and .thumb (.code16 or .code32) directives.

It could be inline assembly.

Thanks

-Khem




More information about the Openembedded-devel mailing list