Recent

Author Topic: Lazarus for Windows on aarch64 (ARM64) - Native Compiler  (Read 19270 times)

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #45 on: July 17, 2024, 06:08:12 pm »
Still going I figure?

Dang, this is a biggie it seems!!!

Wallaby

  • Full Member
  • ***
  • Posts: 104
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #46 on: July 18, 2024, 12:19:16 am »
Looks like @CuriousKit didn't have time to look into this lately.

You can see work in progress here.

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #47 on: November 06, 2024, 01:23:31 pm »
Any luck with this?

Would a boost of the bug bounty be motivating?

Wallaby

  • Full Member
  • ***
  • Posts: 104
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #48 on: November 06, 2024, 01:50:50 pm »
As far as I can tell @CuriousKit was unable to figure out why it's not working, and whoever can figure it out, is not interested :-(

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #49 on: November 06, 2024, 02:22:44 pm »
But failure is not an option!!!

We simply need to figure this out - or Lazarus will never support aarch64 Windows, already a growth platform!

Thaddy

  • Hero Member
  • *****
  • Posts: 16201
  • Censorship about opinions does not belong here.
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #50 on: November 06, 2024, 02:33:02 pm »
Windows AARCH64 is simply not supported.. Yet.
It seems also very difficult to order such a device over here. So it may be even an abandonware device.
Linux works perfectly good on AARCH64, as reportedly M Apples with some glitches.
I can only confirm or deny after my newly ordered mini is delevered.
 

i have no intention ordering an MS variant too.
« Last Edit: November 06, 2024, 02:37:02 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #51 on: November 06, 2024, 02:37:09 pm »
Happy to ship an M3 Supermax to whomever is willing to fix this bug, as long as their country is not one that is a restricted shipping destination due to lithium ion battery regulations.

To clarify, the device is an M3 Max 16" MacBook Pro in its original shrinkwrap, 128 GB / 8 TB / 40 GPU cores (hence, "Supermax").

Sadly it has just been rendered obsolete with the imminent availability of the M4 Supermax, alas some things we just have to live with, don't we?

100% serious offer.

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #52 on: November 06, 2024, 02:39:10 pm »
Windows AARCH64 is simply not supported.. Yet.
It seems also very difficult to order such a device over here. So it may be even an abandonware device.
Linux works perfectly good on AARCH64, as reportedly M Apples with some glitches.
I can only confirm or deny after my newly ordered mini is delevered.
 

i have no intention ordering an MS variant too.

Just install Windows 11 aarch64 on your mini when it arrives, using free VMware or (possibly pirated) paid Parallels. Wow, that's 4 pee's in a row!

Thaddy

  • Hero Member
  • *****
  • Posts: 16201
  • Censorship about opinions does not belong here.
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #53 on: November 06, 2024, 02:46:14 pm »
Just install Windows 11 aarch64 on your mini when it arrives, using free VMware or (possibly pirated) paid Parallels. Wow, that's 4 pee's in a row!
I don't do pirated software for some 30 years or so, but yes, I did that in the past.
One remark: on Apple parallels still does the job, why would anybody want vmware? it has lost its purpose.
« Last Edit: November 06, 2024, 03:07:38 pm by Thaddy »
If I smell bad code it usually is bad code and that includes my own code.

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #54 on: November 06, 2024, 02:49:05 pm »
Just install Windows 11 aarch64 on your mini when it arrives, using free VMware or (possibly pirated) paid Parallels. Wow, that's 4 pee's in a row!
I don't do pirated software for some 30 years or so, but yes, I did that in the past.
One remark: on Apple parallel still does the job, why would anybody wants vmware? it has lost its purpose.

Sadly VMware is measurably worse on Apple aarch64 (slower in benchmarks - both 3D and CPU); alas Parallels is a subscription product, whereas VMware is legally 100% free (also, the performance differential is more like 10%).

Note that since the Broadcom acquisition, VMware seems poised to make a nosedive on non-Apple platforms, too (because they're jacking up prices a gazillion percent).

So sad, the looming fall of a titan.

dieselnutjob

  • Full Member
  • ***
  • Posts: 224
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #55 on: November 06, 2024, 02:55:10 pm »
a question and some answers about running Windows on an M1 Mac here:-
https://forums.macrumors.com/threads/windows-for-arm-on-m1-macbook-air.2433481/

There is also UTM
https://mac.getutm.app/

I have no idea with it's good enough to replace Parallels

msintle

  • Sr. Member
  • ****
  • Posts: 255
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #56 on: November 06, 2024, 09:39:28 pm »
a question and some answers about running Windows on an M1 Mac here:-
https://forums.macrumors.com/threads/windows-for-arm-on-m1-macbook-air.2433481/

There is also UTM
https://mac.getutm.app/

I have no idea with it's good enough to replace Parallels

UTM's kind of a nutcase compared to the established enterprises, for example their existing VM samples don't even work out of the box most of the time; something I consider scandalous.

VMware's far better than it for sure, I didn't benchmark UTM but pretty sure it may result in very disappointing scores. Ultimately they all use Apple's own mandated virtualization framework on Apple Silicon for some stuff or the other, so it's all a farce in the aarch64 macOS era.

PascalDragon

  • Hero Member
  • *****
  • Posts: 5769
  • Compiler Developer
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #57 on: November 07, 2024, 11:16:47 pm »
Windows AARCH64 is simply not supported.. Yet.

It is supported. It just has some critical bugs that make it unusable as of now.

It seems also very difficult to order such a device over here. So it may be even an abandonware device.

Did you even search? Googling for “Windows ARM Laptops” brings quite some result of various Snapdragon based laptops. (Though they have the tendency to be nearly as expensive as Apple MacBooks... 🙄)

Happy to ship an M3 Supermax to whomever is willing to fix this bug, as long as their country is not one that is a restricted shipping destination due to lithium ion battery regulations.

To clarify, the device is an M3 Max 16" MacBook Pro in its original shrinkwrap, 128 GB / 8 TB / 40 GPU cores (hence, "Supermax").

Sadly it has just been rendered obsolete with the imminent availability of the M4 Supermax, alas some things we just have to live with, don't we?

100% serious offer.

If I would have the time I would be quite tempted by this... But that would still have the problem to have Windows running in a usable simulation environment. And as it seems that solutions like UTM are essentially QEMU and KVM seems to not be working correctly on either UTM or Asahi Linux according to various sources (thus meaning bad performance) I can just as well use the Pi 4 I have (where KVM does work by the way) or lend the Windows Dev Kit 2023 from my workplace...

Wallaby

  • Full Member
  • ***
  • Posts: 104
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #58 on: November 08, 2024, 12:21:00 am »
If I would have the time I would be quite tempted by this... But that would still have the problem to have Windows running in a usable simulation environment. And as it seems that solutions like UTM are essentially QEMU and KVM seems to not be working correctly on either UTM or Asahi Linux according to various sources (thus meaning bad performance) I can just as well use the Pi 4 I have (where KVM does work by the way) or lend the Windows Dev Kit 2023 from my workplace...

Sorry to hear that you don't have any time to look into this :-(

But if you ever do, there is only one critical bug remaining, as far as I can tell. The compiler appears to write incorrect SEH data into Windows aarch64 EXEs.

By the way, this bug is easily reproducible by running a simple console program from the bug report under Wine on Pi 4.

dieselnutjob

  • Full Member
  • ***
  • Posts: 224
Re: Lazarus for Windows on aarch64 (ARM64) - Native Compiler
« Reply #59 on: November 08, 2024, 02:11:35 pm »
This looks interesting, but no activity for some time

https://github.com/amarioguy/AppleWOAProject/blob/gh-pages/index.md

 

TinyPortal © 2005-2018