Compile OE on Sun Ultrasparc 64 architecture?
Hello,
tried to compile OE on my Sun Ultrasparc 64 machine running on debian lenny.
Compilation fails, package qemu-native fails to compile with an error in zlib. please see build logs, machine h4000, user ba0547.
i have changed a value for architecture from sparc-linux to sparc64-linux becuase sparc64-linux has not been found and cmpilation does not even start.
please tell me what to do to resolve these errors.
Regards, harald.
Quoted 6 lines · harald
Hello,
tried to compile OE on my Sun Ultrasparc 64 machine running on debian lenny.
Compilation fails, package qemu-native fails to compile with an error in zlib. please see build logs, machine h4000, user ba0547.
You might want to disable binary locale generation on the host and see what else falls down. ENABLE_BINARY_LOCALE_GENERATION = 0 in your local.conf
Signature · 1 line
Tom Rini
Am Mittwoch, den 04.03.2009, 08:36 -0700 schrieb Tom Rini:
Quoted 13 lines · harald
Quoted 7 lines
Hello,
tried to compile OE on my Sun Ultrasparc 64 machine running on debian lenny.
Compilation fails, package qemu-native fails to compile with an error in zlib. please see build logs, machine h4000, user ba0547.You might want to disable binary locale generation on the host and see what else falls down.
ENABLE_BINARY_LOCALE_GENERATION= 0 in your local.conf
hello,
binary_locale_generation has been set to 0.
now other packages fail to compile/install:
| Making all in mpn
| make[2]: Entering directory `/home/stuff/tmp/work/sparc64-linux/gmp-native-4.2.4-r0/gmp-4.2.4/mpn' | /bin/sh ../sparc64-linux-libtool --mode=compile
--tag=CC ../mpn/m4-ccas --m4="m4" ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_echo add_n | sed 's/_$//' -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack test -f 'add_n.asm' || echo './'add_n.asm | sparc64-linux-libtool: compile: ../mpn/m4-ccas --m4=m4 ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack add_n.asm -fPIC -DPIC -o .libs/add_n.o
| m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s
| ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o
| tmp-add_n.s: Assembler messages: | tmp-add_n.s:66: Error: Architecture mismatch on "lduw". | tmp-add_n.s:66: (Requires v9|v9a|v9b; requested architecture is
sparclite.)
| tmp-add_n.s:67: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:67: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:69: Error: Architecture mismatch on "bl,pn %icc,.Lend1". | tmp-add_n.s:69: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:70: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:70: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:
cut....
for further details please see build log.
Any idea?
regards, harald.
Quoted 58 lines · harald
Am Mittwoch, den 04.03.2009, 08:36 -0700 schrieb Tom Rini:
Quoted 13 lines · harald
Quoted 7 lines
Hello,
tried to compile OE on my Sun Ultrasparc 64 machine running on debian lenny.
Compilation fails, package qemu-native fails to compile with an error in zlib. please see build logs, machine h4000, user ba0547.You might want to disable binary locale generation on the host and see what else falls down.
ENABLE_BINARY_LOCALE_GENERATION= 0 in your local.confhello,
binary_locale_generationhas been set to 0.now other packages fail to compile/install:
| Making all in mpn
| make[2]: Entering directory `/home/stuff/tmp/work/sparc64-linux/gmp-native-4.2.4-r0/gmp-4.2.4/mpn' |/bin/sh../sparc64-linux-libtool --mode=compile
--tag=CC ../mpn/m4-ccas --m4="m4" ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_echo add_n | sed 's/_$//'(quoted diff) +0
-3-isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack `test -f 'add_n.asm' || echo './'`add_n.asm| sparc64-linux-libtool: compile: ../mpn/m4-ccas --m4=m4 ccache gcc
(quoted diff) +0
-5-std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack add_n.asm -fPIC -DPIC -o .libs/add_n.o| m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s
| ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP(quoted diff) +0
-4-I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o| tmp-add_n.s: Assembler messages: | tmp-add_n.s:66: Error: Architecture mismatch on "lduw". | tmp-add_n.s:66: (Requires v9|v9a|v9b; requested architecture issparclite.)
| tmp-add_n.s:67: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:67: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:69: Error: Architecture mismatch on "bl,pn %icc,.Lend1". | tmp-add_n.s:69: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:70: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:70: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:
Quoted 4 lines
cut....
for further details please see build log.
Any idea?
Looks like sparc has a host needs some serious poking around, sorry. Either libtool we're building isn't being configured right, or libtool has a bug. It can't hurt to see if Debian has any sparc patches for libtool.
Signature · 1 line
Tom Rini
Am Mittwoch, den 04.03.2009, 12:45 -0700 schrieb Tom Rini:
Quoted 61 lines · harald
Quoted 60 lines
Am Mittwoch, den 04.03.2009, 08:36 -0700 schrieb Tom Rini:
Quoted 13 lines · harald
Quoted 7 lines
Hello,
tried to compile OE on my Sun Ultrasparc 64 machine running on debian lenny.
Compilation fails, package qemu-native fails to compile with an error in zlib. please see build logs, machine h4000, user ba0547.You might want to disable binary locale generation on the host and see what else falls down.
ENABLE_BINARY_LOCALE_GENERATION= 0 in your local.confhello,
binary_locale_generationhas been set to 0.now other packages fail to compile/install:
| Making all in mpn
| make[2]: Entering directory `/home/stuff/tmp/work/sparc64-linux/gmp-native-4.2.4-r0/gmp-4.2.4/mpn' |/bin/sh../sparc64-linux-libtool --mode=compile
--tag=CC ../mpn/m4-ccas --m4="m4" ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_echo add_n | sed 's/_$//'(quoted diff) +0
-3-isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack `test -f 'add_n.asm' || echo './'`add_n.asm| sparc64-linux-libtool: compile: ../mpn/m4-ccas --m4=m4 ccache gcc
(quoted diff) +0
-5-std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP -I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack add_n.asm -fPIC -DPIC -o .libs/add_n.o| m4 -DHAVE_CONFIG_H -D__GMP_WITHIN_GMP -DOPERATION_add_n -DPIC add_n.asm >tmp-add_n.s
| ccache gcc -std=gnu99 -c -DHAVE_CONFIG_H -I. -I.. -D__GMP_WITHIN_GMP(quoted diff) +0
-4-I.. -DOPERATION_add_n -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -isystem/home/stuff/tmp/staging/sparc64-linux/usr/include -O2 -Wa,--noexecstack tmp-add_n.s -fPIC -DPIC -o .libs/add_n.o| tmp-add_n.s: Assembler messages: | tmp-add_n.s:66: Error: Architecture mismatch on "lduw". | tmp-add_n.s:66: (Requires v9|v9a|v9b; requested architecture issparclite.)
| tmp-add_n.s:67: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:67: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:69: Error: Architecture mismatch on "bl,pn %icc,.Lend1". | tmp-add_n.s:69: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:70: Error: Architecture mismatch on "lduw".
| tmp-add_n.s:70: (Requires v9|v9a|v9b; requested architecture is sparclite.)
| tmp-add_n.s:cut....
Quoted 8 lines
Quoted 2 lines
for further details please see build log.
Any idea?Looks like sparc has a host needs some serious poking around, sorry. Either libtool we're building isn't being configured right, or libtool has a bug. It can't hurt to see if Debian has any sparc patches for libtool.
hello,
libtool was not even installed. there is no libtool-devel package available for lenny at all. for none of the architectures. have installed libtool 1.5.26-4. No updates available. same message than before. do i need to reconfigure if i installed addidional packages on build host? if yes, how do i do it? think the problem is anywhere in sparc configuration. system compiles without libtool on x86_64 machine.
regards, harald.
On Wed, Mar 04, 2009 at 09:11:46PM +0100, harald wrote:
[snip]
Quoted 1 line
Quoted 1 line
Quoted 1 line
|
/bin/sh../sparc64-linux-libtool --mode=compile
[snip]
Quoted 6 lines
libtool was not even installed. there is no libtool-devel package available for lenny at all. for none of the architectures. have installed libtool 1.5.26-4. No updates available. same message than before. do i need to reconfigure if i installed addidional packages on build host? if yes, how do i do it? think the problem is anywhere in sparc configuration. system compiles without libtool on
x86_64machine.
OE is making use of libtool, the version that it compiles for its own use, I believe, in this case. Debian as you note provides a host libtool 1.5.26. Perhaps Debian has a patch in libtool that needs to be imported to OE's version for it to have a correct sparc configuration. Or the problem could be deeper / elsewhere. Traditionally, sparc hasn't been the most ... easy to use ... platform, so you may need to do some serious digging around to see just where the problem lies.
Signature · 1 line
Tom Rini
Am Mittwoch, den 04.03.2009, 13:23 -0700 schrieb Tom Rini:
Quoted 11 lines · harald
[snip]
Quoted 1 line
Quoted 1 line
Quoted 1 line
|
/bin/sh../sparc64-linux-libtool --mode=compile[snip]
Quoted 6 lines
libtool was not even installed. there is no libtool-devel package available for lenny at all. for none of the architectures. have installed libtool 1.5.26-4. No updates available. same message than before. do i need to reconfigure if i installed addidional packages on build host? if yes, how do i do it? think the problem is anywhere in sparc configuration. system compiles without libtool on
x86_64machine.
Quoted 8 lines
OE is making use of libtool, the version that it compiles for its own use, I believe, in this case. Debian as you note provides a host libtool 1.5.26. Perhaps Debian has a patch in libtool that needs to be imported to OE's version for it to have a correct sparc configuration. Or the problem could be deeper / elsewhere. Traditionally, sparc hasn't been the most ... easy to use ... platform, so you may need to do some serious digging around to see just where the problem lies.
i am not good enougth to dig in system to see where the problem is... think at this point its the end of build host on sparc for me. have several other machines which may also compile a OE system. i want to use the sparc machine because i thought i would be the same debian installation as on my x86_64 machine and this machine i can let run the whole night long... if anyone is interested supporting this build platform i would do some testing. libtool was not even installed first time i did bitbake, so this may not be the problem of compilation error.
do i need to reconfigure anything if i install addidional packages on build host?