Created attachment 558782 [details] build.log [...] /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/func_matrix_simd.inl:75:79: error: ‘glm::tmat4x4<float, (glm::precision)4>::col_type {aka struct glm::tvec4<float, (glm::precision)4>}’ has no member named ‘data’ glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data)); ^~~~ /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/func_matrix_simd.inl: In function ‘typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type glm::outerProduct(const vecTypeA<T, P>&, const vecTypeB<T, P>&) [with T = float; glm::precision P = (glm::precision)3; vecTypeA = glm::tvec4; vecTypeB = glm::tvec4; typename glm::detail::outerProduct_trait<T, P, colType, rowType>::type = glm::tmat4x4<float, (glm::precision)3>]’: /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/func_matrix_simd.inl:83:27: error: ‘const struct glm::tvec4<float, (glm::precision)3>’ has no member named ‘data’ glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data)); ^~~~ /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/func_matrix_simd.inl:83:35: error: ‘const struct glm::tvec4<float, (glm::precision)3>’ has no member named ‘data’ glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data)); ^~~~ /var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5/glm/detail/func_matrix_simd.inl:83:79: error: ‘glm::tmat4x4<float, (glm::precision)3>::col_type {aka struct glm::tvec4<float, (glm::precision)3>}’ has no member named ‘data’ glm_mat4_outerProduct(c.data, r.data, *reinterpret_cast<__m128(*)[4]>(&m[0].data)); ^~~~ make[2]: *** [glm/CMakeFiles/glm_dummy.dir/build.make:87: glm/CMakeFiles/glm_dummy.dir/detail/glm.cpp.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5_build' make[1]: *** [CMakeFiles/Makefile2:86: glm/CMakeFiles/glm_dummy.dir/all] Error 2 make[1]: Leaving directory '/var/tmp/portage/media-libs/glm-0.9.8.5-r1/work/glm-0.9.8.5_build' make: *** [Makefile:141: all] Error 2 * ERROR: media-libs/glm-0.9.8.5-r1::gentoo failed (compile phase): * emake failed
Created attachment 558784 [details] emerge --info
glm-0.9.9.2 and glm-0.9.9.3 just build fine but fail some tests (see bug #669638).
Same error in configure phase when building stable libreoffice against stable media-libs/glm-0.9.8.5-r1
I was affected by this bug when I compiled app-text/libetonyek. See Bug 678260. I guess it's related to GCC 7.4.0. I was able to compile media-libs/glm-0.9.8.5-r1 and app-text/libetonyek a couple of weeks ago with GCC 7.3.0 I switched to GCC 7.4.0 last week and now I get errors. But I'm not sure.
I can confirm that the problem IS related to GCC 7.4. Look at the Gentoo patch file files/glm-gcc73.patch. It contains a quirk for GCC 7.3, but not for GCC 7.4. I duplicated the quirk for 7.3 and changed "3" to "4". After that, I could emerge glm-0.9.8.5 with GCC 7.4.0 without a problem. Proposed solution: 1) EITHER add a quirk for GCC 7.4 to files/glm-gcc73.patch 2) OR Stabilize media-libs/glm-0.9.9.2 and drop glm-0.9.8.5
(In reply to Michael Hofmann from comment #5) > Look at the Gentoo patch file files/glm-gcc73.patch. It contains a quirk for > GCC 7.3, but not for GCC 7.4. I duplicated the quirk for 7.3 and changed "3" > to "4". After that, I could emerge glm-0.9.8.5 with GCC 7.4.0 without a > problem. Interesting! I did not check that. > Proposed solution: > 1) EITHER add a quirk for GCC 7.4 to files/glm-gcc73.patch > 2) OR Stabilize media-libs/glm-0.9.9.2 and drop glm-0.9.8.5 I vote for stabilizing 0.9.9.2 and ditching the gcc patch (at all). Would be the more straightforward solution. I could file a stabilization request.
> I vote for stabilizing 0.9.9.2 I agree. Please go ahead. Please note that Kicad has a dependency <=media-libs/glm-0.9.9.2 - so we should stabilize 0.9.9.2, not 0.9.9.3.
This version is no more in the tree