Skip to content

Clean build is needed after every change for large project (Lazarus).

Summary

A single change in the source needs a full recompilation (Lazarus)

System Information

  • Operating system: Windows
  • Processor architecture: x86-64
  • Compiler version: trunk
  • Device: Computer
  • Lazarus version: trunk

Steps to reproduce

  • change source
  • press F9

Example Project

What is the current bug behavior?

Messages, Warnings: 1
Warning: other unit files search path (aka unit path) of "primeIDE2" contains "C:\fpdev\projects\synapse", which belongs to package "laz_synapse"
Hint: (11030) Start of reading config file C:\fpdev\fpc\trunk\fpc\bin\x86_64-win64\fpc.cfg
Hint: (11031) End of reading config file C:\fpdev\fpc\trunk\fpc\bin\x86_64-win64\fpc.cfg
Free Pascal Compiler version 3.3.1-15439-g8aca910435-dirty [2024/03/21] for x86_64
Copyright (c) 1993-2024 by Florian Klaempfl and others
(1002) Target OS: Win64 for x64
(3104) Compiling primeIDE2.lpr
(3104) Compiling prLogin.pas
(3104) Compiling prKIS.pas
Error: (1026) Compilation raised exception internally
Fatal: (1018) Compilation aborted
An unhandled exception occurred at $0000000100077D78:
EAccessViolation: Access violation
  $0000000100077D78  addmodule,  line 367 of ctask.pas
  $000000010026AACA  loadunits,  line 684 of pmodules.pas
  $000000010026C627  proc_unit,  line 1390 of pmodules.pas
  $0000000100052328  compile_module,  line 480 of parser.pas
  $0000000100077A29  continue,  line 269 of ctask.pas
  $0000000100077C70  processqueue,  line 334 of ctask.pas
  $0000000100022689  Compile,  line 310 of compiler.pas
  $0000000100001B26  $main,  line 308 of pp.pas
  $0000000100002726  main_wrapper
  $00000001000199D4  Exe_entry,  line 83 of x86_64/cpuwin.inc
  $00000001000018F4  _FPC_mainCRTStartup,  line 107 of sysinit.pp
  $00007FFE9D8F7344
  $00007FFE9F3E26B1

Error: C:\fpdev\fpc\trunk\fpc\bin\x86_64-win64\ppcx64.exe returned an error exitcode

What is the expected (correct) behavior?

compiling without crashes

Relevant logs and/or screenshots

Possible fixes

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information