15. Nov 2017 23:54 by a...@wht.com.au:

> On 16/11/17 11:05, > tu...@posteo.de>  wrote:
>> Hi,
>>
>> building firefox 57.0 failed on my system - it looks like
>> the last stage (linking) fails.
>>
>> I attached the build.log to this mail.
>>
>> Is there a way around this?
>>
>> Cheers
>> Meino
>>
>
>
>       First thing I do when I have a problem with one of the larger apps,
> Firefox, Thunderbird, LibreOffice is enable the make feature, in
> make.conf, that keeps temp files around:
>
> FEATURES="ccache keeptemp keepwork candy"
>
> and then set the make options so that only one thread is doing stuff:
>
> MAKEOPTS="-j1"
>
> I just sometimes find that the build system gets a bit confused, with
> multiple threads, and the one thread "straightens" things out.
>
>       But then again, this might be a bug and I have no idea as to what I'm
> talking about.....
>
>       Andrew




if running  just one thread fixes it, it's probably a race condition, i.e. the 
multiple threads aren't on the same page all the time.  there's multiple 
processes and they aren't wiating/notifying  each other and one of them 
therefore gets data the other process is still chainging and there's no 
"interlock" to let the other process know or make them wait for eachother.  
obviously it's a bug of some sort and is hopefully being worked on.  having 
said that, compilers are very, very complicated, especially with "optimization" 
and RISC processors.  might also be a sort of cache incoherentcy.





 mad.scientist.at.large (a good madscientist)
--

Reply via email to