Building dev-cpp/clucene-2.3.3.4-r5 with gcc-6 fails at configure stage with: CMake Error at src/shared/cmake/MacroEnsureVersion.cmake:27 (MATH): math cannot parse the expression: "x86_646*10000 + x86_641*100 + x86_640": Proposed fix: https://sourceforge.net/u/hodorgasm/clucene/ci/b5a1b3488a72abd250cbd5d4dfbeac3e3739c237/tree/src/shared/cmake/MacroCheckGccVisibility.cmake?diff=e8e3d20f20da5ee3e37d347207b01890829a5475 Upstream merge request pending approval: https://sourceforge.net/p/clucene/code/merge-requests/1
Thanks. https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62998f5c488eb5b68c6fa8769db4be17bef1d262