[OE-core] go-runtime does not build for mips32r2 tune

Mark Hatle mark.hatle at windriver.com
Mon Sep 18 22:52:26 UTC 2017


On 9/18/17 5:50 PM, Matt Madison wrote:
> 
>> On 18 Sep 2017, at 2:11 PM, Slater, Joseph <joe.slater at windriver.com
>> <mailto:joe.slater at windriver.com>> wrote:
>>
>> This is the default tune for qemumips.  It appears that the problem does not
>> occur for an oe-core checkout just before the split creating go-runtime.
>>
>> Before the split, go-helloworld will build, but after the split it will not
>> because it needs go-runtime.
> 
> There’s a TUNE_CCARGS_remove in go_1.9.bb to remove the ‘-march=mips32r2’ flag
> that probably either needs to be moved to a .inc file or copied to
> go-runtime_1.9.bb.  Missed that when splitting out the runtime recipe.

That seems wrong.  We should be using the TUNE_CCARGS, and -not- using the
arguments that 'go' has decided must be right.

Otherwise the optimizations may or may not be compatible... and if someone
selects different arguments, they won't get filtered.

--Mark

> -Matt
>>
>> Joe
> 




More information about the Openembedded-core mailing list