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

TOPIC:

CT LAB ver 7.40 3 years 7 months ago #15728

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

CT LAB ver 7.40 3 years 7 months ago #15731

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114

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

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.40 3 years 7 months ago #15733

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15734

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Again Thanks Sir
and always have fun.
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.40 3 years 7 months ago #15751

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15752

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

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.40 3 years 7 months ago #15753

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15754

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

CT LAB ver 7.40 3 years 7 months ago #15755

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
I will try that,

Thanks a lot!

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

CT LAB ver 7.40 3 years 7 months ago #15756

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15757

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Can you make a skeleton sample project, with the same configuration,
for LAB testing ?
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.40 3 years 7 months ago #15758

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15759

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Oh sorry,  old man's......

Give me time to test and report
PilotLogic Architect and Core Programmer

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.40 3 years 7 months ago #15760

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

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

Last edit: by Sternas Stefanos.

CT LAB ver 7.40 3 years 7 months ago #15761

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
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.

CT LAB ver 7.40 3 years 7 months ago #15762

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Please wait for next CT LAB release
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.40 3 years 7 months ago #15763

  • Vbxler
  • Vbxler's Avatar
  • Offline
  • Junior Member
  • Junior Member
  • Posts: 68
  • Thank you received: 4
Is there already a schedule for the next release?

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

CT LAB ver 7.40 3 years 7 months ago #15764

  • Sternas Stefanos
  • Sternas Stefanos's Avatar Topic Author
  • Offline
  • Moderator
  • Moderator
  • Ex Pilot, M.Sc, Ph.D
  • Posts: 4535
  • Thank you received: 1114
Yes
ETA 10-15 days
PilotLogic Architect and Core Programmer

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

CT LAB ver 7.40 3 years 7 months ago #15769

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
FreeBSD 13.0 in our LAB for tests...
PilotLogic Core Programmer

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

CT LAB ver 7.40 3 years 7 months ago #15770

  • Matis A.
  • Matis A.'s Avatar
  • Away
  • Moderator
  • Moderator
  • Posts: 1105
  • Thank you received: 161
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.