[QGIS-Developer] QGIS 3.8.0 on FreeBSD: build takes several hours

Matthias Kuhn matthias at opengis.ch
Thu Jul 11 22:54:08 PDT 2019


Hi Rainer,

There has been a question for a minimal example to reproduce the problem 
on the bugreport.

I have come up with 
https://github.com/m-kuhn/qmap_initializer_compile_time but don't easily 
have an environment available to reproduce the problem. Are you able to 
verify the issue with the code before, so it can confidently attached to 
the issue?

Thanks
Matthias

On 7/6/19 8:52 AM, Rainer Hurling wrote:
> Hi Matthias,
>
> Thanks for keeping this up.
>
> It sounds like OSX hits the same problem with LLVM 8.0.0.
>
> Rainer
>
>
> Am 05.07.19 um 10:45 schrieb Matthias Kuhn:
>> FYI,
>>
>> An upstream bug has been closed on Qt side
>>
>> https://bugreports.qt.io/browse/QTBUG-57672
>>
>> I didn't find a matching one on LLVM side so I opened one
>>
>> https://bugs.llvm.org/show_bug.cgi?id=42515
>>
>> Matthias
>>
>> On 6/26/19 11:50 AM, Loïc Bartoletti wrote:
>>> Hi rainer,
>>>
>>> Le 26/06/2019 à 11:23, Rainer Hurling a écrit :
>>>>> - can you try with llvm 6 or 7 from ports (I think that FreeBSD 13
>>>>> have llvm 8 by default)?
>>>> Loïc, this seems to be the right approach. With llvm 8 and 7 the
>>>> build fails, with llvm 6 all builts fine!
>>>>
>>>> As a fallback (workaround), I could enforce the port to use llvm 6,
>>>> until the real cause is found.
>>> You should fill an issue to our bugzilla. Maybe llvm or core dev can
>>> take a look at this bug? AFAIK, Ed found already an error (not
>>> reproduced?) in FreeBSD devel with newest llvm version.
>>>> The problem seems to be with
>>>> src/core/qgscoordinatereferencesystem_legacy.h and its long table,
>>>> handled via QMap. Obviously, newer llvm versions (7 and 8) are not
>>>> able to create the code correctly.
>>>>
>>> I'll test with newer llvm version but on FreeBSD 12.
>>>
>>> It doesn't seem to affect Linux, since Docker is based on Ubuntu 19.04
>>> and clang 8 if I'm not mistaken. Nyall, Denis, can you confirm?
>>>
>>> Regards
>>>
>>> Loïc
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>


More information about the QGIS-Developer mailing list