[oe] Compile OE on Sun Ultrasparc 64 architecture?

harald ba0547 at bnv-bamberg.de
Wed Mar 4 20:11:46 UTC 2009


Am Mittwoch, den 04.03.2009, 12:45 -0700 schrieb Tom Rini:
> 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.
> 
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.





More information about the Openembedded-devel mailing list