[oe] Compile OE on Sun Ultrasparc 64 architecture?

Tom Rini trini at kernel.crashing.org
Wed Mar 4 19:45:02 UTC 2009


On Wed, Mar 04, 2009 at 08:35:38PM +0100, harald wrote:
> Am Mittwoch, den 04.03.2009, 08:36 -0700 schrieb Tom Rini:
> > On Wed, Mar 04, 2009 at 03:52:30PM +0100, harald wrote:
> > 
> > > 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?

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.

-- 
Tom Rini




More information about the Openembedded-devel mailing list