revision 59992 breaks crossbuilding win32 lcl on macOS.
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
-
Reporter name: Karl-Michael Schindler
Original Reporter info from Mantis: karl-michael.schindler@web.de @KaMiSchi
- Reporter name: Karl-Michael Schindler
Description:
2.0-fixes revision 59992 breaks crossbuilding win32 lcl on macOS with this error:
...
ppc386 -Twin32 -Pi386 -XPi386-win32- -Xr -gl -Sc -Fu../../units/i386-win32 -Fu../../../packager/units/i386-win32 -Fu../../../components/lazutils/lib/i386-win32 -Fu.. -Fu. -FE. -FU../../units/i386-win32/win32 -di386 ../lcl.pas
Warning: Option "-Xr" is ignored for the current target platform.
Free Pascal Compiler version 3.0.4 [2018/12/11] for i386
Copyright (c) 1993-2017 by Florian Klaempfl and others
Target OS: Win32 for i386
Compiling ../lcl.pas
Compiling win32int.pp
win32int.pp(21,26) Warning: User defined: Fix implicit pointer conversions
win32wsmenus.pp(253,1) Fatal: Internal error 200611031
Fatal: Compilation aborted
make[3]: *** [Makefile:2706: ../lcl.ppu] Fehler 1
Steps to reproduce:
svn up -r 59992
make lcl LCL_PLATFORM=win32 OS_TARGET=win32 PP=ppc386 CPU_TARGET=i386
or
make lcl LCL_PLATFORM=win32 OS_TARGET=win64 PP=ppcx64 CPU_TARGET=x86_64
Additional information:
OS is macOS 10.14. fpc is 3.0.4. The same happens with win64, whereas carbon, cocoa, wince are built successfully.
Mantis conversion info:
- Mantis ID: 34823
- OS: Mac OS X
- OS Build: 10.4-10.6
- Build: svn revision 59992
- Platform: powerpc, i386, x86_64
- Version: 2.0.1 (SVN)