× Lab CT Version, news, test results, new features request and suggestions

Question CT LAB ver 5.10

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago #6108 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
Sir can you give as more info for this problem ?

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • XANDR
  • Visitor
  • Visitor
5 years 9 months ago - 5 years 9 months ago #6109 by XANDR
Replied by XANDR on topic CT LAB ver 5.10
1. In the asm file cprt0.as located in c:\codetyphon\fpcsrc\rtl\linux\arm\ is missed next four lines:
.type _init,%function
.type _fini,%function
.weak _init
.weak _fini
this lines needs when buildin the arm-linux target with cthreads support.
2. I think the issue bugs.freepascal.org/view.php?id=24056 was closed without real fix the file. I created another one ticked: bugs.freepascal.org/view.php?id=26869 .
It is all what i known.
Last edit: 5 years 9 months ago by XANDR.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago - 5 years 9 months ago #6111 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
Sir
Your project Target-CPU-OS ?
How do you build the FPC Cross-element ? Did you use CTCenter for what ?
What units or Libraries use your project ?
Did you use CT OS-Libraries ?
etc...

PilotLogic Architect and Core Programmer
Last edit: 5 years 9 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #6116 by David
Replied by David on topic CT LAB ver 5.10
Sr Updated to last lab 5.021, build all, and Downloaded toolchain again.
But now, doing fpc32 cross build element arm-cubieboard fail with errors

----------------------------------------------------------------
       Stage 2: Build All Units and Packages  
----------------------------------------------------------------       
..
..
make[2]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make[1]: Leaving directory `C:/codetyphon/fpcsrc/compiler'
make: Entering directory `C:/codetyphon/fpcsrc/utils/fpcm'
C:/codetyphon/fpc/fpc32/bin/i386-win32/gmkdir.exe -p units/i386-win32
ppc386.exe -dREVINC -Fu../../rtl/units/i386-win32 -Fu../../packages/rtl-objpas -Fu../../packages/hash -Fu../../packages/paszlib -Fu../../packages/fcl-process -Fu../../packages/libtar -Fu../../packages/fpmkunit -Fu../../packages/fcl-res -Fu../../packages/fcl-base -FE. -FUunits/i386-win32 -di386 fpcmwr.pp
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\system.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\objpas.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysutils.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windows.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\sysconst.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\windirs.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\classes.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\rtlconsts.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\types.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\typinfo.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\dos.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
Error: Unit C:\codetyphon\fpcsrc\rtl\units\i386-win32\strings.ppu was compiled using a different whole program optimization feedback input (C:\codetyphon\fpcsrc\compiler\pp2.wpo, 2014/10/16 22:38:42); recompile it without wpo or use the same wpo feedback input file for this compilation invocation
fpcmdic.pp(71,1) Fatal: There were 12 errors compiling module, stopping
Fatal: Compilation aborted
make: *** [fpcmwr.ppu] Error 1
..
..
..

Please Log in or Create an account to join the conversation.

  • XANDR
  • Visitor
  • Visitor
5 years 9 months ago #6119 by XANDR
Replied by XANDR on topic CT LAB ver 5.10
I use next options:
Target-CPU-OS: arm-linux
Host: Win7 64 bit. 32Bit big IDE.
The FPC Cross-element was builded from CTCenter;
Library: arm-linux-pi
For reproduce the bug: simple console app with use cthreads unit.
I hope this info will be useful

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago #6120 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
Sir
my suggestion :
-Install-Build LAB CT 5.10
-Download win32-arm-linux--RapberryPi and build FPC32 Cross-Element
-Download arm-linux-Raspbian OS-Library
and test your application

We build and test "any" arm-linux application without problem

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • XANDR
  • Visitor
  • Visitor
5 years 9 months ago #6121 by XANDR
Replied by XANDR on topic CT LAB ver 5.10
Thanks for your suggestion, I will try this. But I have a question: If I builded (for example) three cross elements and downloaded three libraries, how i can select one of this?

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago #6122 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
For OS-Libraries NO problem
For FPC elements: is in our To-Do list for future CT ver 5.20...
We want time and help...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.

  • XANDR
  • Visitor
  • Visitor
5 years 9 months ago #6124 by XANDR
Replied by XANDR on topic CT LAB ver 5.10
sternas, thanks for your answers

Please Log in or Create an account to join the conversation.

More
5 years 9 months ago #6126 by David
Replied by David on topic CT LAB ver 5.10
hi
crosscompiling to cubieboard now working with 5021
Just download again 5.0, and updated to last lab 5021, then fpc crossbuild sucessfully.

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Visitor
  • Visitor
5 years 9 months ago - 5 years 9 months ago #6181 by Vbxler
Replied by Vbxler on topic CT LAB ver 5.10
I can not start the application typhone32 5.1. I get the message: Access violation.
I use Win7x64
Last edit: 5 years 9 months ago by Vbxler.

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago - 5 years 9 months ago #6182 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
Open Task Manager end close all Typhon executables
and please try CT 5.10 final...

PilotLogic Architect and Core Programmer
Last edit: 5 years 9 months ago by Sternas Stefanos.

Please Log in or Create an account to join the conversation.

  • Vbxler
  • Visitor
  • Visitor
5 years 9 months ago #6190 by Vbxler
Replied by Vbxler on topic CT LAB ver 5.10
Thank you, the reason was a faulty environmentoptions.xml file.
Now it works!

Please Log in or Create an account to join the conversation.

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Away
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 years 9 months ago #6191 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 5.10
Thanks Sir
Please report any problem
and have fun...

PilotLogic Architect and Core Programmer

Please Log in or Create an account to join the conversation.