Recent

Author Topic: macOS upgrade broke FPC  (Read 1582 times)

Igor Kokarev

  • Sr. Member
  • ****
  • Posts: 349
macOS upgrade broke FPC
« on: August 03, 2021, 01:15:00 pm »
I recently had another (or similar) problem with Mac Mini M1 after upgrading macOS 11.4 to 11.5. It damaged FPC files/configuration. And I could compile only aarch64 code.

When I tried to compile x86-64 code I got an error.

I had FPC 3.2.2 fixes tree. So I decided to install official stable 3.2.2 from packages. Reinstalled FPC and now all works fine.

So it seems that even minor update of macOS may hurt FPC files.

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1698
  • Former Delphi 1-7, 10.2 user
Re: macOS upgrade broke FPC
« Reply #1 on: August 03, 2021, 01:56:58 pm »
In theory, at least, a macOS Big Sur update cannot affect user data because the system data is stored in its own sealed volume and only a snapshot of that volume is mounted and mounted read-only. The data volume, which contains user data, is not touched and is not even mounted during updates.

As for APFS data corruption - if it happens again, I would suggest running fsck_apfs. Apparently APFS data corruption is fairly common according to https://bombich.com/kb/ccc5/coping-errors-caused-apfs-filesystem-corruption

I've not suffered it <touches wooden desk/> myself. I have suffered HFS+ data corruption of Time Machine volumes, though after hours of running every option to fsck_hfs, I recovered everything (amazingly).
« Last Edit: August 03, 2021, 02:00:49 pm by trev »
Lazarus 2.3, FPC 3.3.1 macOS 12.0.1 x86_64 Xcode 13.1
Lazarus 2.3, FPC 3.3.1 macOS 12.0.1 aarch64 Xcode 13.1
Lazarus 2.3, FPC 3.2.2 FreeBSD 13.0 amd64 VM
Lazarus 2.3, FPC 3.2.2 FreeBSD 12.2 amd64 VM
Lazarus 2.1 r61574 FPC 3.0.4 Ubuntu 20.04 VM
Lazarus 2.0.10 FPC 3.2.0 Win10 VM

 

TinyPortal © 2005-2018