Using "make" to build Lazarus results in an access violation
Original Reporter info from Mantis: CuriousKit @CuriousKit
-
Reporter name: J. Gareth Moreton
Original Reporter info from Mantis: CuriousKit @CuriousKit
- Reporter name: J. Gareth Moreton
Description:
When attempting to build Lazarus with "make all", the compiler raises an access violation - e.g:
...
make -C ide ide
make[1]: Entering directory `C:/Users/NLO-012/Documents/Programming/lazarus/ide'
../tools/svn2revisioninc.exe .. revision.inc
An unhandled exception occurred at $000000010000919A:
EAccessViolation: Access violation
$000000010000919A
$000000010000F318
$000000010000F0FF
$000000010000E40B
$000000010000DECE
$000000010003980D
$0000000100001882 fin$00000010, line 118 of svn2revisioninc.pas
$000000010000190D SVNINPATH, line 109 of svn2revisioninc.pas
$0000000100003D75 PARAMSVALID, line 572 of svn2revisioninc.pas
$00000001000047ED GITREVISIONFROMGITCOMMIT, line 769 of svn2revisioninc.pas
$00000001000048E7 main, line 788 of svn2revisioninc.pas
$0000000100004906
$00000001000159E0
$0000000100001856
$00007FF91D487BD4
$00007FF91DD8CED1
make[1]: *** [revisioninc] Error 217
make[1]: Leaving directory `C:/Users/NLO-012/Documents/Programming/lazarus/ide'
make: *** [ide] Error 2
Steps to reproduce:
With the most up-to-date files for Lazarus and FPC, attempt to build Lazarus with the following command line:
make clean all FPC="\pp\bin\x86_64-win64\ppcx64.exe" (replace the directory with where the compiler executable gets installed.
Additional information:
The compiler was built using the following command line:
make distclean all install DATA2INC=C:\Users\NLO-012\Documents\Programming\fpc\utils\bin\x86_64-win64\data2inc.exe OPT="-O4"
Find attached my error log (generated by specifying "> errorlog.log 2>&1 (closed)" after the make command.
Mantis conversion info:
- Mantis ID: 36774
- OS: Microsoft Windows
- OS Build: 10 Professional
- Build: r44289
- Platform: x86_64-win64