[fpc-pascal] Error crosscompile on WinXP: FPC /branches/fixes_2_6 rev 19336
Marcos Douglas
md at delfire.net
Mon Oct 3 18:10:38 CEST 2011
Hi,
On WinXP I can compile FPC /branches/fixes_2_6 rev 19336 to i386 but
not to x86_64
I think the argument "-dGDB_V606" should be changed... but is this a
new option or a bug?
See the error:
[...]
W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64
W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP
x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit
s/x86_64-win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE src/bui
ldim.pp
make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages/imagema
gick'
make -C gdbint all
make[4]: Entering directory `W:/md/dev/freepascal/compiler/2.4.5/packages/gdbint
'
W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64
W:/md/dev/freepascal/binutils/2.4.5/i386-win32/cp.exe src/gdbver_nogdb.inc src/g
dbver.inc
Different target os or cpu, using default GDB GDB_V606
W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP
x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit
s/x86_64-win64 -FlW:/md/dev/freepascal/compiler/2.4.5/libgdb/win64 -FoW:/md/dev/
freepascal/compiler/2.4.5/libgdb/win64 -FiW:/md/dev/freepascal/compiler/2.4.5/li
bgdb/win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE -dGDB_V606
-Fisrc -Fusrc src/gdbint.pp
gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid hea
der size
gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid heade
r size
Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
make[4]: *** [gdbint.ppu] Error 1
make[4]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages/gdbint'
make[3]: *** [gdbint_all] Error 2
make[3]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5/packages'
make[2]: *** [packages_all] Error 2
make[2]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5'
make[1]: *** [build-stamp.x86_64-win64] Error 2
make[1]: Leaving directory `W:/md/dev/freepascal/compiler/2.4.5'
make: *** [crossinstall] Error 2
W:\md\dev\freepascal\compiler\2.4.5>
Marcos Douglas
More information about the fpc-pascal
mailing list