Error using make crossinstall
Original Reporter info from Mantis: md @mdbs99
-
Reporter name: Marcos Douglas
Original Reporter info from Mantis: md @mdbs99
- Reporter name: Marcos Douglas
Description:
I can compile 2.4.5 perfectly to i386 but when the script tried to compile using cross, I saw the error below:
[...]
make -C gdbint all
make[4]: Entering directory W:/md/dev/freepascal/compiler/2.4.5/packages/gdbint<br/> '<br/> W:/md/dev/freepascal/binutils/2.4.5/i386-win32/gmkdir.exe -p units/x86_64-win64<br/> W:/md/dev/freepascal/binutils/2.4.5/i386-win32/cp.exe src/gdbver_nogdb.inc src/g<br/> dbver.inc<br/> Different target os or cpu, using default GDB GDB_V606<br/> W:/md/dev/freepascal/compiler/2.4.5/compiler/ppcrossx64.exe -Twin64 -Px86_64 -XP<br/> x86_64-win64- -Xr -Ur -Xs -O2 -n -FuW:/md/dev/freepascal/compiler/2.4.5/rtl/unit<br/> s/x86_64-win64 -FlW:/md/dev/freepascal/compiler/2.4.5/libgdb/win64 -FoW:/md/dev/<br/> freepascal/compiler/2.4.5/libgdb/win64 -FiW:/md/dev/freepascal/compiler/2.4.5/li<br/> bgdb/win64 -Fisrc -FE. -FUunits/x86_64-win64 -gl -dx86_64 -dRELEASE -dGDB_V606<br/> ``` -Fisrc -Fusrc src/gdbint.pp```<br/> gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\kernel32.dll, invalid hea<br/> der size<br/> gdbint.pp(3091) Error: Invalid DLL C:\WINDOWS\system32\user32.dll, invalid heade<br/> r size<br/> Fatal: There were 2 errors compiling module, stopping<br/> Fatal: Compilation aborted<br/> make[4]: *** [gdbint.ppu] Error 1<br/> 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'<br/> make[2]: *** [packages_all] Error 2<br/> 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>
Steps to reproduce:
make crossinstall UPXPROG=echo COPYTREE=echo OPT="-gl" OS_TARGET=win64 CPU_TARGET=x86_64 INSTALL_PREFIX=&LtPos;my_fpc> PP=&LtPos;my_ppc>
Mantis conversion info:
- Mantis ID: 20412
- OS: Windows
- OS Build: XP/7
- Build: rev 19367
- Platform: i386/x86_64
- Version: 2.4.5
- Fixed in version: 2.6.0