Recent

Author Topic: New bootstrap FPC 2.6.4 for Windows?? Where?  (Read 13152 times)

rvk

  • Hero Member
  • *****
  • Posts: 3836
New bootstrap FPC 2.6.4 for Windows?? Where?
« on: August 25, 2015, 02:22:38 pm »
Since Trunk version 31410 the minimum requirement to compile FPC is version 2.6.4 (according to the Makefile).

But in ftp://ftp.freepascal.org/pub/fpc/dist/2.6.4/bootstrap/ there are no Windows-version of FPC 2.6.4.
In ftp://ftp.freepascal.org/pub/fpc/dist/2.6.2/bootstrap/ there is but that's version 2.6.2 which doesn't compile FPC anymore.

Why was this requirement increased without providing a proper bootstrap FPC 2.6.4?

Quote
Makefile:2856: *** The only supported starting compiler version is 2.6.4. You are trying to build with 2.6.2..  Stop.

Edit:
Changing the REQUIREDVERSION back to 2.6.2 in the Makefile seems to work:
Code: [Select]
REQUIREDVERSION=2.6.2(but of course I don't want to do that every time I check out a trunk version)
« Last Edit: August 25, 2015, 02:31:19 pm by rvk »

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 659
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #1 on: August 25, 2015, 02:33:17 pm »
The only supported way to bootstrap FPC always has been and always will be based on a complete installation of the previous official release. The bootstrap compilers are sometimes uploaded for certain source-centric packagers, but they are 100% unsupported and you should not use them.

If it were up to me, all of these bootstrap compilers would be removed from the ftp site, because using them instead of a full installation can lead under some circumstances to hard to diagnose problems if you don't know the details of the FPC build process.

rvk

  • Hero Member
  • *****
  • Posts: 3836
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #2 on: August 25, 2015, 02:37:34 pm »
How is fpcup going to deal with that?

Download a complete installation, unpack the FPC and use that to recompile the just downloaded Lazarus.exe?

Every script which builds from scratch (i.e. without previous installed trunk version) uses the bootstrap version. So I'm wondering what's going to happen to that. I will save my own ppc386.exe for now but this is definitely not an easy/correct way to get users to use the trunk/development version.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 659
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #3 on: August 25, 2015, 02:41:01 pm »
fpcup should require that you have the latest official FPC release already installed (or possibly install it by itself). You don't have to redownload and reinstall the latest release all the time, it doesn't change that often. You can also keep multiple versions of FPC installed side by side, so I don't see how this makes things more difficult versus a bootstrap binary.

rvk

  • Hero Member
  • *****
  • Posts: 3836
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #4 on: August 25, 2015, 02:45:15 pm »
I'm not sure if fpcup searches for existing fpc-installations at the moment... but okay...

Let's see how many questions we get about that the coming days :)

jacobb

  • New Member
  • *
  • Posts: 20
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #5 on: August 25, 2015, 02:56:20 pm »
I think fpcup is meant to automate things for you. If you have an older version of fpc and it detects you need a newer version or it is entirely missing then it will download whatever is still needed. Imho that's a lot more useful than printing a message that you need to update your installed fpc.

Besides that, why is there a bootstrap folder at all then. If this is not supposed to be done then there should not be bootstrap compilers available for other targets either.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 659
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #6 on: August 25, 2015, 03:02:53 pm »
I think fpcup is meant to automate things for you. If you have an older version of fpc and it detects you need a newer version or it is entirely missing then it will download whatever is still needed. Imho that's a lot more useful than printing a message that you need to update your installed fpc.
It could also download an execute the installer of the latest release.

Quote
Besides that, why is there a bootstrap folder at all then. If this is not supposed to be done then there should not be bootstrap compilers available for other targets either.

As I said earlier "If it were up to me, all of these bootstrap compilers would be removed from the ftp site". But it's not just up to me.

jacobb

  • New Member
  • *
  • Posts: 20
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #7 on: August 25, 2015, 03:14:19 pm »
Besides that, why is there a bootstrap folder at all then. If this is not supposed to be done then there should not be bootstrap compilers available for other targets either.

As I said earlier "If it were up to me, all of these bootstrap compilers would be removed from the ftp site". But it's not just up to me.

Then as long as there is no consensus I think all targets should be treated equal and thus be available for download.

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7432
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #8 on: August 25, 2015, 03:19:06 pm »
The bootstrap compilers are sometimes uploaded for certain source-centric packagers, but they are 100% unsupported and you should not use them.

(to be exact: it started with the FreeBSD ports tree)

Quote
If it were up to me, all of these bootstrap compilers would be removed from the ftp site, because using them instead of a full installation can lead under some circumstances to hard to diagnose problems if you don't know the details of the FPC build process.

I'm not sure the complaints won't go away if you remove the bootstrap compiler. The constant demand for something was the reason to add them for the public in the first place.

IMHO continue and keep making clear it is meant for intermediate or expert level.

Jonas Maebe

  • Hero Member
  • *****
  • Posts: 659
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #9 on: August 25, 2015, 03:20:26 pm »
The official policy, on which there is consensus, is that bootstrapping is only supported starting from a full installation of the latest release.

Everything extra is up to individual initiative, as is usually the case with open source projects..

DonAlfredo

  • Hero Member
  • *****
  • Posts: 1122
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #10 on: August 26, 2015, 06:01:08 pm »
FPCUP uses the supplied bootstrap compilers from ftp://ftp.freepascal.org/pub/fpc
Naturally, this does not work anymore.

We have to think of something else to get things working !

rvk

  • Hero Member
  • *****
  • Posts: 3836
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #11 on: August 26, 2015, 06:39:15 pm »
So, there is no known maintainer who uploaded the other bootstraps and the Windows one for 2.6.2?

That really inspires confidence in the whole Lazarus project :)

(For now I use my own ppc386.exe 2.6.4 zipped which I download from my own server in my script instead of the one provided by the fpc server)
« Last Edit: August 26, 2015, 06:43:45 pm by rvk »

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7432
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #12 on: August 26, 2015, 08:31:22 pm »
So, there is no known maintainer who uploaded the other bootstraps and the Windows one for 2.6.2?

Uploading the bootstrap compilers is a job of the platform maintainer. Sometimes somebody fixes it for missing targets.

Quote
That really inspires confidence in the whole Lazarus project :)

So you are volunteering for release engineering? Cool!

rvk

  • Hero Member
  • *****
  • Posts: 3836
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #13 on: August 26, 2015, 09:15:14 pm »
So, there is no known maintainer who uploaded the other bootstraps and the Windows one for 2.6.2?
Uploading the bootstrap compilers is a job of the platform maintainer. Sometimes somebody fixes it for missing targets.
Quote
That really inspires confidence in the whole Lazarus project :)
So you are volunteering for release engineering? Cool!
No problem for me uploading the zip of the released ppc386.exe 2.6.4 (just need access). I just thought it would have been done simultaneously with the normal releases.

rvk

  • Hero Member
  • *****
  • Posts: 3836
Re: New bootstrap FPC 2.6.4 for Windows?? Where?
« Reply #14 on: August 26, 2015, 09:51:46 pm »
The only supported way to bootstrap FPC always has been and always will be based on a complete installation of the previous official release.
Where can I download the official release of FPC 2.6.4 for x86_64 (64bit) ???

Or do I need to first install FPC 2.6.4 32bit and then the cross-compiler for 64bit? Could the ppcrossx64.exe be used to compile FPC trunk 64bit? It's smaller than the ppcx64.exe which is released with Lazarus 1.4.2 64bit.

Or do I need to install complete Lazarus 64 bit to compile FPC trunk 64bit ?? (even in cases where Lazarus is not needed)