[Buildroot] [PATCH v2 1/7] package/sqlite: fix BUG_85180 build timeout

Giulio Benetti giulio.benetti at micronovasrl.com
Mon May 27 10:20:08 UTC 2019


Il 27/05/2019 11:46, Thomas Petazzoni ha scritto:
> On Mon, 27 May 2019 11:44:45 +0200
> Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:
> 
>> Il 27/05/2019 11:37, Thomas Petazzoni ha scritto:
>>> Hello,
>>>
>>> On Mon, 27 May 2019 11:06:06 +0200
>>> Giulio Benetti <giulio.benetti at micronovasrl.com> wrote:
>>>    
>>>>>> I cannot reproduce this timeout, and you don't have any autobuilder
>>>>>> failure. Could you provide a configuration that exhibits the failure ?
>>>>
>>>> Sure, the problems comes out building libnss with gcc4.9/5/6/7.
>>>> Here is pastebin of my savedefconfig:
>>>> https://pastebin.com/wmR8Dme3
>>>
>>> I still don't understand. You're mentioning libnss, but your defconfig
>>> does not have libnss enabled. Am I missing something ?
>>
>> Oh sorry, I use that defconfig and then I give:
>> "make libnss"
>>
>> that causes 85180.
> 
> But then what is the relationship with sqlite ? Your original patch,
> which I'm replying to, is about fixing a build timeout in sqlite.

Ah yes, sqlite is a dependency of libnss.
And now I've found that it happens only with Gcc 4.9
I've been confused because when compiling sqlite3.c file it takes a very 
long time with Gcc 5/6/7/8/9 and I thought they hanged.
Instead it hangs only with Gcc 4.9, so it's a different Gcc bug, not 85180.
Need to check in gcc bugzilla, otherwise I should submit a new bug.

Can you try to build and check it hangs with gcc 4.9 and building sqlite 
during compiling sqlite3.c ?
This is to double check.

Thank you
Best regards
-- 
Giulio Benetti
CTO

MICRONOVA SRL
Sede: Via A. Niedda 3 - 35010 Vigonza (PD)
Tel. 049/8931563 - Fax 049/8931346
Cod.Fiscale - P.IVA 02663420285
Capitale Sociale € 26.000 i.v.
Iscritta al Reg. Imprese di Padova N. 02663420285
Numero R.E.A. 258642


More information about the buildroot mailing list