[fpc-devel] fpc trunk compile failure...

waldo kitty wkitty42 at windstream.net
Mon Dec 1 19:24:37 CET 2014


On 12/1/2014 5:32 AM, Marco van de Voort wrote:
> In our previous episode, waldo kitty said:
>>
>> OS=Vista
>> FTP Trunk=r29189
>>
>> cd /d c:\freepascal\fpc\trunk
>> rd /s /q c:\freepascal\fpc\trunk\examps
>> make distclean
>> TortoiseProc /command:update /path:"c:\freepascal\fpc\trunk"
>> ren c:\freepascal\fpc\trunk\examples examps
>> compiling FPC trunk...
>> make all install INSTALL_PREFIX=c:\freepascal\fpc\trunk
>> PP=c:\freepascal\binutils\ppc386.exe
>> DATA2INC=c:\freepascal\fpc\trunk\utils\data2inc.exe
>
>
> As said before, the problem is the inclusion of  ..  fpc\trunk\units\*

"said before"? i must have missed it... i try to read all posts in all of the 
fpc and lazarus lists but some things just get too deep for me to follow along 
with... this particular problem /just/ popped up with the above revision 
update... i don't recall what revision i was at before updating and i don't know 
how to find out from tortoise...

> I don't know where it comes from. I thought the makefile maybe auto added an
> units directory at the toplevel, but I tested, and it doesn't.
>
> So something strange is going on on that system, but I can't reproduce.

strange on my system? i don't know... i rarely have problems updating and 
compiling... especially since i got my scripts coded a year or two back to 
handle it all for me...

FWIW: the scripts are based on the ones in the wiki (will have to hunt for them) 
where fpc (and lazarus) are built and installed into their directories that are 
updated from the repository... they are bootstrapped from binaries in the 
"c:\freepascal\binutils" directory (hereafter called the bootstrap directory)... 
these FPC and Lazarus installs started as clean pulls from the repository and 
they were built using the bootstrap files to get a working installation which 
has been being updated ever since then...

the binaries for the bootstrap were all pulled from the repository some time 
back... currently they are all from 2013 May 21 so i guess they are FPC 2.6.2 
based as i did save the previous ppc386 as ppc386-2.6.0.exe and the current one 
is copied as ppc386-2.6.2.exe... perhaps i need to update that bootstrap 
directory's contents from the repository again??


  Directory of c:\freepascal\binutils

10/15/2013  03:45 PM    <DIR>          .
10/15/2013  03:45 PM    <DIR>          ..
10/15/2013  03:44 PM    <DIR>          i386-win32
05/21/2012  02:52 PM         2,042,368 ppc386-2.6.0.exe
05/31/2013  02:02 PM         2,051,072 ppc386-2.6.2.exe
05/31/2013  02:02 PM         2,051,072 ppc386.exe
                3 File(s)      6,144,512 bytes
                3 Dir(s)  52,809,166,848 bytes free


barring that, i do have a FPC 2.6.4 that appears to have been installed using 
some windows installer thing... all those directories are dated 2014 Apr 06... 
the ppc386 binary in there is dated 2014 Mar 06... so i'm guessing that i pulled 
and installed that a month after it was released?? could i maybe pull the needed 
bootstrap binaries from this 2.6.4 installation and place them in the bootstrap 
directory?? do you think that will fix this if it is a problem with old 
bootstrap binaries being used?

my FPC compile log does show the above ppc386.exe (matching ppc386-2.6.2.exe) is 
being used to compile pp.pas in fpc/trunk/compiler... here're the last two 
instances of that bootstrap ppc386.exe being used...


make[6]: Entering directory `c:/freepascal/fpc/trunk/compiler'
c:/freepascal/binutils/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems 
-Fuc:/freepascal/fpc/trunk/rtl/units/i386-win32 -Fii386 -FE. 
-FUi386/units/i386-win32 -dRELEASE    -di386 -dGDB -dBROWSERLOG -Fux86 -Sew -FE. 
utils/msg2inc.pp
make[6]: Leaving directory `c:/freepascal/fpc/trunk/compiler'
./msg2inc.exe msg/errore.msg msg msg
Loading messagefile msg/errore.msg
Writing enumfile msgidx.inc
Writing stringfile msgtxt.inc
c:/freepascal/binutils/ppc386.exe -Ur -Xs -O2 -n -Fui386 -Fusystems 
-Fuc:/freepascal/fpc/trunk/rtl/units/i386-win32 -Fii386 -FE. 
-FUi386/units/i386-win32 -dRELEASE    -di386 -dGDB -dBROWSERLOG -Fux86 -Sew pp.pas
c:/freepascal/binutils/i386-win32/mv.exe -f ./pp.exe ppc386.exe
make[5]: Leaving directory `c:/freepascal/fpc/trunk/compiler'
make echotime
make[5]: Entering directory `c:/freepascal/fpc/trunk/compiler'
Start  now 20:13:34
make[5]: Leaving directory `c:/freepascal/fpc/trunk/compiler'
make[4]: Leaving directory `c:/freepascal/fpc/trunk/compiler'
c:/freepascal/binutils/i386-win32/rm.exe -f ppc1.exe
c:/freepascal/binutils/i386-win32/mv.exe -f ppc386.exe ppc1.exe
make 'FPC=c:/freepascal/fpc/trunk/compiler/ppc1.exe' 'OLDFPC=' next CYCLELEVEL=2


FWIW: i believe that the following link where marcos douglas gave details on how 
to bootstrap FPC and Lazarus is where i started...

http://wiki.lazarus.freepascal.org/Installing_Lazarus#Compiling.2Finstalling_FPC_and_Lazarus_from_Sources_of_SVN_.28Win32.29

at one time i was going to add more to it but i never got back with marcos and 
did anything else... obviously i updated something i my routine at some time 
because of having ppc386-2.6.0 and ppc386-2.6.2 available in that bootstrap 
directory...


i am going to make a copy of my bootstrap directory and attempt to update the 
existing files from the FPC 2.6.4 installation... i'll get back with the 
results... of course, my update script will pull a new revision from the 
repository during this process but we'll see what happens, either way ;)


PS: my apologies if the above appears to be rambling or a "wall of words"... i'm 
just trying to get everything written down as i think about it...

-- 
  NOTE: No off-list assistance is given without prior approval.
        Please *keep mailing list traffic on the list* unless
        private contact is specifically requested and granted.



More information about the fpc-devel mailing list