All of lore.kernel.org
 help / color / mirror / Atom feed
* ppc64 host
@ 2008-08-04 13:38 Sergey Lapin
  2008-08-05  8:26 ` Robert Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Sergey Lapin @ 2008-08-04 13:38 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Dmitry

Hi, all!

Do anybody had any success running OE builds on ppc64 host?
If not, is there any advice regarding that?

All the best,
S.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc64 host
  2008-08-04 13:38 ppc64 host Sergey Lapin
@ 2008-08-05  8:26 ` Robert Schuster
  2008-08-05 12:45   ` Dmitry Baryshkov
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Schuster @ 2008-08-05  8:26 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Dmitry

[-- Attachment #1: Type: text/plain, Size: 621 bytes --]

Hi,

Sergey Lapin schrieb:
> Hi, all!
> 
> Do anybody had any success running OE builds on ppc64 host?
just send this boxen over to me and I'll check it out.


Just kidding! :)

> If not, is there any advice regarding that?
You might run into trouble when qemu needs to execute some stuff from
the target platform as they do not list[0] ppc64 host cpu support
explicitly.

Otherwise follow the steps are applicable for other distros/CPUs as
well: /bin/sh needs to be bash etc.

Would be cool if you tell us whether you have success.

Regards
Robert

[0] - http://bellard.org/qemu/status.html



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc64 host
  2008-08-05  8:26 ` Robert Schuster
@ 2008-08-05 12:45   ` Dmitry Baryshkov
  2008-08-08  8:07     ` Robert Schuster
  0 siblings, 1 reply; 6+ messages in thread
From: Dmitry Baryshkov @ 2008-08-05 12:45 UTC (permalink / raw)
  To: Robert Schuster; +Cc: openembedded-devel

On Tue, Aug 05, 2008 at 10:26:05AM +0200, Robert Schuster wrote:
> Hi,
> 
> Sergey Lapin schrieb:
> > Hi, all!
> > 
> > Do anybody had any success running OE builds on ppc64 host?
> just send this boxen over to me and I'll check it out.
> 
> 
> Just kidding! :)
> 
> > If not, is there any advice regarding that?
> You might run into trouble when qemu needs to execute some stuff from
> the target platform as they do not list[0] ppc64 host cpu support
> explicitly.
> 
> Otherwise follow the steps are applicable for other distros/CPUs as
> well: /bin/sh needs to be bash etc.
> 
> Would be cool if you tell us whether you have success.

I'm building the OE images on the ppc64 host (Apple xServe G5):
Debian lenny (current), 64-bit kernel, 32-bit userspace.
To successfully build packages for arm, I had to manually override
BUILD_ARCH to be ppc (misdetected as ppc64) and disable binary locale
generation (qemu segfaulted).

I'm going to try to build OE image in fully 64 bit environment, but that
is not going to happen soon.

-- 
With best wishes
Dmitry




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc64 host
  2008-08-05 12:45   ` Dmitry Baryshkov
@ 2008-08-08  8:07     ` Robert Schuster
  2008-08-08  9:06       ` Graeme Gregory
  0 siblings, 1 reply; 6+ messages in thread
From: Robert Schuster @ 2008-08-08  8:07 UTC (permalink / raw)
  To: Dmitry Baryshkov; +Cc: openembedded-devel

[-- Attachment #1: Type: text/plain, Size: 684 bytes --]

Hi Dmitry,

Dmitry Baryshkov schrieb:
> I'm building the OE images on the ppc64 host (Apple xServe G5):
> Debian lenny (current), 64-bit kernel, 32-bit userspace.
64 bit kernel + 32 bit userspace is calling for trouble. At one place
the autotools stuff will think it needs 64 bit pointers but the compiler
supports only 32 bit pointers.

I was once experiencing this problem on an x86_64 box with 64 bit kernel
and 32 bit userland.

> To successfully build packages for arm, I had to manually override
> BUILD_ARCH to be ppc (misdetected as ppc64) and disable binary locale
> generation (qemu segfaulted).
If possible try running a 32 bit kernel.

Regards
Robert


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 268 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc64 host
  2008-08-08  8:07     ` Robert Schuster
@ 2008-08-08  9:06       ` Graeme Gregory
  2008-08-08 12:02         ` Koen Kooi
  0 siblings, 1 reply; 6+ messages in thread
From: Graeme Gregory @ 2008-08-08  9:06 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Dmitry Baryshkov, theBohemian

On Fri, 08 Aug 2008 10:07:15 +0200
Robert Schuster <theBohemian@gmx.net> wrote:

> Hi Dmitry,
> 
> Dmitry Baryshkov schrieb:
> > I'm building the OE images on the ppc64 host (Apple xServe G5):
> > Debian lenny (current), 64-bit kernel, 32-bit userspace.
> 64 bit kernel + 32 bit userspace is calling for trouble. At one place
> the autotools stuff will think it needs 64 bit pointers but the
> compiler supports only 32 bit pointers.
> 
> I was once experiencing this problem on an x86_64 box with 64 bit
> kernel and 32 bit userland.
> 
You can use the linux32 command to hide the 64 bitness from OE.

Graeme



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: ppc64 host
  2008-08-08  9:06       ` Graeme Gregory
@ 2008-08-08 12:02         ` Koen Kooi
  0 siblings, 0 replies; 6+ messages in thread
From: Koen Kooi @ 2008-08-08 12:02 UTC (permalink / raw)
  To: openembedded-devel

Graeme Gregory wrote:
> On Fri, 08 Aug 2008 10:07:15 +0200
> Robert Schuster<theBohemian@gmx.net>  wrote:
>
>> Hi Dmitry,
>>
>> Dmitry Baryshkov schrieb:
>>> I'm building the OE images on the ppc64 host (Apple xServe G5):
>>> Debian lenny (current), 64-bit kernel, 32-bit userspace.
>> 64 bit kernel + 32 bit userspace is calling for trouble. At one place
>> the autotools stuff will think it needs 64 bit pointers but the
>> compiler supports only 32 bit pointers.
>>
>> I was once experiencing this problem on an x86_64 box with 64 bit
>> kernel and 32 bit userland.
>>
> You can use the linux32 command to hide the 64 bitness from OE.

'linux32 screen -U' has been a life-saver[1] in the past for me :)

regards,

Koen

[1] no, not the candy




^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-08-08 12:02 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-04 13:38 ppc64 host Sergey Lapin
2008-08-05  8:26 ` Robert Schuster
2008-08-05 12:45   ` Dmitry Baryshkov
2008-08-08  8:07     ` Robert Schuster
2008-08-08  9:06       ` Graeme Gregory
2008-08-08 12:02         ` Koen Kooi

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.