Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-devel / 2005-06

Bug: fpc-svn-392 compile error

7 messages · 4 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Jan Ruzicka

Hi

latest version form SVN does not even compile.
Is there any plan to have something similar to a mozilla tinderbox?

Jan

error:

/usr/local/bin/ppcppc -dNOMOUSE -Ur -dFPC_USE_LIBC -Xs -O1 -n -Fi../inc -Fi../powerpc -Fi../unix -Fi../bsd -Fi../bsd/powerpc -Fi../darwin/powerpc -FE.
-FU/Users/j/fpc/fpc-svn/rtl/units/powerpc-darwin -dpowerpc -dRELEASE -Us -Sg ../bsd/system.pp
systemh.inc(134,16) Error: Duplicate identifier "FarPointer" varianth.inc(295,12) Error: Function is already declared Public/Forward "operator :=(const Variant):Double"
system.pp(48,1) Fatal: There were 2 errors compiling module, stopping make[7]: *** [system.ppu] Error 1
make[6]: *** [darwin_all] Error 2
make[5]: *** [rtl] Error 2
make[4]: *** [next] Error 2
make[3]: *** [ppc1] Error 2
make[2]: *** [cycle] Error 2
make[1]: *** [compiler_cycle] Error 2
make: *** [build-stamp.powerpc-darwin] Error 2

Reply by email

Tomas Hajny
to Peter Vreman: There are already dailed build snapshots and testsuite results for i386-linux. See…

Peter Vreman said:

Show quoted text 7 lines
> Hi > > latest version form SVN does not even compile. > Is there any plan to have something similar to a mozilla tinderbox? There are already dailed build snapshots and testsuite results for i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi

At least daily snapshot builds exist for other platforms too (both for trunk and fixes branch). Some of the previously existing snapshot build routines haven't been fixed since our 2.0 release and migration to SVN, so they don't work at the moment (basically meaning that somebody must have a short look at the script and change some directory names etc.). That seems to be the case for Netware and NetwLibC targets and possibly ppc-linux. arm-linux snapshot generation has only been built occassionally as far as I remember. I don't know whether we ever had automated snapshot building for x86_64-linux, FreeBSD, Mac OS X, Mac OS and MorphOS running anywhere.

Tomas

Reply by email

Jan Ruzicka
to Tomas Hajny
Tomas Hajny wrote 27 lines
Peter Vreman said: >> Hi >> >> latest version form SVN does not even compile. >> Is there any plan to have something similar to a mozilla tinderbox? > > There are already dailed build snapshots and testsuite results for > i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi At least daily snapshot builds exist for other platforms too (both for trunk and fixes branch). Some of the previously existing snapshot build routines haven't been fixed since our 2.0 release and migration to SVN, so they don't work at the moment (basically meaning that somebody must have a short look at the script and change some directory names etc.). That seems to be the case for Netware and NetwLibC targets and possibly ppc-linux. arm-linux snapshot generation has only been built occassionally as far as I remember. I don't know whether we ever had automated snapshot building for x86_64-linux, FreeBSD, Mac OS X, Mac OS and MorphOS running anywhere. Tomas

sorry, yes I had old fpc.
Could there be a make target bootstrap to compile the new version in the old one?
Or does it include too much of black magic?

Thanks
Jan

Reply by email

Peter Vreman
to Jan Ruzicka
Show quoted text 31 lines
On Jun 13, 2005, at 05:31, Tomas Hajny wrote: > Peter Vreman said: >>> Hi >>> >>> latest version form SVN does not even compile. >>> Is there any plan to have something similar to a mozilla tinderbox? >> >> There are already dailed build snapshots and testsuite results for >> i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi > > At least daily snapshot builds exist for other platforms too (both for > trunk and fixes branch). Some of the previously existing snapshot build > routines haven't been fixed since our 2.0 release and migration to > SVN, so > they don't work at the moment (basically meaning that somebody must > have a > short look at the script and change some directory names etc.). That > seems > to be the case for Netware and NetwLibC targets and possibly ppc-linux. > arm-linux snapshot generation has only been built occassionally as far > as > I remember. I don't know whether we ever had automated snapshot > building > for x86_64-linux, FreeBSD, Mac OS X, Mac OS and MorphOS running > anywhere. > > Tomas sorry, yes I had old fpc.

Yesterday i already added a check that a 2.0+ compiler is used to compile the rtl.

Could there be a make target bootstrap to compile the new version in the old one? Or does it include too much of black magic?

There is already a bootstrapping process in the makefiles. The target is called cycle. The default 'make all' in the top dir calls it also.

Reply by email

Tomas Hajny
to Peter Vreman

Peter Vreman said:

Show quoted text 41 lines
> > On Jun 13, 2005, at 05:31, Tomas Hajny wrote: > >> Peter Vreman said: >>>> Hi >>>> >>>> latest version form SVN does not even compile. >>>> Is there any plan to have something similar to a mozilla tinderbox? >>> >>> There are already dailed build snapshots and testsuite results for >>> i386-linux. See http://www.freepascal.org/cgi-bin/testsuite.cgi >> >> At least daily snapshot builds exist for other platforms too (both for >> trunk and fixes branch). Some of the previously existing snapshot build >> routines haven't been fixed since our 2.0 release and migration to >> SVN, so >> they don't work at the moment (basically meaning that somebody must >> have a >> short look at the script and change some directory names etc.). That >> seems >> to be the case for Netware and NetwLibC targets and possibly ppc-linux. >> arm-linux snapshot generation has only been built occassionally as far >> as >> I remember. I don't know whether we ever had automated snapshot >> building >> for x86_64-linux, FreeBSD, Mac OS X, Mac OS and MorphOS running >> anywhere. >> >> Tomas > > sorry, yes I had old fpc. Yesterday i already added a check that a 2.0+ compiler is used to compile the rtl. > Could there be a make target bootstrap to compile the new version in > the old one? > Or does it include too much of black magic? There is already a bootstrapping process in the makefiles. The target is called cycle. The default 'make all' in the top dir calls it also.

However, note that "old" in this context means 2.0.0, not 1.x. And yes, supporting the older versions required a lot of overhead. If necessary (i.e. release 2.0 not available for some platform as opposed to 1.x release - e.g. GO32v2 target at the moment), you should be able to checkout the release 2.0.0 branch containing the status at release time, build a 2.0 compiler in that branch and use that for new compilations from that point on.

Tomas

Reply by email