MacOS build fail "SSE4.2 instruction set not enabled"

Tomaž Vajngerl quikee at gmail.com
Fri May 12 10:10:32 UTC 2017


Hi,

On Fri, May 12, 2017 at 11:05 AM, marius adrian popa <mapopa at gmail.com> wrote:
> Known issue in Firebird 3.0.x
>
> http://firebird.1100200.n4.nabble.com/std-c-11-added-to-CXXFLAGS-in-3-0-on-linux-td4645224.html
>
> introduced by this commit
>
> https://github.com/FirebirdSQL/firebird/commit/52d9a05a0f3d
>

They would need to add something like "%/CRC32C.o: COMMON_FLAGS +=
-msse4" to prefix.darwin too (clang should have compatible switches)

For Windows It is complicated as it depends if the particular VS
version supports the instructions or not, but you need to add some
compile switch too...

That's only for compiler - in addition you also need run-time
detection, but I see this is already covered by SSE4_2Supported()
method.

Regards, Tomaž


More information about the LibreOffice mailing list