Welcome, Guest
Username: Password: Remember me
Lab CT Version, news, test results, new features request and suggestions

TOPIC:

CT LAB ver 5.10 9 years 6 months ago #6108

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.

CT LAB ver 5.10 9 years 6 months ago #6109

  • XANDR
  • XANDR's Avatar
  • Visitor
  • Visitor
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.

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

Last edit: by XANDR.

CT LAB ver 5.10 9 years 6 months ago #6111

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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

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

Last edit: by Sternas Stefanos.

CT LAB ver 5.10 9 years 6 months ago #6116

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
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.

CT LAB ver 5.10 9 years 6 months ago #6119

  • XANDR
  • XANDR's Avatar
  • Visitor
  • Visitor
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.

CT LAB ver 5.10 9 years 6 months ago #6120

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.

CT LAB ver 5.10 9 years 6 months ago #6121

  • XANDR
  • XANDR's Avatar
  • Visitor
  • Visitor
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.

CT LAB ver 5.10 9 years 6 months ago #6122

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.

CT LAB ver 5.10 9 years 6 months ago #6124

  • XANDR
  • XANDR's Avatar
  • Visitor
  • Visitor
sternas, thanks for your answers

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

CT LAB ver 5.10 9 years 6 months ago #6126

  • David
  • David's Avatar
  • Offline
  • New Member
  • New Member
  • Posts: 19
  • Thank you received: 3
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.

CT LAB ver 5.10 9 years 5 months ago #6181

  • Vbxler
  • Vbxler's Avatar
  • Visitor
  • Visitor
I can not start the application typhone32 5.1. I get the message: Access violation.
I use Win7x64

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

Last edit: by Vbxler.

CT LAB ver 5.10 9 years 5 months ago #6182

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
Open Task Manager end close all Typhon executables
and please try CT 5.10 final...
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 5.10 9 years 5 months ago #6190

  • Vbxler
  • Vbxler's Avatar
  • Visitor
  • Visitor
Thank you, the reason was a faulty environmentoptions.xml file.
Now it works!

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

CT LAB ver 5.10 9 years 5 months ago #6191

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4508
  • Thank you received: 1100
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.