[fpc-devel] Unit dependencies

Michael Van Canneyt michael at freepascal.org
Wed Feb 4 19:03:29 CET 2026



On Wed, 4 Feb 2026, Hairy Pixels via fpc-devel wrote:

> On Feb 3, 2026 at 8:05:08 PM, Sven Barth via fpc-devel <
> fpc-devel at lists.freepascal.org> wrote:
>
>> That is how it's already supposed to work. Due to reworking in the related
>> parts of the compiler that doesn't work correctly anymore and needs to be
>> fixed.
>> Adriaan van Os via fpc-devel <fpc-devel at lists.freepascal.org> schrieb am
>> Di., 3. Feb. 2026, 11:28:
>>
>>> It seems, that if I make any change in  a unit file, even if it is just a
>>> comment, then the change
>>> triggers a recompile of all dependent units. In theory, only a relevant
>>> change of the interface ABI
>>> of a unit would need to trigger a recompile of dependent units. Has this
>>> ever been considered  (or
>>> even implemented) ?
>>>
>>
>>
> I'm stuck on a compiler version from 2023 because of this. There were
> changes recently that caused a regression in performance  but are they
> going to be fixed? Last time I tried to use a new version from 12 months
> ago already.

We are still working on it. If you follow what happens on gitlab you'll see
that extra tests are being added for just this work.

It's not easy, as it means reworking a 25 year old, very fragile, architecture.

Michael.


More information about the fpc-devel mailing list