[fpc-devel] Building trunk on Win32
Leonardo M. Ramé
martinrame at yahoo.com
Sat Nov 26 14:50:46 CET 2011
----- Original Message -----
> From: Leonardo M. Ramé <martinrame at yahoo.com>
> To: FPC developers' list <fpc-devel at lists.freepascal.org>
> Cc:
> Sent: Saturday, November 26, 2011 10:17 AM
> Subject: Re: [fpc-devel] Building trunk on Win32
>
>> ________________________________
>
>> From: Pierre Free Pascal <pierre at freepascal.org>
>> To: 'Leonardo M. Ramé' <martinrame at yahoo.com>; 'FPC
> developers' list' <fpc-devel at lists.freepascal.org>
>> Sent: Friday, November 25, 2011 6:40 PM
>> Subject: RE: [fpc-devel] Building trunk on Win32
>>
>>
>> I tired to reproduce your problem starting from release 2.4.4 compiler,
>> but got no error.
>> Then I tried to find where error code 226 could be generated:
>> it is in rtl/win/systhrd.inc
>> function SysAllocateThreadVars most probably because your system returned
> nil for
>> a LocalAlloc call.
>>
>> Could you test by only doing a make cycle at compiler level?
>>
>> Pierre Muller
>>
>
> Hi Pierre, I uninstalled my 2.4.4 release then downloaded it again from the fpc
> site, and installed, to be sure I'm using the release version. Then, went to
> my fpc-svn trunk directory, then "cd compiler" and did a
> "e:\fpc-bin\bin\i386-win32\make clean all" (I
> use e:\fpc-bin\bin\i386-win32\make to avoid interferences with
> borland's make).
>
> Here's the compiling output:
>
> e:/FPC-bin/bin/i386-Win32/rm.exe -f ppcross386.exe ppc.exe ppc1.exe ppc2.exe
> ppc3.exe ./msg2inc.exe pp1.wpo pp2.wpo
> e:/FPC-bin/bin/i386-Win32/rm.exe -f ppc386.exe ppc68k.exe ppcx64.exe ppcppc.exe
> ppcsparc.exe ppcppc64.exe ppcarm.exe ppcmips.exe ppcmipsel.exe ppc386.exe
> ppcwpo1.exe ppcwpo2.exe
> e:/FPC-bin/bin/i386-Win32/rm.exe -f pp.exe pp.o libppp.a libimppp.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.o *.ppu *.rst *.s *.a *.dll *.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf *.sl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res
> link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *_ppas.bat
> e:/fpc-bin/bin/i386-win32/make -C utils cleanall
> make[1]: Entering directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpc.exe ppufiles.exe ppudump.exe ppumove.exe
> fpcsubst.exe mkarmins.exe mkx86ins.exe fpc.o ppufiles.o ppudump.o ppumove.o
> fpcsubst.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a
> libpppumove.a libpfpcsubst.a libpmkarmins.a libpmkx86ins.a libimpfpc.a
> libimpppufiles.a libimpppudump.a libimpppumove.a libimpfpcsubst.a
> libimpmkarmins.a libimpmkx86ins.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -f units/i386-win32/ppu.ppu
> units/i386-win32/crc.ppu units/i386-win32/usubst.ppu
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.o *.ppu *.rst *.s *.a *.dll *.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf *.sl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.* Package.fpc ppas.bat script.res
> link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *_ppas.bat
> make[1]: Leaving directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -rf i386/units
> e:/FPC-bin/bin/i386-Win32/rm.exe -f i386/*.o i386/*.ppu i386/*.rst i386/*.s
> i386/*.a i386/*.dll i386/*.ppl
> e:/FPC-bin/bin/i386-Win32/rm.exe -f i386/ppc386.exe i386/ppc68k.exe
> i386/ppcx64.exe i386/ppcppc.exe i386/ppcsparc.exe i386/ppcppc64.exe
> i386/ppcarm.exe i386/ppcmips.exe i386/ppcmipsel.exe i386/ppc386.exe
> e:/fpc-bin/bin/i386-win32/make -C utils clean
> make[1]: Entering directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpc.exe ppufiles.exe ppudump.exe ppumove.exe
> fpcsubst.exe mkarmins.exe mkx86ins.exe fpc.o ppufiles.o ppudump.o ppumove.o
> fpcsubst.o mkarmins.o mkx86ins.o libpfpc.a libpppufiles.a libpppudump.a
> libpppumove.a libpfpcsubst.a libpmkarmins.a libpmkx86ins.a libimpfpc.a
> libimpppufiles.a libimpppudump.a libimpppumove.a libimpfpcsubst.a
> libimpmkarmins.a libimpmkx86ins.a
> e:/FPC-bin/bin/i386-Win32/rm.exe -f units/i386-win32/ppu.ppu
> units/i386-win32/crc.ppu units/i386-win32/usubst.ppu
> e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat
> script.res link.res
> e:/FPC-bin/bin/i386-Win32/rm.exe -f *.s *_ppas.bat
> make[1]: Leaving directory `E:/fpc/compiler/utils'
> e:/FPC-bin/bin/i386-Win32/gmkdir.exe -p i386/units/i386-win32
> E:/pp/bin/i386-win32/ppc386.exe -Fui386 -Fusystems -Fu../rtl/units/i386-win32
> -Fii386 -FE. -FUi386/units/i386-win32 -di386 -dGDB -dBROWSERLOG -Fux86 -Sew
> pp.pas
> Free Pascal Compiler version 2.7.1 [2011/09/14] for i386
> Copyright (c) 1993-2011 by Florian Klaempfl and others
> Target OS: Win32 for i386
> Compiling pp.pas
> Compiling globals.pas
> Compiling cutils.pas
> Compiling cclasses.pas
> Compiling globtype.pas
> Compiling cstreams.pas
> Compiling cfileutl.pas
> Compiling systems.pas
> Compiling comphook.pas
> Compiling finput.pas
> Compiling comphook.pas
> Compiling globals.pas
> Compiling .\i386\cpuinfo.pas
> Compiling version.pas
> Compiling compiler.pas
> Compiling verbose.pas
> Compiling cmsgs.pas
> Compiling fmodule.pas
> Compiling ogbase.pas
> Compiling owbase.pas
> Compiling aasmbase.pas
> Compiling fmodule.pas
> Compiling symbase.pas
> Compiling symconst.pas
> Compiling symsym.pas
> Compiling widestr.pas
> Compiling cp8859_1.pas
> cp8859_1.pas(273,13) Error: Unknown record field identifier "cp"
> cp8859_1.pas(273,18) Fatal: Syntax error, "identifier" expected but
> ";" found
> Fatal: Compilation aborted
>
> --
> Leonardo M. Ramé
>
> http://leonardorame.blogspot.com
> _______________________________________________
> fpc-devel maillist - fpc-devel at lists.freepascal.org
> http://lists.freepascal.org/mailman/listinfo/fpc-devel
>
Well, now instead of updating my svn directory I completely deleted it and checked it out again. After that, the compiler was build ok, but I got this when trying to build all:
...
make[4]: Entering directory `E:/fpc/compiler'
e:/fpc-bin/bin/i386-win32/make rtlclean rtl
make[5]: Entering directory `E:/fpc/compiler'
e:/fpc-bin/bin/i386-win32/make -C E:/fpc/rtl clean
make[6]: Entering directory `E:/fpc/rtl'
e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res link.res
e:/FPC-bin/bin/i386-Win32/rm.exe -f *.s *_ppas.bat
e:/fpc-bin/bin/i386-win32/make -C win32 clean
make[7]: Entering directory `E:/fpc/rtl/win32'
e:/FPC-bin/bin/i386-Win32/rm.exe -f E:/fpc/rtl/units/i386-win32/system.ppu E:/fpc/rtl/units/i386-win32/objpas.ppu E:/fpc/rtl/units/i386-win32/macpas.ppu E:/fpc/rtl/units/i386-win32/iso7185.ppu E:/fpc/rtl/units/i386-win32/buildrtl.ppu E:/fpc/rtl/units/i386-win32/lineinfo.ppu E:/fpc/rtl/units/i386-win32/lnfodwrf.ppu E:/fpc/rtl/units/i386-win32/sysinitpas.ppu E:/fpc/rtl/units/i386-win32/sysinitcyg.ppu E:/fpc/rtl/units/i386-win32/sysinitgprof.ppu E:/fpc/rtl/units/i386-win32/ctypes.ppu E:/fpc/rtl/units/i386-win32/strings.ppu E:/fpc/rtl/units/i386-win32/heaptrc.ppu E:/fpc/rtl/units/i386-win32/matrix.ppu E:/fpc/rtl/units/i386-win32/windows.ppu E:/fpc/rtl/units/i386-win32/winsock.ppu E:/fpc/rtl/units/i386-win32/winsock2.ppu E:/fpc/rtl/units/i386-win32/initc.ppu E:/fpc/rtl/units/i386-win32/cmem.ppu E:/fpc/rtl/units/i386-win32/dynlibs.ppu E:/fpc/rtl/units/i386-win32/signals.ppu E:/fpc/rtl/units/i386-win32/dos.ppu E:/fpc/rtl/units/i386-win32/crt.ppu
E:/fpc/rtl/units/i386-win32/objects.ppu E:/fpc/rtl/units/i386-win32/messages.ppu E:/fpc/rtl/units/i386-win32/rtlconsts.ppu E:/fpc/rtl/units/i386-win32/sysconst.ppu E:/fpc/rtl/units/i386-win32/sysutils.ppu E:/fpc/rtl/units/i386-win32/math.ppu E:/fpc/rtl/units/i386-win32/types.ppu E:/fpc/rtl/units/i386-win32/strutils.ppu E:/fpc/rtl/units/i386-win32/dateutils.ppu E:/fpc/rtl/units/i386-win32/varutils.ppu E:/fpc/rtl/units/i386-win32/variants.ppu E:/fpc/rtl/units/i386-win32/typinfo.ppu E:/fpc/rtl/units/i386-win32/fgl.ppu E:/fpc/rtl/units/i386-win32/classes.ppu E:/fpc/rtl/units/i386-win32/convutils.ppu E:/fpc/rtl/units/i386-win32/stdconvs.ppu E:/fpc/rtl/units/i386-win32/cpu.ppu E:/fpc/rtl/units/i386-win32/mmx.ppu E:/fpc/rtl/units/i386-win32/charset.ppu E:/fpc/rtl/units/i386-win32/character.ppu E:/fpc/rtl/units/i386-win32/ucomplex.ppu E:/fpc/rtl/units/i386-win32/getopts.ppu E:/fpc/rtl/units/i386-win32/winevent.ppu E:/fpc/rtl/units/i386-win32/sockets.ppu
E:/fpc/rtl/units/i386-win32/printer.ppu E:/fpc/rtl/units/i386-win32/video.ppu E:/fpc/rtl/units/i386-win32/mouse.ppu E:/fpc/rtl/units/i386-win32/keyboard.ppu E:/fpc/rtl/units/i386-win32/fmtbcd.ppu E:/fpc/rtl/units/i386-win32/winsysut.ppu E:/fpc/rtl/units/i386-win32/sharemem.ppu E:/fpc/rtl/units/i386-win32/exeinfo.ppu E:/fpc/rtl/units/i386-win32/fpintres.ppu E:/fpc/rtl/units/i386-win32/windirs.ppu
e:/FPC-bin/bin/i386-Win32/rm.exe -f E:/fpc/rtl/units/i386-win32/system.o E:/fpc/rtl/units/i386-win32/objpas.o E:/fpc/rtl/units/i386-win32/macpas.o E:/fpc/rtl/units/i386-win32/iso7185.o E:/fpc/rtl/units/i386-win32/buildrtl.o E:/fpc/rtl/units/i386-win32/lineinfo.o E:/fpc/rtl/units/i386-win32/lnfodwrf.o E:/fpc/rtl/units/i386-win32/sysinitpas.o E:/fpc/rtl/units/i386-win32/sysinitcyg.o E:/fpc/rtl/units/i386-win32/sysinitgprof.o E:/fpc/rtl/units/i386-win32/ctypes.o E:/fpc/rtl/units/i386-win32/strings.o E:/fpc/rtl/units/i386-win32/heaptrc.o E:/fpc/rtl/units/i386-win32/matrix.o E:/fpc/rtl/units/i386-win32/windows.o E:/fpc/rtl/units/i386-win32/winsock.o E:/fpc/rtl/units/i386-win32/winsock2.o E:/fpc/rtl/units/i386-win32/initc.o E:/fpc/rtl/units/i386-win32/cmem.o E:/fpc/rtl/units/i386-win32/dynlibs.o E:/fpc/rtl/units/i386-win32/signals.o E:/fpc/rtl/units/i386-win32/dos.o E:/fpc/rtl/units/i386-win32/crt.o E:/fpc/rtl/units/i386-win32/objects.o
E:/fpc/rtl/units/i386-win32/messages.o E:/fpc/rtl/units/i386-win32/rtlconsts.o E:/fpc/rtl/units/i386-win32/sysconst.o E:/fpc/rtl/units/i386-win32/sysutils.o E:/fpc/rtl/units/i386-win32/math.o E:/fpc/rtl/units/i386-win32/types.o E:/fpc/rtl/units/i386-win32/strutils.o E:/fpc/rtl/units/i386-win32/dateutils.o E:/fpc/rtl/units/i386-win32/varutils.o E:/fpc/rtl/units/i386-win32/variants.o E:/fpc/rtl/units/i386-win32/typinfo.o E:/fpc/rtl/units/i386-win32/fgl.o E:/fpc/rtl/units/i386-win32/classes.o E:/fpc/rtl/units/i386-win32/convutils.o E:/fpc/rtl/units/i386-win32/stdconvs.o E:/fpc/rtl/units/i386-win32/cpu.o E:/fpc/rtl/units/i386-win32/mmx.o E:/fpc/rtl/units/i386-win32/charset.o E:/fpc/rtl/units/i386-win32/character.o E:/fpc/rtl/units/i386-win32/ucomplex.o E:/fpc/rtl/units/i386-win32/getopts.o E:/fpc/rtl/units/i386-win32/winevent.o E:/fpc/rtl/units/i386-win32/sockets.o E:/fpc/rtl/units/i386-win32/printer.o E:/fpc/rtl/units/i386-win32/video.o
E:/fpc/rtl/units/i386-win32/mouse.o E:/fpc/rtl/units/i386-win32/keyboard.o E:/fpc/rtl/units/i386-win32/fmtbcd.o E:/fpc/rtl/units/i386-win32/winsysut.o E:/fpc/rtl/units/i386-win32/sharemem.o E:/fpc/rtl/units/i386-win32/exeinfo.o E:/fpc/rtl/units/i386-win32/fpintres.o E:/fpc/rtl/units/i386-win32/windirs.o E:/fpc/rtl/units/i386-win32/libimpsystem.a E:/fpc/rtl/units/i386-win32/libimpsysinitpas.a E:/fpc/rtl/units/i386-win32/libimpsysinitcyg.a E:/fpc/rtl/units/i386-win32/libimpsysinitgprof.a E:/fpc/rtl/units/i386-win32/libimpheaptrc.a E:/fpc/rtl/units/i386-win32/libimpwindows.a E:/fpc/rtl/units/i386-win32/libimpwinsock.a E:/fpc/rtl/units/i386-win32/libimpwinsock2.a E:/fpc/rtl/units/i386-win32/libimpinitc.a E:/fpc/rtl/units/i386-win32/libimpcmem.a E:/fpc/rtl/units/i386-win32/libimpsignals.a E:/fpc/rtl/units/i386-win32/libimpdos.a E:/fpc/rtl/units/i386-win32/libimpsysutils.a E:/fpc/rtl/units/i386-win32/libimpvarutils.a
E:/fpc/rtl/units/i386-win32/libimpsharemem.a E:/fpc/rtl/units/i386-win32/libimpfpintres.a
e:/FPC-bin/bin/i386-Win32/rm.exe -f E:/fpc/rtl/units/i386-win32/math.rst E:/fpc/rtl/units/i386-win32/varutils.rst E:/fpc/rtl/units/i386-win32/typinfo.rst E:/fpc/rtl/units/i386-win32/variants.rst E:/fpc/rtl/units/i386-win32/classes.rst E:/fpc/rtl/units/i386-win32/dateutils.rst E:/fpc/rtl/units/i386-win32/sysconst.rst
e:/FPC-bin/bin/i386-Win32/rm.exe -f fpcmade.i386-win32 Package.fpc ppas.bat script.res link.res
e:/FPC-bin/bin/i386-Win32/rm.exe -f *.s *_ppas.bat
make[7]: Leaving directory `E:/fpc/rtl/win32'
make[6]: Leaving directory `E:/fpc/rtl'
e:/fpc-bin/bin/i386-win32/make -C E:/fpc/rtl 'OPT=' all
make[6]: Entering directory `E:/fpc/rtl'
e:/fpc-bin/bin/i386-win32/make -C win32 all
make[7]: Entering directory `E:/fpc/rtl/win32'
E:/fpc/compiler/ppc2.exe -Ur -Xs -O2 -n -Fi../inc -Fi../i386 -Fi../win -FE. -FUE:/fpc/rtl/units/i386-win32 -di386 -dRELEASE -Us -Sg system.pp -Fi../win
Runtime error 226 at $0040C776
$0040C776
$0040FB59
$7C81A1C2
$7C845A7C
$7C83FE59
$7C82EB2F
$7C828355
make[7]: Leaving directory `E:/fpc/rtl/win32'
make[6]: Leaving directory `E:/fpc/rtl'
make[5]: Leaving directory `E:/fpc/compiler'
make[4]: Leaving directory `E:/fpc/compiler'
make[3]: Leaving directory `E:/fpc/compiler'
make[2]: Leaving directory `E:/fpc/compiler'
make[1]: Leaving directory `E:/fpc'
--
Leonardo M. Ramé
http://leonardorame.blogspot.com
More information about the fpc-devel
mailing list