Recent

Author Topic: Preparing FPC 3.2.4, point out road blocks now  (Read 25080 times)

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 10087
  • FPC developer.
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #30 on: October 28, 2021, 12:34:43 pm »
Аccidentally discovered that FPC 3.2.2(and 3.3.1)-win64 lacks compiled units for the GMP package. Are there any reasons for this?

Headers are generally only enabled for targets that they were confirmed to fully work.

avk

  • Hero Member
  • *****
  • Posts: 602
    • my self-education project
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #31 on: October 28, 2021, 12:50:22 pm »
Thank you.


trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1983
  • Former Delphi 1-7, 10.2 user
OS X 10.8.5 fixes32 build failure
« Reply #33 on: November 15, 2021, 10:52:39 am »
Mountain Lion 10.8.5 (Intel) fails to build FPC 3.2 Fixes. The cause is the codesign command:

   /usr/bin/codesign --remove-signature ppc3.tmp 
  ppc3.tmp: unsupported type or version of signature
  make[2]: *** [cycle] Error 1
  make[1]: *** [compiler_cycle] Error 2
  make: *** [build-stamp.x86_64-darwin] Error 2


I could not remove the signature either, but I could re-sign it with:

  /usr/bin/codesign --force --sign - ppc3.tmp

although the Makefile only wants to remove a signature and not re-sign the executables. It turns out that the codesign utility for Mountain Lion lacks the --remove-signature option.

Code: Text  [Select][+][-]
  1. trev@dynamic37 [/Users/trev/fpc_fixes32/compiler] $ codesign
  2. Usage: codesign -s identity [-fv*] [-o flags] [-r reqs] [-i ident] path ... # sign
  3.        codesign -v [-v*] [-R testreq] path|pid ... # verify
  4.        codesign -d [options] path ... # display contents
  5.        codesign -h pid ... # display hosting paths

[Updated]
 The same issue also applies to OS X Maevricks, OS X Yosemite, OS X El Capitan and macOS Sierra.

[Updated2]
My workaround was to create a fake codesign and ensure it was found first in the path.

Jonas suggested that you can provide a custom codesign command via the CODESIGN=xxx make parameter. You could use CODESIGN=/usr/bin/true to work around it.
« Last Edit: November 17, 2021, 11:51:51 pm by trev »
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 x86_64 Xcode 13.4
Lazarus 2.3, FPC 3.3.1 macOS 12.3.1 aarch64 Xcode 13.4


Zvoni

  • Hero Member
  • *****
  • Posts: 1240
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #35 on: March 31, 2022, 03:56:53 pm »
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

dbannon

  • Hero Member
  • *****
  • Posts: 2043
    • tomboy-ng, a rewrite of the classic Tomboy
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #36 on: April 01, 2022, 01:31:09 am »
https://forum.lazarus.freepascal.org/index.php/topic,58888.msg439013.html (accommodate forthcoming changes to glibc)

and, probably wishful thinking -

https://gitlab.com/freepascal.org/fpc/source/-/issues/39451  (hardening on PPC64le)

.... sorry !

Davo
Lazarus 2, Linux (and reluctantly Win10, OSX)
My Project - https://github.com/tomboy-notes/tomboy-ng

PascalDragon

  • Hero Member
  • *****
  • Posts: 4159
  • Compiler Developer
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #37 on: April 01, 2022, 03:22:05 pm »
Any news on this issue?: https://gitlab.com/freepascal.org/fpc/source/-/issues/35248

Not even fixed in main, so definitely won't be fixed in 3.2.4.

jonnybravo

  • New Member
  • *
  • Posts: 13
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #38 on: April 02, 2022, 04:25:53 pm »
Where can I see what's in main?  I am interested in what could be coming our way!

Bi0T1N

  • Jr. Member
  • **
  • Posts: 78
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #39 on: April 02, 2022, 05:40:04 pm »
Where can I see what's in main?  I am interested in what could be coming our way!
You can see new features here and bug fixes/changes here. However, this is not updated for every single change so you might also need to check the commit history.

jonnybravo

  • New Member
  • *
  • Posts: 13
Re: Preparing FPC 3.2.4, point out road blocks now
« Reply #40 on: April 02, 2022, 05:47:55 pm »
Thank you, that's great!!  O:-)

 

TinyPortal © 2005-2018