3/21/2018 10:24 AM | |
Joined: 12/12/2016 Last visit: 4/8/2024 Posts: 640 Rating:
|
What version of golang are you using? Check https://github.com/siemens/go As for now there are two branches with fixes, one for 1.6 and another for version 1.8 Edit: To me it appears that you installed golang 1.9.2 over meta-golang. If I was you I would build an image without IMAGE_INSTALL_append "golang" and just try to install golang from these sources: https://github.com/siemens/go/tree/jan/quark-go1.8 using these commands on the IOT:
|
Last edited by: Fe_lipe at: 3/21/2018 10:59:02 AM |
|
3/21/2018 11:22 AM | |
Posts: 5 Rating:
|
Ok, thank you Ill try to download directly the git Siemens go 1.8 branch directly to compile in IOT2020. Thank you |
3/21/2018 11:27 AM | |
Posts: 5 Rating:
|
Yesterday I tried for cross compiling using Ubuntu LTS 16.04 I have yocto. 2.2.2, My current "kas.yml" added used to create my last image Also yesterday I was digging more it and found git Siemens go, I cloned branches 1.6 and 1.8, I tried to compile 1.6 using a toolchain go1.4 from meta-golang after some trials/ fail related to go tests during compiling (I modified two sources go files published in golang git to skip test functions with t.skip(". go way..") ), so then I got compiled bin/linux_386/go and fmt The line used to build was: "GOOS=linux GOARCH=386 GO368=quark ./all.bash" I copied go binary to iot2020 trying to run but still I got "This program can only be run on processors with MMX support." Now thinking Im not sure if I have to patch the sources or something Im missing.....:-( Some additional info and thank you for assist me attached as file.
Attachmentiot2020 golang crosscompiling failed .txt (177 Downloads) |
Last edited by: doutdex at: 3/21/2018 11:28:11 AMLast edited by: doutdex at: 3/21/2018 11:32:28 AM |
|
Follow us on