* Compile OE on Sun Ultrasparc 64 architecture?
@ 2009-03-04 14:52 harald
2009-03-04 15:36 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: harald @ 2009-03-04 14:52 UTC (permalink / raw)
To: openembedded-devel
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 14:52 Compile OE on Sun Ultrasparc 64 architecture? harald
@ 2009-03-04 15:36 ` Tom Rini
2009-03-04 19:35 ` harald
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2009-03-04 15:36 UTC (permalink / raw)
To: openembedded-devel
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
--
Tom Rini
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 15:36 ` Tom Rini
@ 2009-03-04 19:35 ` harald
2009-03-04 19:45 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: harald @ 2009-03-04 19:35 UTC (permalink / raw)
To: openembedded-devel
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?
regards, harald.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 19:35 ` harald
@ 2009-03-04 19:45 ` Tom Rini
2009-03-04 20:11 ` harald
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2009-03-04 19:45 UTC (permalink / raw)
To: openembedded-devel
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
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 19:45 ` Tom Rini
@ 2009-03-04 20:11 ` harald
2009-03-04 20:23 ` Tom Rini
0 siblings, 1 reply; 7+ messages in thread
From: harald @ 2009-03-04 20:11 UTC (permalink / raw)
To: openembedded-devel
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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 20:11 ` harald
@ 2009-03-04 20:23 ` Tom Rini
2009-03-04 20:42 ` harald
0 siblings, 1 reply; 7+ messages in thread
From: Tom Rini @ 2009-03-04 20:23 UTC (permalink / raw)
To: openembedded-devel
On Wed, Mar 04, 2009 at 09:11:46PM +0100, harald wrote:
[snip]
> > > | /bin/sh ../sparc64-linux-libtool --mode=compile
[snip]
> 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.
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.
--
Tom Rini
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Compile OE on Sun Ultrasparc 64 architecture?
2009-03-04 20:23 ` Tom Rini
@ 2009-03-04 20:42 ` harald
0 siblings, 0 replies; 7+ messages in thread
From: harald @ 2009-03-04 20:42 UTC (permalink / raw)
To: openembedded-devel
Am Mittwoch, den 04.03.2009, 13:23 -0700 schrieb Tom Rini:
> On Wed, Mar 04, 2009 at 09:11:46PM +0100, harald wrote:
> [snip]
> > > > | /bin/sh ../sparc64-linux-libtool --mode=compile
> [snip]
> > 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.
>
> 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?
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2009-03-04 20:46 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04 14:52 Compile OE on Sun Ultrasparc 64 architecture? harald
2009-03-04 15:36 ` Tom Rini
2009-03-04 19:35 ` harald
2009-03-04 19:45 ` Tom Rini
2009-03-04 20:11 ` harald
2009-03-04 20:23 ` Tom Rini
2009-03-04 20:42 ` harald
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.