Lazarus
Installation => Linux => Topic started by: renabor on July 07, 2021, 12:47:31 pm
-
Hi all,
with latest svn update to revision 49581 I can't recompile freepascal due to segmentation error.
The freepascal code version is:
Relative URL: ^/branches/fixes_3_2
Repository: https://svn.freepascal.org/svn/fpc
UUID del Repository: 3ad0048d-3df7-0310-abae-a5850022a9f2
Revision: 49581
and the error that i got when i launch the make all command is:
/home/renabor/bin/freepascal/fpc_fixes_3_2/compiler/ppc1 -Ur -Ur -Xs -O2 -n -Fi../inc -Fi../x86_64 -Fi../unix -Fix86_64 -FE. -FU/home/renabor/bin/freepascal/fpc_fixes_3_2/rtl/units/x86_64-linux -Cg -dx86_64 -dRELEASE -Us -Sg system.pp
make[7]: *** [Makefile:3848: system.ppu] Segmentation error
I use Ubuntu 21.04
Can anyone help me to solve it?
Thank you!
-
I use Ubuntu 21.04
Can anyone help me to solve it?
Thank you!
I just tried and here it is fine. Do you use FPC 3.2.2 as starting compiler?
-
Or 3.0.4 as starting compiler? That one is too old, has been removed as bootstrap.
-
I use fpc 3.0.5 as starting compiler:
Free Pascal Compiler version 3.0.5 [2020/08/12] for x86_64
I'm unable to update this compiler due to the same error: segmentation fault (using Free Pascal Compiler version 3.0.0 [2015/12/05] for x86_64 as starting compiler)
-
I use fpc 3.0.5 as starting compiler:
Free Pascal Compiler version 3.0.5 [2020/08/12] for x86_64
Use FPC 3.2.0 or FPC 3.2.2 as starting compiler. Never use an odd version except if you know what you're doing, because those are not supported as starting compilers.
-
After switching to fpc 3.2.2 tree and using fpc 3.2 as starting compiler I was able to have a running version of fpc, the crosscompiler and lazarus 2.0.13 compiled with the new fpc!
great!
thank you all for your advice!