Currently we are in the process of preparing the 3.2.4 release, mainly by merging stuff from main into fixes. If there are any problems with 3.2.2 prevent you from using 3.2.2, it is now the time to point this out :), i.e. if you are stuck with 3.0.4 for some reasons.
I wonder when the FreeBSD patch will be merged? https://github.com/Alexey-T/CudaText/blob/master/doc/freebsd-v12-support-for-fpc32.patch
I wonder when the FreeBSD patch will be merged? https://github.com/Alexey-T/CudaText/blob/master/doc/freebsd-v12-support-for-fpc32.patch
FPC 3.2.1, Linux-Debian 10
-al
useEl^.rh2 := ry1 + 30 + 33; // assembler // movaps %xmm1,%xmm2 // movq _$DRAWALL$_Ld1@GOTPCREL(%rip),%rdx // addss (%rdx),%xmm2 // movq _$DRAWALL$_Ld48@GOTPCREL(%rip),%rdx // addss (%rdx),%xmm2 // movss %xmm2,28(%rax) .Ll56: useEl^.tx21 := rx1 + 5; // assembler // movaps %xmm0,%xmm2 // movq _$DRAWALL$_Ld16@GOTPCREL(%rip),%rdx // addss (%rdx),%xmm2 // movss %xmm2,56(%rax)
Interestingly, Delphi considers constants as a Double type, but sums constants at compile time, no matter in what order it go.
From Delphi 10.4 disassembler:
Project1.dpr.10: R.rh2 := 30 + 33 + D + 28; 000000000040D51F F3480F5A0580280000 cvtss2sd xmm0,qword ptr [rel $00002880] 000000000040D528 F20F580528000000 addsd xmm0,qword ptr [rel $00000028] 000000000040D530 F2480F5AC0 cvtsd2ss xmm0,xmm0 000000000040D535 F30F1105A38C0000 movss dword ptr [rel $00008ca3],xmm0
Currently we are in the process of preparing the 3.2.4 release, mainly by merging stuff from main into fixes. If there are any problems with 3.2.2 prevent you from using 3.2.2, it is now the time to point this out :), i.e. if you are stuck with 3.0.4 for some reasons.
Hello.
Nice!
Please, if possible, could you make work -Cg -k-pie -k-znow for Linux?
See here:
https://forum.lazarus.freepascal.org/index.php/topic,56842.0.html
It works perfectly with fpc 3.0.4 and fpc 3.3.1.
Can you please check after baa28faa19 with main/3.3.1? If it helps, I merge it.
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.3.1 [2021/10/25] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling strumpract.pas
...
(9015) Linking strumpract
(1008) 567509 lines compiled, 14.7 sec, 4011696 bytes code, 2594736 bytes data
(1021) 184 warning(s) issued
(1022) 3112 hint(s) issued
(1023) 407 note(s) issued
/home/fred/strumpract/src/strumpract: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.4.0, stripped
PS: It would be super great if this could be fixed:
https://gitlab.com/freepascal.org/fpc/source/-/issues/32367
But yes, I know, I dream and ask too much for this.
Eng: Do optimization processing for each OS. Links and code:
3.2.3
Hint: (11030) Start of reading config file /etc/fpc.cfg
Hint: (11031) End of reading config file /etc/fpc.cfg
Free Pascal Compiler version 3.2.3 [2021/10/26] for x86_64
Copyright (c) 1993-2021 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling strumpract.pas
...
(9015) Linking strumpract
/usr/bin/ld: /usr/lib/fpc/3.2.3/units/x86_64-linux/rtl/si_c.o: warning: relocation in read-only section `.text.n_si_c_$$__fpc_libc_start'
/usr/bin/ld: warning: creating DT_TEXTREL in a PIE
(1008) 567509 lines compiled, 15.7 sec
(1021) 128 warning(s) issued
(1022) 2961 hint(s) issued
(1023) 545 note(s) issued
I Am I testing what I think I am testing ?
Davo
I Am I testing what I think I am testing ?
Davo
Hello Davo.
I do this and it install fpc 3.2.3 out-of-the-box:
....
But when you do as you say, does your Fixes install claim to be version 3.2.0 ?
Davo
Is this a regression from 3.0.4 or 3.2.0? If not, then this has no place here.Да, я неправильно понял суть топика. Это не регресс, это обычное поведение для всех компиляторов 3.0.4, 3.2.1, 3.2.2.
Hello.
After high fight I found the commit that makes me problems:
Commit ee10850a of 17 Oct, 2021: Reducing and aligning ...
https://gitlab.com/freepascal.org/fpc/source/-/commit/ee10850a5793b69b19dc82b9c28342bdd0018f2e
Since that commit all my applications do not run anymore.
So maybe your patch for fpc 3.2.4 for -Cg will work but I cannot test it with last trunk 3.3.1 ( because of this ee10850a commit ).
[Out of the subject of the topic]
For msegui and some other console apps (did not test LCL), there is a serious problem since commit ee10850a5793.
But please keep such unrelated things out of this thread. It is about regressions of 3.2.3 against 3.2.2 and 3.0.4
Can you please check after baa28faa19 with main/3.3.1? If it helps, I merge it.
Sorry but I dont understand.
What fixes, in previous post it is only to compile + install original fpc 3.2.3.
I am the first to admit I may be doing something wrong, but if I am, maybe its because the correct process is unclear ? Other potential users may be just as silly as I apparently am.
Davo
Please, could you give the script that you used to compile + install fpc?
Here the content of /compiler/version.pas that I get from https://gitlab.com/freepascal.org/fpc/source/-/archive/fixes_3_2/source-fixes_3_2.zip.
3.2.2
3.2.3
...
No, you shouldn't be surprised and no, you're not testing what you think you're testing.
The fpc compiler driver binary picks up the real backend compiler binaries either if they're in the same directory (e.g. on Windows or if you install using our installation scripts provided with the binary releases) or if they're in PATH. If you simply do a make install neither will be true. So you need to temporary put lib/fpc/3.2.3/ (where ppcx64 resides) into your PATH (at the front) so that the correct binary is picked up.
Thanks PascalDragon, I feel a lot more comfortable now.
А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?
Any news on this issue?: https://gitlab.com/freepascal.org/fpc/source/-/issues/35248
Where can I see what's in main? I am interested in what could be coming our way!You can see new features here (https://wiki.freepascal.org/FPC_New_Features_Trunk) and bug fixes/changes here (https://wiki.freepascal.org/User_Changes_Trunk). However, this is not updated for every single change so you might also need to check the commit history (https://gitlab.com/freepascal.org/fpc/source/-/commits/main).
Currently we are in the process of preparing the 3.2.4 release, mainly by merging stuff from main into fixes. If there are any problems with 3.2.2 prevent you from using 3.2.2, it is now the time to point this out :), i.e. if you are stuck with 3.0.4 for some reasons.
Good question, it has been more than two years since the first post appeared.Currently we are in the process of preparing the 3.2.4 release, mainly by merging stuff from main into fixes. If there are any problems with 3.2.2 prevent you from using 3.2.2, it is now the time to point this out :), i.e. if you are stuck with 3.0.4 for some reasons.
That was just over 15 months ago. Is an FPC 3.2.x bug-fix production release likely any time soon please? Or is FPC going to eventually jump direct to a major new release? TWhe recent Lazarus 3.2 is understandably still built against FPC 3.2.2 as the latest stable production release. An update on possible timescales would be much appreciated.
Where did I get 15 months from ???
Good question, it has been more than two years since the first post appeared.... and FPC 3.2.2 was released almost 3 years ago. This is annoying.