* minimo not building
@ 2009-09-20 9:02 Alain2210
2009-09-20 12:23 ` Koen Kooi
2009-09-20 15:07 ` Khem Raj
0 siblings, 2 replies; 7+ messages in thread
From: Alain2210 @ 2009-09-20 9:02 UTC (permalink / raw)
To: openembedded-devel
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
----------------------------------------
--------- building fennec ---------------
tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/objdir/xulrunner/xpcom/reflect/xptcall/src/md/unix'
xptcinvoke_arm.cpp
arm-angstrom-linux-gnueabi-g++ -march=armv5te -mtune=xscale -mthumb-interwork
-mno-thumb
-L/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-rpath-link,/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib
-Wl,-O1 -Wl,--hash-style=gnu -o xptcinvoke_arm.o -c -fvisibility=hidden
-DMOZILLA_INTERNAL_API -DOSTYPE=\"Linux\" -DOSARCH=Linux -DEXPORT_XPTC_API
-D_IMPL_NS_COM
-I/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/../..
-I/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/../../../../xptinfo/src
-I/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix
-I. -I../../../../../../dist/include/string -I../../../../../../dist/include
-I../../../../../../dist/include/xpcom
-I/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/objdir/xulrunner/dist/include/nspr
-fPIC
-isystem/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-fno-rtti -fno-exceptions -Wall -Wpointer-arith -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -Wno-invalid-offsetof
-Wno-long-long -pedantic
-isystem/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/include
-Os -fno-signed-char -fno-strict-aliasing -fpermissive
-fvisibility-inlines-hidden -fno-strict-aliasing -fshort-wchar -pthread -pipe
-DNDEBUG -DTRIMMED -Os -freorder-blocks -fno-reorder-functions -finline-limit=50
-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
/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp
/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp:
In function 'void invoke_copy_to_stack(PRUint32*, PRUint32, nsXPTCVariant*)':
/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp:143:
warning: cast from 'PRUint32*' to 'PRInt64*' increases required alignment of
target type
/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp:148:
warning: cast from 'PRUint32*' to 'PRUint64*' increases required alignment of
target type
/ext/oe/build-shr-0907/tmp/work/armv5te-angstrom-linux-gnueabi/fennec-1_0.9+1.0b2pre-r3/mozilla-central/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_arm.cpp:151:
warning: cast from 'PRUint32*' to 'double*' increases required alignment of
target type
arm-angstrom-linux-gnueabi-g++: -rpath-link: linker input file unused because
linking not done
arm-angstrom-linux-gnueabi-g++:
/ext/oe/build-shr-0907/tmp/staging/armv5te-angstrom-linux-gnueabi/usr/lib:
linker input file unused because linking not done
arm-angstrom-linux-gnueabi-g++: -O1: linker input file unused because linking
not done
arm-angstrom-linux-gnueabi-g++: --hash-style=gnu: linker input file unused
because linking not done
--------------------------
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: minimo not building
2009-09-20 9:02 minimo not building Alain2210
@ 2009-09-20 12:23 ` Koen Kooi
2009-09-20 14:58 ` Alain2210
2009-09-20 15:07 ` Khem Raj
1 sibling, 1 reply; 7+ messages in thread
From: Koen Kooi @ 2009-09-20 12:23 UTC (permalink / raw)
To: openembedded-devel
On 20-09-09 11:02, Alain2210 wrote:
> Hello,
>
> I'm using the shr/import branch, and Angstrom distribution, and I want to build
> minimo for a h2200 ipaq.
If you want to build angstrom, use org.openembedded.dev or stable/2009
anything else is unsupported.
regards,
Koen
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: minimo not building
2009-09-20 12:23 ` Koen Kooi
@ 2009-09-20 14:58 ` Alain2210
0 siblings, 0 replies; 7+ messages in thread
From: Alain2210 @ 2009-09-20 14:58 UTC (permalink / raw)
To: openembedded-devel, Koen Kooi; +Cc: openembedded-devel
Hello
Selon Koen Kooi <k.kooi@student.utwente.nl>:
> On 20-09-09 11:02, Alain2210 wrote:
> > Hello,
> >
> > I'm using the shr/import branch, and Angstrom distribution, and I want to
> build
> > minimo for a h2200 ipaq.
>
> If you want to build angstrom, use org.openembedded.dev or stable/2009
> anything else is unsupported.
>
With respect to minimo, I'm building stable/2009. Is tinderdox or narcissus
able to say if minimo can be built now ?
Thanks,
Alain
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: minimo not building
2009-09-20 9:02 minimo not building Alain2210
2009-09-20 12:23 ` Koen Kooi
@ 2009-09-20 15:07 ` Khem Raj
2009-09-20 18:45 ` Alain2210
1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2009-09-20 15:07 UTC (permalink / raw)
To: openembedded-devel
On Sun, Sep 20, 2009 at 2:02 AM, Alain2210 <alain2210@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
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: minimo not building
2009-09-20 15:07 ` Khem Raj
@ 2009-09-20 18:45 ` Alain2210
2009-09-21 12:24 ` Phil Blundell
0 siblings, 1 reply; 7+ messages in thread
From: Alain2210 @ 2009-09-20 18:45 UTC (permalink / raw)
To: openembedded-devel, Khem Raj; +Cc: openembedded-devel
Hello,
Thanks for the answer.
Selon Khem Raj <raj.khem@gmail.com>:
> > | {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 for the explanation. How can I make minimo build again ? (and do you have
an idea why fennec with the same code can be built ?)
Sincerely,
Alain
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: minimo not building
2009-09-20 18:45 ` Alain2210
@ 2009-09-21 12:24 ` Phil Blundell
2009-09-24 21:06 ` Alain2210
0 siblings, 1 reply; 7+ messages in thread
From: Phil Blundell @ 2009-09-21 12:24 UTC (permalink / raw)
To: openembedded-devel
On Sun, 2009-09-20 at 20:45 +0200, Alain2210 wrote:
> Thanks for the explanation. How can I make minimo build again ? (and do you have
> an idea why fennec with the same code can be built ?)
Fennec uses mozilla.inc, which sets ARM_INSTRUCTION_SET = "arm". This
is a somewhat sucky workaround since it will force the entire program to
be built as ARM, but it would at least avoid the problem you're seeing.
A better fix would be to identify the source of the offending
instructions and either convert them to Thumb or put them out of line.
p.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: minimo not building
2009-09-21 12:24 ` Phil Blundell
@ 2009-09-24 21:06 ` Alain2210
0 siblings, 0 replies; 7+ messages in thread
From: Alain2210 @ 2009-09-24 21:06 UTC (permalink / raw)
To: openembedded-devel, Phil Blundell; +Cc: openembedded-devel
Hello,
Selon Phil Blundell <philb@gnu.org>:
> On Sun, 2009-09-20 at 20:45 +0200, Alain2210 wrote:
> > Thanks for the explanation. How can I make minimo build again ? (and do you
> have
> > an idea why fennec with the same code can be built ?)
>
> Fennec uses mozilla.inc, which sets ARM_INSTRUCTION_SET = "arm". This
> is a somewhat sucky workaround since it will force the entire program to
> be built as ARM, but it would at least avoid the problem you're seeing.
Sorry, for the late answer. I can confirm that with this instruction minimo
builds on my laptop and works on my ipaq. Perhaps could it be put in oe.dev.
> A better fix would be to identify the source of the offending
> instructions and either convert them to Thumb or put them out of line.
Sure, but it is far beyond my knowledges.
Thanks for the explanation.
Sincerely,
Alain
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-09-24 21:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-20 9:02 minimo not building Alain2210
2009-09-20 12:23 ` Koen Kooi
2009-09-20 14:58 ` Alain2210
2009-09-20 15:07 ` Khem Raj
2009-09-20 18:45 ` Alain2210
2009-09-21 12:24 ` Phil Blundell
2009-09-24 21:06 ` Alain2210
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.