[oe] [meta-oe][PATCH 1/1] leveldb: restrict building for mips64

Khem Raj raj.khem at gmail.com
Wed Mar 6 01:45:24 UTC 2019



On 3/5/19 5:35 PM, Kang Kai wrote:
> On 2019/3/6 上午9:22, Slater, Joseph wrote:
>> Yes, it only fails for multilib.  An unaupported instruction 
>> ("sync").  Kai Kang is sending a different patch, that is, I assume it 
>> is different.
> 
> It caused by default tune 'mips' which doesn't append option 
> '-march=mips32' to CXX. Compare to default tune 'mips32r2' of qemumips, 
> it appends '-march=mips32r2' to CXX.
> I'll send the patch for review.
> 

This is a problem in selection of base tunes for multilib then, your 
patch should check for mips to be DEFAULTTUNE and ignore it instead if 
ignoring it for mipsarcho32

> Regards,
> Kai
> 
> 
>>
>> Joe
>> ________________________________________
>> From: Khem Raj [raj.khem at gmail.com]
>> Sent: Monday, March 04, 2019 6:36 PM
>> To: Slater, Joseph
>> Cc: openembeded-devel
>> Subject: Re: [oe] [meta-oe][PATCH 1/1] leveldb: restrict building for 
>> mips64
>>
>> On Mon, Mar 4, 2019 at 3:51 PM Joe Slater <joe.slater at windriver.com> 
>> wrote:
>>> Do not try to build lib32-leveldb.  libn32-leveldb will build.
>>>
>>> Signed-off-by: Joe Slater <joe.slater at windriver.com>
>>> ---
>>>   meta-oe/recipes-dbs/leveldb/leveldb_git.bb | 4 ++++
>>>   1 file changed, 4 insertions(+)
>>>
>>> diff --git a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb 
>>> b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
>>> index 8fec89c..908ad3e 100644
>>> --- a/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
>>> +++ b/meta-oe/recipes-dbs/leveldb/leveldb_git.bb
>>> @@ -35,3 +35,7 @@ do_install() {
>>>
>>>   PACKAGES =+ "${PN}-ptest"
>>>   FILES_${PN}-ptest = "${bindir}"
>>> +
>>> +# Do not try to build lib32-leveldb for mips64, but allow 
>>> libn32-leveldb.
>>> +#
>>> +COMPATIBLE_HOST_mipsarcho32_pn-lib32-leveldb = "null"
>> does it fail just in multilib situation ?
>>
>>> -- 
>>> 2.7.4
>>>
>>> -- 
>>> _______________________________________________
>>> Openembedded-devel mailing list
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
> 
> 


More information about the Openembedded-devel mailing list