GO is a programming language from Google.
GO allows to cross compile its programs to Linux based platforms.
GO programs are compiled down to target platform machine code.

As the base of RDK-B seems to be linux, is it safe to assume that, the GO compiled program binaries will run normally on RDK-B?

does RDK-B officially support GO Lang compiled binaries?

  • No labels

5 Comments

  1. Hi Z-Nitin Patet


    RDK officially doesn't support GO language compatibility but you may always try GO binaries as most RDKM code bases are based on Yocto open-embedded builds and the binaries work out of the box


    Thanks,

    Swamy

  2. hi,

    we observe that, the openembedded-core layer in RDKB (latest release) doesn't contain the GO recipe. 


    where as http://git.openembedded.org/openembedded-core/ has been supporting GO recipe since long.
    the recipe is present at: meta/recipes-devtools/go/

    i do see it in the master branch though: https://code.rdkcentral.com/r/plugins/gitiles/rdk/components/opensource/oe/openembedded-core/+/refs/heads/master/meta/recipes-devtools/go/

    but, it doesn't appear in the RDKB Latest release.

    can you please help here?


    regards

    Nitin

  3. Hi Z-Nitin Patet,

    The open-embedded repo in rdk is just a clone of open-embedded original repo . Since the morty branch of open-embedded repo doesnt have go language support in it ( http://git.openembedded.org/openembedded-core/tree/meta/recipes-devtools?h=morty ), the morty branch of open-embedded rdk repo also doesnt have the support.

  4. hi,

    Thanks Narayanaswamy Ramaiyer.
    But, we want to build a GO Application on top of RDKB and this is blocking us.
    we will need this GO recipe to build the Application.

    can you please help us, how do you think we should progress here?
    is there a different branch of stable RDKB we can work on, where this GO recipe is present?

    we did try to replace the openembedded-core (folder) with the latest version from the https://github.com/openembedded/openembedded-core
    but we ended up with lot other dependency issues.


    Will RDKB move to a different branch of openembedded-core which will have GO recipe in the near future?

    regards
    Nitin

    1. Hi Z-Nitin Patet,

      Currently RDK doenst have an immediate roadmap item to move to a different open-embedded branch. Your best bet is to add the recipes for go language( and any dependencies mentioned in those recipes ) to your build stack and try building. 

      You need to

      • add those recipes to your meta layer
      • add those components to the package group file in your meta layer
      • try compiling the component individually using bitbake
      • once the above step is fine, try making a full build