Lazarus

Announcements => Free Pascal => Topic started by: marcov on February 17, 2017, 06:57:10 pm

Title: FPC 3.0.2 released!
Post by: marcov on February 17, 2017, 06:57:10 pm
Hello,

Finally, FPC 3.0.2 has landed. FPC 3.0.2 is an update to 3.0.0 that
contains some compiler bugfixes and library progress since 3.0.0

Building is still in progress and some formats (deb) and other minor targets
might
not be available yet.

Changes that may break backwards compatibility are documented at:
http://wiki.freepascal.org/User_Changes_3.0.2

Due to issues with mirroring, please use sourceforge as much as possible,

http://sourceforge.net/projects/freepascal/files/

or the main (Hungarian) FTP server at

ftp://www.hu.freepascal.org/pub/fpc/dist/3.0.2

Enjoy!

The FreePascal team



                            Free Pascal Compiler

                                Version 3.0.2

****************************************
                              What's New in 3.0.2
****************************************

Free Pascal 3.0.2 is a point release of the 3.0.x fixes branch.

Please also see http://wiki.freepascal.org/User_Changes_3.0.2 for a list
of changes that may affect the behaviour of previously working code, and
how to cope with these changes.

Some highlights are:

Rtl:

Packages:

See http://bugs.freepascal.org/changelog_page.php for the list of reported
bugs which have been fixed in this release.
Title: Re: FPC 3.0.2 released!
Post by: jwdietrich on February 17, 2017, 08:02:53 pm
Excellent! Is there a version for PPC-based Macs underway?
Title: Re: FPC 3.0.2 released!
Post by: zeljko on February 17, 2017, 08:07:22 pm
Thanks to fpc team :)
Title: Re: FPC 3.0.2 released!
Post by: Thaddy on February 18, 2017, 09:15:30 am
Thanks. Very good release. I particularly like the fact that the standard helpers for types made it into the RTL, as well as many db improvements.
Both are not in the release notes (yet) but are really significant. Again. great Job and KUDOS

I can't remember a release with so many back-ports from trunk?
Title: Re: FPC 3.0.2 released!
Post by: JuhaManninen on February 18, 2017, 09:46:01 am
I can't remember a release with so many back-ports from trunk?
Well, this dot release took well over a year which is also exceptional.
Anyway, I am happy it now finally happened. Thanks!
This started to look like a dead project for casual users who only check new releases. Now it is back alive for them, too. :)
Title: Re: FPC 3.0.2 released!
Post by: Bart on February 18, 2017, 01:45:50 pm
The fpc-3.0.2.i386-win32.cross.arm-wince.exe seems to be corrupted.

"The setup files are corrupted. Please obtain a new copy of the program."

(I already thought it was a bit small, it's only 4.9 MB)

Tried both SF and the hungarian ftp site.

Note: MS Security Essentials flags this file as virus/malware.

Bart
Title: Re: FPC 3.0.2 released!
Post by: Zath on February 18, 2017, 06:47:06 pm
When can look for Laz 1.6 and FPC3.0.2 in one download ?
I just tried to add fpc 3.0.2 to my install of 1.6 and I had to manually select the paths to FPC, rtl etc and it wasn't very successful. I found the FPC fine but had to look around for the rtl directory and eventually found it in bin. Still didn't like it and tried many times, got annoyed and uninstalled it all.
Title: Re: FPC 3.0.2 released!
Post by: balazsszekely on February 18, 2017, 08:07:54 pm
Quote
@Zath
When can look for Laz 1.6 and FPC3.0.2 in one download ?
Soon.
Title: Re: FPC 3.0.2 released!
Post by: jacmoe on February 18, 2017, 08:19:20 pm
Great work - thank you so much! Free Pascal is the best Object Pascal.  ;D  ;)
Title: Re: FPC 3.0.2 released!
Post by: Thaddy on February 18, 2017, 10:09:36 pm
The fpc-3.0.2.i386-win32.cross.arm-wince.exe seems to be corrupted.
I suppose you also filed this as a bug report... (of course you did?)

Anyway, this is a great release. Well done all. (Also you Bart, for your efforts to put the bugs in the right forum, that's also a contribution not to be ignored)
Title: Re: FPC 3.0.2 released!
Post by: Bart on February 18, 2017, 10:24:22 pm
The fpc-3.0.2.i386-win32.cross.arm-wince.exe seems to be corrupted.
I suppose you also filed this as a bug report... (of course you did?)

Has already been fixed today.
Security Essentials still flags this as potential malware/virus (but it does not prevent me from executing it).

Bart
Title: Re: FPC 3.0.2 released!
Post by: BSaidus on February 19, 2017, 01:07:34 pm
The thank you .... tralalalala .... the very much !!  :D
Title: Re: FPC 3.0.2 released!
Post by: mischi on February 19, 2017, 07:40:29 pm
Hi.

The fink packages for fpc 3.0.2 on OS X are ready, including lazarus and other tools.

Michael.
Title: Re: FPC 3.0.2 released!
Post by: Girlbrush on February 20, 2017, 07:20:23 am
Great news!

Is there a x64/win64 package?
Title: Re: FPC 3.0.2 released!
Post by: Thaddy on February 20, 2017, 07:29:28 am
Great news!

Is there a x64/win64 package?
x86_64/win64 is a.f.a.i.k. still not an official binary release, apart from the cross-compilers. You need to build it yourself or wait for it to appear e.g. by the Codetyphon people or others.
Title: Re: FPC 3.0.2 released!
Post by: Girlbrush on February 20, 2017, 09:46:44 am
Great news!

Is there a x64/win64 package?
x86_64/win64 is a.f.a.i.k. still not an official binary release, apart from the cross-compilers. You need to build it yourself or wait for it to appear e.g. by the Codetyphon people or others.
Thanks, will build myself in that case  :)
Title: Re: FPC 3.0.2 released!
Post by: chenyuchih on February 21, 2017, 12:56:21 am
Great! Thank you the FPC team stuffs!

Long life the Pascal !
Title: Re: FPC 3.0.2 released!
Post by: Eugene Loza on February 21, 2017, 09:22:18 am
Congratulations and thank you!!!!  :D
Title: Re: FPC 3.0.2 released!
Post by: jacmoe on February 21, 2017, 10:02:44 pm
I just cross-compiled to win32 on my 64bit Linux box and ran it on Win2000 in a VirtualBox just like that - copied a single executable file - that is impressive!
I was expecting all kinds of pain, but Free Pascal rocks. :D

Great work!  ;D
Title: Re: FPC 3.0.2 released!
Post by: Pascal on February 23, 2017, 12:31:16 am
Just updated fixes_3_0. Why is the version 3.0.3? Shouldn't it be 3.0.2?
Title: Re: FPC 3.0.2 released!
Post by: Cyrax on February 23, 2017, 01:06:49 am
Odd numbers for under development, even numbers for the release fixes.

http://stackoverflow.com/questions/65718/what-do-the-numbers-in-a-version-typically-represent-i-e-v1-9-0-1
Title: Re: FPC 3.0.2 released!
Post by: marcov on February 23, 2017, 04:11:51 am
Or better, FPC versioning's faq : http://www.freepascal.org/faq.var#versions
Title: Re: FPC 3.0.2 released!
Post by: Pascal on February 23, 2017, 07:41:49 am
Ah, okay. Thanks.
Title: Re: FPC 3.0.2 released!
Post by: vfclists on February 27, 2017, 02:10:47 pm
I tried to compile Lazarus 1.6.2 with FPC 3.0.2 and it failed.

Is the default Lazarus 1.6.2 compilable with FPC 3.0.2, or does it require either Lazarus fixes or FPC fixes branch
Title: Re: FPC 3.0.2 released!
Post by: white_zombie on February 27, 2017, 03:09:36 pm
In which OS?

I compiled Lazarus 1.6.2 with FPC 3.0.2 in Linux x64 and Raspberry Pi without problems.
Title: Re: FPC 3.0.2 released!
Post by: vfclists on February 27, 2017, 06:05:05 pm
In which OS?

I compiled Lazarus 1.6.2 with FPC 3.0.2 in Linux x64 and Raspberry Pi without problems.

I have to mention that I am using fpcdeluxe, and I mean building the combination with fpcdeluxe, rather than bootstrapping the compilation with fpc 3.0.2, in case that caused confustion

Build combinations that failed:
  Lazarus 1.6.2 and FPC 3.0.0 - (standard release)

Build combinations that worked:
  Lazarus 1.6.2 and FPC 3.0.0
  Lazarus 1.6.2 fixes and Lazarus 3.0.2 fixes

I will try the failed combination again to see if it will turn out right.
Title: Re: FPC 3.0.2 released!
Post by: white_zombie on February 27, 2017, 07:34:06 pm
Quote

Build combinations that failed:
  Lazarus 1.6.2 and FPC 3.0.0 - (standard release)


Here, I think you mean Lazarus 1.6.2 and FPC 3.0.2

I never used fpcdeluxe or fpcup but I guess that it does in an automatic way what I did with my own script, I compiled FPC 3.0.2 from sources with a bootstrapping FPC 3.0.0 and then compile Lazarus with FPC 3.0.2, so the problem should be in fpcdeluxe itself.

Title: Re: FPC 3.0.2 released!
Post by: vfclists on February 27, 2017, 08:03:55 pm
Quote

Build combinations that failed:
  Lazarus 1.6.2 and FPC 3.0.0 - (standard release)


Here, I think you mean Lazarus 1.6.2 and FPC 3.0.2

I never used fpcdeluxe or fpcup but I guess that it does in an automatic way what I did with my own script, I compiled FPC 3.0.2 from sources with a bootstrapping FPC 3.0.0 and then compile Lazarus with FPC 3.0.2, so the problem should be in fpcdeluxe itself.

The current 1.6.2 release version on sourceforge uses FPC 3.0.0
Title: Re: FPC 3.0.2 released!
Post by: white_zombie on February 27, 2017, 08:35:04 pm

The current 1.6.2 release version on sourceforge uses FPC 3.0.0

Ok, I know that but then I don't understand your post, you said that the combination of Lazarus 1.6.2 and FPC 3.0.0 works and not works?

Quote from: vfclists

Build combinations that failed:
  Lazarus 1.6.2 and FPC 3.0.0 - (standard release)

Build combinations that worked:
  Lazarus 1.6.2 and FPC 3.0.0

As I stated before, I don't used fpcdeluxe and don't know how it works but what I can tell you for sure is that Lazarus 1.6.2 and FPC 3.0.2 are compatible at least in the OS I mention in my first post (and I am pretty sure it works in other platforms as well)
Title: Re: FPC 3.0.2 released!
Post by: swwei on March 01, 2017, 02:40:26 am
I believe there is something wrong with fpc-3.0.2.x86_64-linux.tar
I unpacked it and tried to run  installl.sh
but got  following response:

 Install prefix (/usr or /usr/local)  [/home/steve/fpc-3.0.2] :
Installing compiler and RTL for x86_64-linux...
Installing rtl packages...
Installing rtl-console
tar: A lone zero block at 788
Installing rtl-extra
tar: A lone zero block at 1888
Installing rtl-objpas
tar: A lone zero block at 3149
Installing rtl-unicode
tar: A lone zero block at 6492
Installing fcl...
Installing fcl-async
tar: A lone zero block at 226
Installing fcl-base
tar: A lone zero block at 6128
Installing fcl-db
tar: A lone zero block at 22341
Installing fcl-extra
........

I'm using Ubuntu 16.04
Title: Re: FPC 3.0.2 released!
Post by: djr on April 04, 2017, 11:32:44 am
Thank you FPC team for your hard work!
Title: Re: FPC 3.0.2 released!
Post by: luckylynx on May 10, 2017, 08:26:50 pm
Hi FPC team,
since I updated Lazarus from 1.6.0 ( FPC 3.0.0 ) in Win 32  to 1.6.4 and of course FPC 3.0.2, my program ( Firebird based DB application ) compiles but does not work anymore. With 1.6.0 and FPC 3.0.0 everything is fine.
I found that even with  a simple SQL code like 'select max(orderno) from DBx' works with 3.0.0 but not with 3.0.2. An error occurs 'field xyz not found'.
Additionally some of the stored procedures in Firebird cause an error .  There must be one or more bugs in the '???' unit? 
Did anybody faced the same errors or am I  doing something wrong?
Title: Re: FPC 3.0.2 released!
Post by: cpicanco on May 30, 2017, 06:23:11 pm
http://forum.lazarus.freepascal.org/index.php/topic,36093.msg247835/topicseen.html#new

I am guessing this issue (see link above) will be properly resolved when unstable debian becomes stable. It seems that official (from Lazarus) FPC 3.0.2 was compiled using unstable debian source. If you are someone from the official release team, please, could you confirm if this is the case? Also, can you imagine some alternative solution in order to avoid such problems for future releases? Newbies like me will appreciate. Thanks.

PS.: The fix is just a workaround. As noted by Marco van de Voort, there is no official release of FPC *.deb files. In other words, the Lazarus Team (not FPC Team) is redistributing a buggy .deb FPC file. 
Title: Re: FPC 3.0.2 released!
Post by: nouzi on June 05, 2017, 05:51:44 am
Thank you FPC team for all work!
TinyPortal © 2005-2018