On Wed, Sep 13, 2017 at 8:09 AM, Matt Madison <matt@madison.systems> wrote:
> On Tue, Sep 12, 2017 at 12:21 PM, Khem Raj <raj.k...@gmail.com> wrote:
>> On Tue, Sep 12, 2017 at 12:20 PM, Otavio Salvador
>> <otavio.salva...@ossystems.com.br> wrote:
>>> On Tue, Sep 12, 2017 at 3:58 PM, Martin Jansa <martin.ja...@gmail.com> 
>>> wrote:
>>>> Seems like this version was already picked to master-next, so probably
>>>> better to leave as standalone change now.
>>>>
>>>> The version currently in master fails to build for arm with thumb enabled:
>>>> http://errors.yoctoproject.org/Errors/Details/155765/
>>>>
>>>> Is it fixed somewhere in this new patchset?
>>>>
>>>> # github.com/golang/dep/cmd/dep
>>>> TOPDIR/tmp-glibc/work/armv5te-oe-linux-gnueabi/go-dep/0.3.0-r0/recipe-sysroot-native/usr/lib/arm-oe-linux-gnueabi/go/pkg/tool/linux_amd64/link:
>>>> R_ARM_THM_CALL, are you using -marm?
>>>> WARNING: exit code 2 from a shell command.
>>>> ERROR: Function failed: do_compile (log file is located at
>>>> TOPDIR/tmp-glibc/work/armv5te-oe-linux-gnueabi/go-dep/0.3.0-r0/temp/log.do_compile.13531)
>>>
>>> No, it is not.
>>>
>>> It seems that Go, when using CGO, does not play nice with Thumb. Matt,
>>> do you know if there is a known fix for it?
>>
>> Disable CGO for thumb, we have a variable to select cgo
>
> Yeah, I don't think Go handles Thumb at all. Maybe we should set
> ARM_INSTRUCTION_SET to "arm" in goarch.bbclass?

I think we have a problem with dependencies. It is possibly a solution
but not sure it will work.

-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to