<div dir="ltr"><div><div><div>Thanks for the pointer, Chris. Indeed:<br><br>~> gcc --version<br>gcc (SUSE Linux) 4.8.5<br><br></div>I will chack again in two months with the new version (openSUSE 15). For now I will live with QGIS 2.18.17 just fine.<br><br></div>Best,<br><br></div>H.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 9, 2018 at 7:32 PM, ceholden <span dir="ltr"><<a href="mailto:ceholden+QGIS@gmail.com" target="_blank">ceholden+QGIS@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
<br>
I encountered this same error trying to compile and package QGIS 3.0 within<br>
the "conda-forge" community channel of the Anaconda Python distribution, but<br>
only when using GCC 4.8 (4.8.5, specifically). Pretty sure I have to stick<br>
with GCC 4.8 for now within this build environment, but I did not encounter<br>
this issue when using GCC 7.2 or 7.3. I switched out to gcc 7.2, keeping all<br>
the other dependencies/etc the same, and can compile and run QGIS without<br>
issue.<br>
<br>
I don't know my way around SUSE, but it looks like the "gcc" package for<br>
openSUSE Leap 42.3 is version 4.8<br>
(<a href="https://software.opensuse.org/package/gcc" rel="noreferrer" target="_blank">https://software.opensuse.<wbr>org/package/gcc</a>). Assuming HernĂ¡n is using the<br>
"gcc" package (and not "gcc6" or "gcc7", and thus would be using gcc 4.8.x),<br>
then this could narrow down the issue and help explain why it hasn't come up<br>
elsewhere. I'm unfortunately clueless about the GCC history and not much of<br>
a C++ person, so I'm not sure where to go from here, beyond eventually<br>
upgrading gcc, but would be happy to test patches/compilation options/etc.<br>
<br>
Here's a link to a Gist with the output from cmake and the failed make step,<br>
either using Make and Ninja (Ninja shows<br>
<br>
Make:<br>
<a href="https://gist.github.com/ceholden/b6179d58e17f983ce6f29b32531bb4fa#file-qgis3-0_gcc4-8_make_fail" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>ceholden/<wbr>b6179d58e17f983ce6f29b32531bb4<wbr>fa#file-qgis3-0_gcc4-8_make_<wbr>fail</a><br>
Ninja:<br>
<a href="https://gist.github.com/ceholden/b6179d58e17f983ce6f29b32531bb4fa#file-qgis3-0_gcc4-8_ninja_fail" rel="noreferrer" target="_blank">https://gist.github.com/<wbr>ceholden/<wbr>b6179d58e17f983ce6f29b32531bb4<wbr>fa#file-qgis3-0_gcc4-8_ninja_<wbr>fail</a><br>
<br>
Best,<br>
Chris<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.<wbr>nabble.com/QGIS-Developer-<wbr>f4099106.html</a><br>
<div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/<wbr>mailman/listinfo/qgis-<wbr>developer</a></div></div></blockquote></div><br></div>