fpc build breaks since 26398

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

fpc build breaks since 26398

denisgolovan
Hi

Looks like since 26398 rev. fpc cannot be built.
It fails with following when running "make all".

classes.pp(56) Warning: Implicit uses of Variants unit
Fatal: Can't find unit variants used by Classes
Fatal: Compilation aborted

Any hints to resolve?

P.S. I am under Linux, svn rev. 26427

 --
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: fpc build breaks since 26398

Mattias Gaertner
On Sun, 12 Jan 2014 15:28:27 +0400
denisgolovan <[hidden email]> wrote:

> Hi
>
> Looks like since 26398 rev. fpc cannot be built.
> It fails with following when running "make all".
>
> classes.pp(56) Warning: Implicit uses of Variants unit
> Fatal: Can't find unit variants used by Classes
> Fatal: Compilation aborted
>
> Any hints to resolve?
>
> P.S. I am under Linux, svn rev. 26427

fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2.

Mattias
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: fpc build breaks since 26398

denisgolovan
In reply to this post by denisgolovan
>
> fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2.
>
> Mattias

Hi Mattias

Even though it currently works, I believe at least Makefile.fpc in rtl/linux directory is not updated.
It still assumes varutils.pp, variants.pp in old places.
You can try to look at my roughly made patch attached.

Please fix.

 --
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal

lin-makefile.patch (4K) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: fpc build breaks since 26398

Marco van de Voort
In our previous episode, denisgolovan said:
> >
> > fpc trunk 26427 compiles here under Linux 64bit with fpc 2.6.2.
> >
> > Mattias
> Even though it currently works, I believe at least Makefile.fpc in rtl/linux directory is not updated.
> It still assumes varutils.pp, variants.pp in old places.
> You can try to look at my roughly made patch attached.

This patch is totally, totally wrong.  variants and varutils are no longer
part of the RTL, and this patch tries to reinstate them.

It should simply work as is. Yes, there are some old dependencies left in
the old makefile.fpc, but that doesn't matter.

Something else in your setup is wrong, and I suggest you look for it.
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: fpc build breaks since 26398

denisgolovan
In reply to this post by denisgolovan
> This patch is totally, totally wrong. variants and varutils are no longer
> part of the RTL, and this patch tries to reinstate them.
>
> It should simply work as is. Yes, there are some old dependencies left in
> the old makefile.fpc, but that doesn't matter.
>
> Something else in your setup is wrong, and I suggest you look for it.

Yes. I found a problem.
It works now.
It's just "old" dependencies seem weird.

 --
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal