Author Topic: Wine patch to support PPC64  (Read 5218 times)

tle

  • Sr. Member
  • ****
  • Posts: 462
  • Karma: +53/-0
    • View Profile
    • Trung's Personal Website
Wine patch to support PPC64
« on: August 29, 2020, 03:19:46 am »
Faithful Linux enthusiast

My Raptor Blackbird

FlyingBlackbird

  • Full Member
  • ***
  • Posts: 102
  • Karma: +3/-0
    • View Profile
Re: Wine patch to support PPC64
« Reply #1 on: August 30, 2020, 05:54:49 pm »
Fascinating!

Can somebody explain how it will be possible to execute Windows binaries via Wine on a ppc64le architecture (which has a different CPU instruction set than x86)? QEMU?

I thought Wine is "just" offering the Windows API as a wrapper around kernel/Linux calls...

jirka

  • Newbie
  • *
  • Posts: 12
  • Karma: +1/-0
  • Ordinary Blackbird Owner
    • View Profile
    • Jirka's Notes
Re: Wine patch to support PPC64
« Reply #2 on: August 31, 2020, 10:51:43 am »
Can somebody explain how it will be possible to execute Windows binaries via Wine on a ppc64le architecture (which has a different CPU instruction set than x86)? QEMU?

No way.

It's just the winelib port: a library which allows to compile some programs which use Win API. It cannot be used  to run  x86 binaries on the POWER.
Probably sent from the sforza (a Blackbird workstation with Fedora) or the moose (a SGI O2).

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 462
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Wine patch to support PPC64
« Reply #3 on: August 31, 2020, 10:53:11 pm »
Exactly. You'd need something like Hangover to do that.

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: Wine patch to support PPC64
« Reply #4 on: November 09, 2020, 10:29:16 am »
Exactly. You'd need something like Hangover to do that.
Hey Classic,

I've just read your article (www.talospace.com/2020/10/its-good-to-have-hangover.html) about Hangover and visited the project page (github.com/AndreRH/hangover/tree/acb911f9ad38ef835d9265b6d474092970faa4ca).

Is there a binary that I can download and test?

I read the warning about 4 vs 64K pages. I'm using Fedora 33. Is it worth trying?

Thanks

MPC7500

  • Hero Member
  • *****
  • Posts: 587
  • Karma: +41/-1
    • View Profile
    • Twitter
Re: Wine patch to support PPC64
« Reply #5 on: November 09, 2020, 10:39:12 am »
Fedora uses 64kB.

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: Wine patch to support PPC64
« Reply #6 on: November 09, 2020, 01:15:40 pm »
Yeah, I know. It's just that Classic wrote "loading PE binaries, which have 4K aligned sections, into a 64K page comes with [lots] of problems, so currently the best approach is to avoid that". So I asked if it was worth trying anyway.

cchinicz

  • Full Member
  • ***
  • Posts: 131
  • Karma: +1/-0
    • View Profile
Re: Wine patch to support PPC64
« Reply #7 on: November 09, 2020, 01:20:25 pm »
BTW, once I tried to install Windows 10 on a VM using QEMU. I was a pain because it was extremely slow and frustrating because in the end the install failed. Anyway, that Windows binary iso must have compiled for 4K memory Pages but QEMU seems to have handled that, I guess.

ClassicHasClass

  • Sr. Member
  • ****
  • Posts: 462
  • Karma: +35/-0
  • Talospace Earth Orbit
    • View Profile
    • Floodgap
Re: Wine patch to support PPC64
« Reply #8 on: November 09, 2020, 01:59:21 pm »
No, it's not going to work properly. The code doesn't currently account for that situation. I would be surprised if anything worked correctly on a 64K-paged system as written.