Sign in Join

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

Mailing lists / fpc-devel / 2012-07

FPC 2.7.1 - variant.inc(82, 10) Error: Illegal type conversion: "Text" to "TextRec"

20 messages · 7 people · –

Reply by email Subscribe to this list Your subscription

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

Marcos Douglas

Hi,

I would like to report some errors when I tried to compile the FPC 2.7.1 at revision 21969 (I am using Windows).

[...]
make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl'
make -C win32 all
make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32'
W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca
l/compiler/2.7.1/rtl/units/i386-win32
W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386
 -Fi../win -FE. -FUW:/md/dev/freepascal/compiler/2.7.1/rtl/units/i386-win32 -di3
86 -dRELEASE -Us -Sg system.pp -Fi../win
variant.inc(82,10) Error: Illegal type conversion: "Text" to "TextRec"
variant.inc(84,15) Error: Constant and CASE types do not match
variant.inc(89,14) Error: Constant and CASE types do not match
system.inc(906,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(908,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(910,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(912,6) Error: Illegal type conversion: "Text" to "TextRec"
system.inc(1116,25) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(82,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(83,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(84,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(85,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(85,23) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(86,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(88,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(89,15) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(90,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(92,13) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(112,8) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(113,12) Error: Constant and CASE types do not match
text.inc(113,21) Error: Constant and CASE types do not match
text.inc(113,30) Error: Constant and CASE types do not match
text.inc(116,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(117,20) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(117,42) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(120,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(121,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(122,14) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(124,20) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(124,42) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(125,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(127,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(128,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(137,8) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(138,11) Error: Constant and CASE types do not match
text.inc(138,20) Error: Constant and CASE types do not match
text.inc(138,29) Error: Constant and CASE types do not match
text.inc(139,13) Error: Constant and CASE types do not match
text.inc(146,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(147,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(148,3) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(151,6) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(152,5) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(154,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(154,33) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(157,4) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(189,6) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(191,9) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,12) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,34) Error: Illegal type conversion: "Text" to "TextRec"
text.inc(199,34) Fatal: There were 50 errors compiling module, stopping
Fatal: Compilation aborted
make[7]: *** [system.ppu] Error 1
make[7]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32'
make[6]: *** [win32_all] Error 2
make[6]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/rtl'
make[5]: *** [rtl] Error 2
make[5]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[4]: *** [next] Error 2
make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[3]: *** [ppc1.exe] Error 2
make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[2]: *** [cycle] Error 2
make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1/compiler'
make[1]: *** [compiler_cycle] Error 2
make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.7.1'
make: *** [build-stamp.i386-win32] Error 2
Marcos Douglas

Reply by email

Marco van de Voort
to Marcos Douglas

In our previous episode, Marcos Douglas said:

I would like to report some errors when I tried to compile the FPC 2.7.1 at revision 21969 (I am using Windows).

First step in bootstrapping problems, did you check that you started with the last release as starting compiler?

Show quoted text 7 lines
[...] make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' make -C win32 all make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca l/compiler/2.7.1/rtl/units/i386-win32 W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Reply by email

Marcos Douglas
to Marco van de Voort
Marco van de Voort wrote 16 lines
In our previous episode, Marcos Douglas said: > > I would like to report some errors when I tried to compile the FPC > 2.7.1 at revision 21969 (I am using Windows). First step in bootstrapping problems, did you check that you started with the last release as starting compiler? > [...] > make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' > make -C win32 all > make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' > W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca > l/compiler/2.7.1/rtl/units/i386-win32 > W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Well, I tried using a ppc386 compiled in 07/18/2012.

Marcos Douglas

Reply by email

Jonas Maebe
to Marcos Douglas

Marcos Douglas wrote on Wed, 25 Jul 2012:

Show quoted text 13 lines
On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort wrote: >> [...] >> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >> make -C win32 all >> make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >> W:/md/dev/freepasca >> l/compiler/2.7.1/rtl/units/i386-win32 >> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n >> -Fi../inc -Fi../i386 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well, I tried using a ppc386 compiled in 07/18/2012.

Why? This is at least the fourth time that you encountered such a build problem because you did not start building with the latest release, and asked here what the problem was, and every time the answer is "always start your build using the latest release". See all the links I posted last time:

Jonas

Reply by email

Nico Erfurth
to Marcos Douglas: Well, I tried using a ppc386 compiled in 07/18/2012. Marcos Douglas
Marcos Douglas wrote 19 lines
On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort wrote: > In our previous episode, Marcos Douglas said: >> >> I would like to report some errors when I tried to compile the FPC >> 2.7.1 at revision 21969 (I am using Windows). > > First step in bootstrapping problems, did you check that you started with > the last release as starting compiler? > >> [...] >> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >> make -C win32 all >> make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca >> l/compiler/2.7.1/rtl/units/i386-win32 >> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Well, I tried using a ppc386 compiled in 07/18/2012.

The last release was 2.6.0 and it's currently the only supported release as a bootstrap compiler. FPK recently added a patch to trunk which will break the build unless ppc1 is build with 2.6.0.

Nico

Reply by email

Marcos Douglas
to Jonas Maebe: Marcos Douglas wrote on Wed, 25 Jul 2012: Why? This is at least the fourth time that you…
Jonas Maebe wrote 29 lines
Marcos Douglas wrote on Wed, 25 Jul 2012: > On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort > wrote: >>> >>> [...] >>> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>> make -C win32 all >>> make[7]: Entering directory >>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>> W:/md/dev/freepasca >>> l/compiler/2.7.1/rtl/units/i386-win32 >>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc >>> -Fi../i386 >> >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > Well, I tried using a ppc386 compiled in 07/18/2012. Why? This is at least the fourth time that you encountered such a build problem because you did not start building with the latest release, and asked here what the problem was, and every time the answer is "always start your build using the latest release". See all the links I posted last time:

Because a few days it worked perfectly...

Jonas I know I posted problems about compile trunk. Before I used the trunk but now I use 2.6.1. As I said, I just wanted report the error! If the problem is my last version, ok, just say that...

If you think that my mails do not help sorry, I can stop to send them to the dev-list, if you want.

Marcos Douglas

Reply by email

Marcos Douglas
to Nico Erfurth: The last release was 2.6.0 and it's currently the only supported release as a bootstrap…
Nico Erfurth wrote 24 lines
On 25.07.12 15:35, Marcos Douglas wrote: > On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort wrote: >> In our previous episode, Marcos Douglas said: >>> >>> I would like to report some errors when I tried to compile the FPC >>> 2.7.1 at revision 21969 (I am using Windows). >> >> First step in bootstrapping problems, did you check that you started with >> the last release as starting compiler? >> >>> [...] >>> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>> make -C win32 all >>> make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca >>> l/compiler/2.7.1/rtl/units/i386-win32 >>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 >> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > Well, I tried using a ppc386 compiled in 07/18/2012. The last release was 2.6.0 and it's currently the only supported release as a bootstrap compiler. FPK recently added a patch to trunk which will break the build unless ppc1 is build with 2.6.0.

Hi Nico,

The mode to compile a new version of compiler will be changed? Where can I get more information about it?

Thanks,
Marcos Douglas

Reply by email

Gennadiy Poryev
to Nico Erfurth: The last release was 2.6.0 and it's currently the only supported release as a bootstrap…

On a side note, this only affects win32 (and possibly linux x86) target. Win64 and Linux x64 compiles well yet. So, the fpc trunk once again became non-selfhosting, despite the notion that it shouldn’t have been as such at all :)

The last release was 2.6.0 and it's currently the only supported release as a bootstrap compiler. FPK recently added a patch to trunk which will break the build unless ppc1 is build with 2.6.0.

Reply by email

Jonas Maebe
to Marcos Douglas: Because a few days it worked perfectly... Jonas I know I posted problems about compile…

Marcos Douglas wrote on Wed, 25 Jul 2012:

Show quoted text 17 lines
On Wed, Jul 25, 2012 at 10:42 AM, Jonas Maebe wrote: > > Marcos Douglas wrote on Wed, 25 Jul 2012: > >> Well, I tried using a ppc386 compiled in 07/18/2012. > > Why? This is at least the fourth time that you encountered such a build > problem because you did not start building with the latest release, and > asked here what the problem was, and every time the answer is "always start > your build using the latest release". See all the links I posted last time: > Because a few days it worked perfectly... Jonas I know I posted problems about compile trunk. Before I used the trunk but now I use 2.6.1.

Last time I also said that using the fixes branch is not guaranteed to work:
http://lists.freepascal.org/lists/fpc-devel/2011-September/025951.html

Show quoted text 5 lines
As I said, I just wanted report the error! If the problem is my last version, ok, just say that... If you think that my mails do not help sorry, I can stop to send them to the dev-list, if you want.

It's just that it gets tiring repeating the same thing over and over again. It's no problem to send the mails here (this is indeed the correct list for reporting that sort of problems).

Jonas

Reply by email

Sven Barth
to Gennadiy Poryev: On a side note, this only affects win32 (and possibly linux x86) target. Win64 and Linux…
Gennadiy Poryev wrote
On a side note, this only affects win32 (and possibly linux x86) target. Win64 and Linux x64 compiles well yet. So, the fpc trunk once again became non-selfhosting, despite the notion that it shouldn’t have been as such at all :)

As long as trunk can be compiled using 2.6.0 it stays self hosting as this is the only guaranteed and supported way for compilation of trunk.

Regards,
Sven

Reply by email

Sven Barth
to Marcos Douglas: The mode to compile a new version of compiler will be changed? Where can I get more…
Marcos Douglas wrote 30 lines
On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth wrote: > On 25.07.12 15:35, Marcos Douglas wrote: >> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort wrote: >>> In our previous episode, Marcos Douglas said: >>>> >>>> I would like to report some errors when I tried to compile the FPC >>>> 2.7.1 at revision 21969 (I am using Windows). >>> >>> First step in bootstrapping problems, did you check that you started with >>> the last release as starting compiler? >>> >>>> [...] >>>> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>> make -C win32 all >>>> make[7]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p W:/md/dev/freepasca >>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 >>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >> >> Well, I tried using a ppc386 compiled in 07/18/2012. > > The last release was 2.6.0 and it's currently the only supported release > as a bootstrap compiler. FPK recently added a patch to trunk which will > break the build unless ppc1 is build with 2.6.0. Hi Nico, The mode to compile a new version of compiler will be changed? Where can I get more information about it?

Nothing changes... ppc1 is one of the intermediate compilers (the first one) that is build when building trunk. You just need to make sure that you use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released that will be the newest supported version to compile trunk.

Regards,
Sven

Reply by email

Marcos Douglas
to Sven Barth
Sven Barth wrote 53 lines
Am 25.07.2012 16:10, schrieb Marcos Douglas: > On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth wrote: >> >> On 25.07.12 15:35, Marcos Douglas wrote: >>> >>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort >>> wrote: >>>> >>>> In our previous episode, Marcos Douglas said: >>>>> >>>>> >>>>> I would like to report some errors when I tried to compile the FPC >>>>> 2.7.1 at revision 21969 (I am using Windows). >>>> >>>> >>>> First step in bootstrapping problems, did you check that you started >>>> with >>>> the last release as starting compiler? >>>> >>>>> [...] >>>>> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>>> make -C win32 all >>>>> make[7]: Entering directory >>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>>>> W:/md/dev/freepasca >>>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc >>>>> -Fi../i386 >>>> >>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>> >>> >>> Well, I tried using a ppc386 compiled in 07/18/2012. >> >> >> The last release was 2.6.0 and it's currently the only supported release >> as a bootstrap compiler. FPK recently added a patch to trunk which will >> break the build unless ppc1 is build with 2.6.0. > > > Hi Nico, > > The mode to compile a new version of compiler will be changed? > Where can I get more information about it? Nothing changes... ppc1 is one of the intermediate compilers (the first one) that is build when building trunk. You just need to make sure that you use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released that will be the newest supported version to compile trunk.

But _right now_ the 2.6.0 does not compile the trunk, I got the same errors... Or I didn't understand what you mean, sorry.

Marcos Douglas

Reply by email

Marco van de Voort
to Gennadiy Poryev: On a side note, this only affects win32 (and possibly linux x86) target. Win64 and Linux…

In our previous episode, Gennadiy Poryev said:

On a side note, this only affects win32 (and possibly linux x86) target. Win64 and Linux x64 compiles well yet. So, the fpc trunk once again became non-selfhosting, despite the notion that it shouldn?t have been as such at all :)

It's still self hosting. The exact 2.7.1 version still compiles itself.

Don't confuse the moving target "2.7.1" as being something homogenous, because it is not. All versions since june last year (when 2.6.x branched) are 2.7.1

Reply by email

Sven Barth
to Marcos Douglas: On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth But _right now_ the 2.6.0 does not compile…
Marcos Douglas wrote 58 lines
On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth wrote: > > Am 25.07.2012 16:10, schrieb Marcos Douglas: > >> On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth wrote: >>> >>> On 25.07.12 15:35, Marcos Douglas wrote: >>>> >>>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort >>>> wrote: >>>>> >>>>> In our previous episode, Marcos Douglas said: >>>>>> >>>>>> >>>>>> I would like to report some errors when I tried to compile the FPC >>>>>> 2.7.1 at revision 21969 (I am using Windows). >>>>> >>>>> >>>>> First step in bootstrapping problems, did you check that you started >>>>> with >>>>> the last release as starting compiler? >>>>> >>>>>> [...] >>>>>> make[6]: Entering directory `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>>>> make -C win32 all >>>>>> make[7]: Entering directory >>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>>>>> W:/md/dev/freepasca >>>>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n -Fi../inc >>>>>> -Fi../i386 >>>>> >>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>> >>>> >>>> Well, I tried using a ppc386 compiled in 07/18/2012. >>> >>> >>> The last release was 2.6.0 and it's currently the only supported release >>> as a bootstrap compiler. FPK recently added a patch to trunk which will >>> break the build unless ppc1 is build with 2.6.0. >> >> >> Hi Nico, >> >> The mode to compile a new version of compiler will be changed? >> Where can I get more information about it? > > > Nothing changes... ppc1 is one of the intermediate compilers (the first > one) that is build when building trunk. You just need to make sure that you > use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released that > will be the newest supported version to compile trunk. But _right now_ the 2.6.0 does not compile the trunk, I got the same errors... Or I didn't understand what you mean, sorry.

You didn't write that you used 2.6.0. In fact your mail above (with Jonas' arrows below) suggests that you used a 2.7.1 compiler.

Regards,
Sven

Reply by email

Marcos Douglas
to Sven Barth
Sven Barth wrote 81 lines
Am 25.07.2012 16:48, schrieb Marcos Douglas: > On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth > wrote: >> >> >> Am 25.07.2012 16:10, schrieb Marcos Douglas: >> >>> On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth wrote: >>>> >>>> >>>> On 25.07.12 15:35, Marcos Douglas wrote: >>>>> >>>>> >>>>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort >>>>> wrote: >>>>>> >>>>>> >>>>>> In our previous episode, Marcos Douglas said: >>>>>>> >>>>>>> >>>>>>> >>>>>>> I would like to report some errors when I tried to compile the FPC >>>>>>> 2.7.1 at revision 21969 (I am using Windows). >>>>>> >>>>>> >>>>>> >>>>>> First step in bootstrapping problems, did you check that you started >>>>>> with >>>>>> the last release as starting compiler? >>>>>> >>>>>>> [...] >>>>>>> make[6]: Entering directory >>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>>>>> make -C win32 all >>>>>>> make[7]: Entering directory >>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>>>>>> W:/md/dev/freepasca >>>>>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n >>>>>>> -Fi../inc >>>>>>> -Fi../i386 >>>>>> >>>>>> >>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>> >>>>> >>>>> >>>>> Well, I tried using a ppc386 compiled in 07/18/2012. >>>> >>>> >>>> >>>> The last release was 2.6.0 and it's currently the only supported >>>> release >>>> as a bootstrap compiler. FPK recently added a patch to trunk which will >>>> break the build unless ppc1 is build with 2.6.0. >>> >>> >>> >>> Hi Nico, >>> >>> The mode to compile a new version of compiler will be changed? >>> Where can I get more information about it? >> >> >> >> Nothing changes... ppc1 is one of the intermediate compilers (the first >> one) that is build when building trunk. You just need to make sure that >> you >> use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released that >> will be the newest supported version to compile trunk. > > > But _right now_ the 2.6.0 does not compile the trunk, I got the same > errors... > Or I didn't understand what you mean, sorry. You didn't write that you used 2.6.0. In fact your mail above (with Jonas' arrows below) suggests that you used a 2.7.1 compiler.

First I tried 2.7.1 but after read your mail, I tried to compile using 2.6.1 but got the same errors... and Jonas (always!) said to use the last version of trunik, ie, 2.7.1 version, not 2.6.0 or 2.6.1.

Marcos Douglas

Reply by email

Sven Barth
to Marcos Douglas
Marcos Douglas wrote 87 lines
On Wed, Jul 25, 2012 at 11:55 AM, Sven Barth wrote: > Am 25.07.2012 16:48, schrieb Marcos Douglas: > >> On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth >> wrote: >>> >>> >>> Am 25.07.2012 16:10, schrieb Marcos Douglas: >>> >>>> On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth wrote: >>>>> >>>>> >>>>> On 25.07.12 15:35, Marcos Douglas wrote: >>>>>> >>>>>> >>>>>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de Voort >>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> In our previous episode, Marcos Douglas said: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> I would like to report some errors when I tried to compile the FPC >>>>>>>> 2.7.1 at revision 21969 (I am using Windows). >>>>>>> >>>>>>> >>>>>>> >>>>>>> First step in bootstrapping problems, did you check that you started >>>>>>> with >>>>>>> the last release as starting compiler? >>>>>>> >>>>>>>> [...] >>>>>>>> make[6]: Entering directory >>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>>>>>> make -C win32 all >>>>>>>> make[7]: Entering directory >>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>>>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>>>>>>> W:/md/dev/freepasca >>>>>>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>>>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n >>>>>>>> -Fi../inc >>>>>>>> -Fi../i386 >>>>>>> >>>>>>> >>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>>> >>>>>> >>>>>> >>>>>> Well, I tried using a ppc386 compiled in 07/18/2012. >>>>> >>>>> >>>>> >>>>> The last release was 2.6.0 and it's currently the only supported >>>>> release >>>>> as a bootstrap compiler. FPK recently added a patch to trunk which will >>>>> break the build unless ppc1 is build with 2.6.0. >>>> >>>> >>>> >>>> Hi Nico, >>>> >>>> The mode to compile a new version of compiler will be changed? >>>> Where can I get more information about it? >>> >>> >>> >>> Nothing changes... ppc1 is one of the intermediate compilers (the first >>> one) that is build when building trunk. You just need to make sure that >>> you >>> use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released that >>> will be the newest supported version to compile trunk. >> >> >> But _right now_ the 2.6.0 does not compile the trunk, I got the same >> errors... >> Or I didn't understand what you mean, sorry. > > > You didn't write that you used 2.6.0. In fact your mail above (with Jonas' > arrows below) suggests that you used a 2.7.1 compiler. First I tried 2.7.1 but after read your mail, I tried to compile using 2.6.1 but got the same errors... and Jonas (always!) said to use the last version of trunik, ie, 2.7.1 version, not 2.6.0 or 2.6.1.

No, Jonas always said to use the latest release version. The latest released version is 2.6.0 and NOT 2.6.1. 2.6.1 is the latest fixes version and not officially supported to compile 2.7.1. Only 2.6.0 is currently officially supported to compile 2.7.1.

Regards,
Sven

Reply by email

Marcos Douglas
to Sven Barth
Sven Barth wrote 116 lines
Am 25.07.2012 17:19, schrieb Marcos Douglas: > On Wed, Jul 25, 2012 at 11:55 AM, Sven Barth > wrote: >> >> Am 25.07.2012 16:48, schrieb Marcos Douglas: >> >>> On Wed, Jul 25, 2012 at 11:39 AM, Sven Barth >>> wrote: >>>> >>>> >>>> >>>> Am 25.07.2012 16:10, schrieb Marcos Douglas: >>>> >>>>> On Wed, Jul 25, 2012 at 10:42 AM, Nico Erfurth >>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> On 25.07.12 15:35, Marcos Douglas wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Wed, Jul 25, 2012 at 10:25 AM, Marco van de >>>>>>> Voort >>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> In our previous episode, Marcos Douglas said: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> I would like to report some errors when I tried to compile the FPC >>>>>>>>> 2.7.1 at revision 21969 (I am using Windows). >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> First step in bootstrapping problems, did you check that you >>>>>>>> started >>>>>>>> with >>>>>>>> the last release as starting compiler? >>>>>>>> >>>>>>>>> [...] >>>>>>>>> make[6]: Entering directory >>>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl' >>>>>>>>> make -C win32 all >>>>>>>>> make[7]: Entering directory >>>>>>>>> `W:/md/dev/freepascal/compiler/2.7.1/rtl/win32' >>>>>>>>> W:/md/dev/freepascal/binutils/2.7.1/i386-win32/gmkdir.exe -p >>>>>>>>> W:/md/dev/freepasca >>>>>>>>> l/compiler/2.7.1/rtl/units/i386-win32 >>>>>>>>> W:/md/dev/freepascal/binutils/ppc386.2_7.exe -Ur -Xs -O2 -n >>>>>>>>> -Fi../inc >>>>>>>>> -Fi../i386 >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> Well, I tried using a ppc386 compiled in 07/18/2012. >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> The last release was 2.6.0 and it's currently the only supported >>>>>> release >>>>>> as a bootstrap compiler. FPK recently added a patch to trunk which >>>>>> will >>>>>> break the build unless ppc1 is build with 2.6.0. >>>>> >>>>> >>>>> >>>>> >>>>> Hi Nico, >>>>> >>>>> The mode to compile a new version of compiler will be changed? >>>>> Where can I get more information about it? >>>> >>>> >>>> >>>> >>>> Nothing changes... ppc1 is one of the intermediate compilers (the first >>>> one) that is build when building trunk. You just need to make sure that >>>> you >>>> use 2.6.0 and nothing else to compile trunk. Once 2.6.2 is released >>>> that >>>> will be the newest supported version to compile trunk. >>> >>> >>> >>> But _right now_ the 2.6.0 does not compile the trunk, I got the same >>> errors... >>> Or I didn't understand what you mean, sorry. >> >> >> >> You didn't write that you used 2.6.0. In fact your mail above (with >> Jonas' >> arrows below) suggests that you used a 2.7.1 compiler. > > > First I tried 2.7.1 but after read your mail, I tried to compile using > 2.6.1 but got the same errors... and Jonas (always!) said to use the > last version of trunik, ie, 2.7.1 version, not 2.6.0 or 2.6.1. No, Jonas always said to use the latest release version. The latest released version is 2.6.0 and NOT 2.6.1. 2.6.1 is the latest fixes version and not officially supported to compile 2.7.1. Only 2.6.0 is currently officially supported to compile 2.7.1.

Oh Lord! I understood wrong... sorry my English. =((((

You're right (and Jonas, of course), compiled!
My apologies... I always thought that FPC 2.6.1 had ONLY fixes (memleak, compile errors, etc) but no, some changes in this branch broke the 2.7.1 compilation.

Well, at least now I know -- after many mails, Jonas nervous, etc -- and I will not not make this mistake again (I will try Jonas, promisse!)

That is more simpler that I imagined.... argh!

Thanks,
Marcos Douglas

Reply by email

Sven Barth
to Marcos Douglas
Marcos Douglas wrote
You're right (and Jonas, of course), compiled! My apologies... I always thought that FPC 2.6.1 had ONLY fixes (memleak, compile errors, etc) but no, some changes in this branch broke the 2.7.1 compilation.

At least when 2.6.2 is released it will of course be able again to compile trunk ;)

Show quoted text 5 lines
Well, at least now I know -- after many mails, Jonas nervous, etc -- and I will not not make this mistake again (I will try Jonas, promisse!) That is more simpler that I imagined.... argh!

:D

Regards,
Sven

Reply by email

Graeme Geldenhuys
to Marcos Douglas: On Wed, Jul 25, 2012 at 12:39 PM, Sven Barth Oh Lord! I understood wrong... sorry my…
Marcos Douglas wrote
Well, at least now I know -- after many mails, Jonas nervous, etc -- and I will not not make this mistake again (I will try Jonas, promisse!)

It's simple... Create a build script or batch file for compiling trunk. Hard-code the exact FPC compiler in that script, and you can't go wrong. eg: I simply type ./go64.sh while in the FPC Trunk directory, and I know it will use FPC 2.6.0 to compile Trunk, because it is hard-coded. No guess work required.

Regards, - Graeme - _______________________________________________ fpGUI - a cross-platform Free Pascal GUI toolkit http://fpgui.sourceforge.net

Reply by email