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

Question CT LAB ver 7.40

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 12 hours ago #15728 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Thanks Sir
give us time to test and report

PilotLogic Architect and Core Programmer

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
6 months 3 hours ago - 6 months 3 hours ago #15731 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40

Vbxler" post=15727Hallo to all!

There may be a problem with the new version 7.40 revision 007350.

After the update I built the libraries for arm-linux-Raspbian, but an existing project is not linked.
It worked fine with the previous version.
There are messages that the .so files cannot be found in path: '/usr/local/codetyphon/binLibraries/arm-linux-Raspbian/' .
The path information in the project setting is correct and the path and the files are available.
Then I installed CT7.3 and it worked again without any error messages and the program file is built. .

I use Xubuntu 20.04 on the development computer - the target platform is ARM-Linux for a Raspberry Pi-Zero .

Thanks
 


Finally we found the problem:

in FPC executables directory modify the fpc.cnf file:
# binutils prefix for cross compiling
#IFDEF FPC_CROSSCOMPILING
#IFDEF NEEDCROSSBINUTILS
#ifndef cpuwasm32
  -XP$FPCTARGET-
#endif
#ENDIF
#ENDIF
to
# binutils prefix for cross compiling
#IFDEF FPC_CROSSCOMPILING
  -XP$FPCTARGET-
#ENDIF

We release LAB CT Ver 7.40 Revision 007355
for this problem.

Tested on Win 10, Fedora 33, Debian 10.8 and Ubuntu MATE  20.10
Screen from Ubuntu MATE  20.10.

Thanks Sir



 

PilotLogic Architect and Core Programmer
Last edit: 6 months 3 hours ago by Sternas Stefanos.

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

More
5 months 4 weeks ago #15733 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
Hello Mr. Sternas,

it seems that the malfunction of FPC with ARM processors no longer occurs.

Thank you!

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 4 weeks ago #15734 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Again Thanks Sir
and always have fun.

PilotLogic Architect and Core Programmer

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

More
5 months 3 weeks ago #15751 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
Hallo Mr. Sternas!

Is it possible that there is still an error in the area of cross-compilation with arm processors?
I get the error message: Error: /usr/local/codetyphon/fpc/fpc64/bin/x86_64-linux/arm-linux-ld: warning: libc.so.6, needed by /usr/local/codetyphon/binLibraries/arm-linux-Raspbian//libdl.so, not found (try using -rpath or -rpath-link)
but the file is available at the specified location.

If I deactivate the switch '-gh' I can compile, but the programs do not run on the target platform.
When the program is started, only the message appears: segmentation fault
This also happens with the sample project. When I compile for Linux AMD_64 it works normally.

The target platform is Raspberry Zero with ARMv6.
The development platform is Xubuntu 20.04 with the current CT version.

Maybe you have an idea what could be the cause.

Thanks for your help!
 

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 3 weeks ago - 5 months 3 weeks ago #15752 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Please give us time to test
but -gh switch and debug information -g switch, NOT work on CrossBuilds

What OS and version has the target platform Raspberry Zero ?

PilotLogic Architect and Core Programmer
Last edit: 5 months 3 weeks ago by Sternas Stefanos.

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

More
5 months 3 weeks ago #15753 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
On Raspberry Zero runs Debian 10.3.

The crossbuilding has already worked very well with CT.
But I am currently not in a position to understand why it is no longer possible.
Today I also tried to do crossbuiling on a computer with Win732 for the target platform linux armv6. The compilation works, but the message appears again on the target platform: segmentation fault.

Thanks for your help!

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 3 weeks ago #15754 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
We have some same problems with Ubuntu MATE on PI3 and PI4

My suggestion is to try and
Raspberry Pi OS Lite or Desktop ( info ) in the Target

PilotLogic Architect and Core Programmer

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

More
5 months 3 weeks ago #15755 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
I will try that,

Thanks a lot!

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

More
5 months 2 weeks ago #15756 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
I give up, it doesn't work.
I installed different operating systems on the target linux armv6 and armv7,
I tested different development computers with Win7_32, Win10_64 and Linux Xubuntu_20.04,
always the same result: segmentation fault

I wrote a program in March and it still worked.
In April it is no longer possible. Something has changed there.

 

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 2 weeks ago - 5 months 2 weeks ago #15757 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Can you make a skeleton sample project, with the same configuration,
for LAB testing ?

PilotLogic Architect and Core Programmer
Last edit: 5 months 2 weeks ago by Sternas Stefanos.

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

More
5 months 2 weeks ago #15758 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
Already in the posting #15751,
It is an empty project for Raspberry 2 .

Thank you Mr. Sternas!

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 2 weeks ago - 5 months 2 weeks ago #15759 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Oh sorry,  old man's......

Give me time to test and report

PilotLogic Architect and Core Programmer
Last edit: 5 months 2 weeks ago by Sternas Stefanos.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 2 weeks ago - 5 months 2 weeks ago #15760 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Try
1)
Not define Target Processor Value="ARMV6"
use only
TargetCPU Value="arm"
TargetOS Value="linux"

2) Test and
arm-linux-Raspbian2
arm-linux-Raspbian3

until our final report.

I think we must have a Raspberry Zero here in our LAB,
but I can't find it now.
 

PilotLogic Architect and Core Programmer
Last edit: 5 months 2 weeks ago by Sternas Stefanos.

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

More
5 months 2 weeks ago #15761 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
1) No change - segmentation fault
2) No change - segmentation fault

Raspberry Zero has an armv6 architecture, the library '/lin64-arm-linux--RapberryPi/' worked here without any problems. Until now, nothing works anymore.

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 2 weeks ago #15762 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Please wait for next CT LAB release

PilotLogic Architect and Core Programmer

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

More
5 months 2 weeks ago #15763 by Vbxler
Replied by Vbxler on topic CT LAB ver 7.40
Is there already a schedule for the next release?

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

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
More
5 months 2 weeks ago #15764 by Sternas Stefanos
Replied by Sternas Stefanos on topic CT LAB ver 7.40
Yes
ETA 10-15 days

PilotLogic Architect and Core Programmer

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

More
5 months 1 week ago #15769 by Matis A.
Replied by Matis A. on topic CT LAB ver 7.40
FreeBSD 13.0 in our LAB for tests...

PilotLogic Core Programmer

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

More
5 months 1 week ago #15770 by Matis A.
Replied by Matis A. on topic CT LAB ver 7.40
We release LAB CT Ver 7.40 Revision 007370
Please test, report,
and always Have Fun

PilotLogic Core Programmer

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