Recent

Author Topic: FPC 3.2.x series and Lazarus fixes 1.8. compiling problems  (Read 2076 times)

af0815

  • Hero Member
  • *****
  • Posts: 1289
FPC 3.2.x series and Lazarus fixes 1.8. compiling problems
« on: August 22, 2018, 08:36:30 am »
When i want to compile the fixes_1_8 branch i got the same problem in win32 and win64:

The detection of the correct fpcversion didnt work as expected. 

a) Build Lazarus with make:
-> Configuring the ide cannot detect the fpc 3.2.0 correctly and say alway Error fpc.cfg is missing
-> There is a valid fpc.exe a valid ppc386.exe and a valid fpc.cfg
-> The same fpc is working with Lazarus trunk
b) Build with fpcupdeluxe fail, if i use the same command as fpcupdeluxe use, with extra verbose i see more
Quote
C:\Data\lazdev\fixes32_fixes18\lazarus>C:\Data\lazdev\fixes32_fixes18\lazarus\lazbuild.exe "--verbose" "--pcp=C:\Data\lazdev\fixes32_fixes18\config_lazarus" "--cpu=i386" "--os=win32" "--build-ide=-dKeepInstalledPackages -gw -gl -O1 -Co -Cr -Ci -Sa"
using config file C:\Data\lazdev\fixes32_fixes18\lazarus\lazarus.cfg
Parameter: build-ide=-dKeepInstalledPackages -gw -gl -O1 -Co -Cr -Ci -Sa
SetPrimaryConfigPath NewValue="C:\Data\lazdev\fixes32_fixes18\config_lazarus" -> "C:\Data\lazdev\fixes32_fixes18\config_lazarus"
Parameter: primary-config-path=C:\Data\lazdev\fixes32_fixes18\config_lazarus
Parameter: os=win32
Parameter: cpu=i386
Hint: (lazarus) primary config path: C:\Data\lazdev\fixes32_fixes18\config_lazarus
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=i386-win32-win32 New=i386-win32-win32 FPC=True LCL=False
Hint: (lazarus) Building Lazarus IDE with profile "Normal IDE"
Hint: (lazarus) [TBuildManager.SetBuildTargetIDE] OS=win32 CPU=i386 WS=win32
Hint: (lazarus) [TBuildManager.SetBuildTarget] Old=i386-win32-win32 New=i386-win32-win32 FPC=True LCL=False
Error: (lazarus) [PPUFilesAndCompilerMatch] Compiler=C:\Data\lazdev\fixes32_fixes18\fpc\bin\i386-win32\fpc.exe RealComp= InPath=C:\Data\lazdev\fixes32_fixes18\fpc\bin\i386-win32\ppc386.exe

  $0056A337  DEBUGLNSTACK,  line 731 of lazloggerbase.pas
  $004023C2  ONIDEMESSAGEDIALOG,  line 339 of lazbuild.lpr
  $005276E8  PPUFILESANDCOMPILERMATCH,  line 800 of buildmanager.pas
  $00527399  RESCANCOMPILERDEFINES,  line 1017 of buildmanager.pas
  $0052EAD5  SETBUILDTARGET,  line 2720 of buildmanager.pas
  $0052EDCD  SETBUILDTARGETIDE,  line 2754 of buildmanager.pas
  $00403045  BUILDLAZARUSIDE,  line 573 of lazbuild.lpr
  $00406BE9  RUN,  line 1494 of lazbuild.lpr
  $00408D8E  main,  line 1870 of lazbuild.lpr
Error: (lazbuild) Error
Compiler "C:\Data\lazdev\fixes32_fixes18\fpc\bin\i386-win32\fpc.exe" does not support target i386-win32
lazbuild is non interactive, aborting now.
c) exactly the same problem with the win64 version
d) If i start the win32 lazarus ignoring the configuring error
-> It says always the fpc didnt support the target i386-win32 -see picture

-----
Common: fpc.exe from fixes 3.2 build says -iTO -iTP says win32 i386
It looks for me, the buildmanager have problems to detect the correct fpc version.

Any hint ?
regards
Andreas

 

TinyPortal © 2005-2018