[Gambas-user] Need help getting Gambas to run on an ARM module

PICCORO McKAY Lenz mckaygerhard at gmail.com
Fri Dec 1 14:11:30 CET 2017


2017-11-30 20:57 GMT-04:00 Bruce Cunningham <bcunningham at sportif.com>:

> It’s like the Gambas binaries are broken?  I don’t know who maintains the
> Gambas builds for the armhf architecture.
>
for sure, as i search and noted yesterday, seems gambas binary does not
have been well tested in arm.. i mean the packages..

also noted try to compile by yourselft, i read in your previous mails:
So, I installed all of the dependencies, and checked out version 3.9 from
the SVN repository.  It seemed to compile without too many issues (just
some warnings that didn’t seem like much).  When I launch that version I
get “illegal instruction”.
compiles well but got a ilegal instruction, i think its a clear bug inside
gambas comilation, in some place the arch are not correctly passed to the
compiler.

in that case, please fill a gambas bug in gambas bugtracker, and later then
answer this mail here with detailed compilation environment and complete
log attached to see what happened ! (also attach the same output in the bug
report)

there's any other here that have some degree experience in arm building
gambas?


>
>
> Bruce
>
>
>
> Bruce Cunningham
>
> bcunningham at sportif.com
>
>
>
> *From:* User [mailto:user-bounces at lists.gambas-basic.org] *On Behalf Of *PICCORO
> McKAY Lenz
> *Sent:* Thursday, November 30, 2017 4:33 PM
>
> *To:* Gambas Mailing List
> *Subject:* Re: [Gambas-user] Need help getting Gambas to run on an ARM
> module
>
>
>
> yoiur cpu its not mali, the real cpu for you are the
> https://en.wikipedia.org/wiki/ARM_Cortex-A7
>
> here a table comparison https://en.wikipedia.org/wiki/
> Comparison_of_ARMv7-A_cores
>
> now lets see the (unfortunatelly) wiki for that:
>
> https://wiki.debian.org/InstallingDebianOn/Allwinner#
> Installing_on_systems_that_are_not_supported_out_of_the_box
>
> ARMv7-A its the real cpu of you, but the all winner seems has issues on
> installer, your debian arch must be armhf that was released by firts time
> with wheeze
>
> please are the debian arch flavor the armhf do you installed? do you used
> the correct device tree?
>
> also i noted that gambas are not enought tested on arm platforms,
> inclusivelly in the bugtracker i can see that developers does not have
> hardware to test... so i think many bugs are still present for arm
>
>
> Lenz McKAY Gerardo (PICCORO)
>
> http://qgqlochekone.blogspot.com
>
>
>
> 2017-11-30 13:23 GMT-04:00 Bruce Cunningham <bcunningham at sportif.com>:
>
> Piccoro,
>
>
>
> The device is like a Raspberry PI, but uses an Allwinner SOC instead of
> the Broadcom SOC.  The processor is an ARM Cortex A7 dual core with the
> Mali400 GPU.
>
>
>
> Here is a link to the device:
>
> https://www.itead.cc/development-platform/arm/itead-core-aw204x.html
>
>
>
> I hope this helps.
>
>
>
> Bruce
>
>
>
> Bruce Cunningham
>
> bcunningham at sportif.com
>
>
>
> *From:* User [mailto:user-bounces at lists.gambas-basic.org] *On Behalf Of *PICCORO
> McKAY Lenz
> *Sent:* Thursday, November 30, 2017 4:28 AM
> *To:* Gambas Mailing List
> *Subject:* Re: [Gambas-user] Need help getting Gambas to run on an ARM
> module
>
>
>
>
>
>
>
> apt-get install gambas3”.  It installs, but will not launch.  If I try to
> invoke it from the command line, it just hangs.  No error message, just
> hangs until I do ctrl-C.  I tried to build it from source, but encountered
> a number of errors, and never could get a full build.
>
> in this case seems the arch are not the same.. please report the exact
> hardware you are in use, i remenber that in debian theres a new floavor ofr
> arm devices
>
>
>
>
>
> So, I found a build of Armbian (xenial) with a GUI that seems to work very
> well for this board.  Much better OS build.  I installed Gambas with “sudo
> apt-get install gambas3”, and it installed Gambas 3.8 (ubuntu armhf).  When
> I launch it, I get “segmentation fault”.  So, I installed all of the
> dependencies, and checked out version 3.9 from the SVN repository.  It
> seemed to compile without too many issues (just some warnings that didn’t
> seem like much).  When I launch that version I get “illegal instruction”.
>
> this confirm that the arch are not same, a possible could be that you are
> in multiarch mode and try to run a different arch, take in consideration
> that now in debian we can mix different archs
>
>
>
>
>
> At this point I figured I would try compiling version 3.6 instead.  In
> this case, Make fails with “main.cpp:31:21: fatal error QDateTime: No such
> file or directory. Compilation terminated’.
>
> this its a common qt4 vs qt5 dependency problem the qt installed are
> incomplete, you must revise packages and disable qt5 modules in gambas,
> install complete qt4 modules and then setupd with update-alternatives the
> qt environment correctly
>
>
>
>
>
> I’m really more of a hardware guy, and I’m trying to build an embedded
> device based on this module.  I’m a long time vb6/vb.net person, and
> would really like to get Gambas working so as to avoid working in C.
>
> its a common guindows problems, your cup are full of win32 knowlegde..
>
> seems the problem in your case its a very older arm class hardware,
>
> please can you report exact model in use for that?
>
>
>
>
>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List
> https://lists.gambas-basic.org/listinfo/user
>
> Hosted by https://www.hostsharing.net
>
>
>
>
> --------------------------------------------------
>
> This is the Gambas Mailing List
> https://lists.gambas-basic.org/listinfo/user
>
> Hosted by https://www.hostsharing.net
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20171201/34a2ef42/attachment.html>


More information about the User mailing list