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

marius adrian popa mapopa at gmail.com
Fri May 12 09:05:55 UTC 2017


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

On Thu, May 11, 2017 at 1:01 PM, Tomaž Vajngerl <quikee at gmail.com> wrote:

> Hi,
>
> On Thu, May 11, 2017 at 10:17 AM, julien2412 <serval2412 at yahoo.fr> wrote:
> > Hello,
> >
> > I submitted a gerrit patch to bump Firebird to 3.0.2 (see
> > https://gerrit.libreoffice.org/#/c/37488/)
> > MacOs build fails on Jenkins with these logs:
> > In file included from
> > /Users/tdf/lode/jenkins/workspace/lo_gerrit/Config/
> macosx_clang_dbgutil/workdir/UnpackedTarball/firebird/src/
> common/CRC32C.cpp:34:
> > /Applications/Xcode.app/Contents/Developer/Toolchains/
> XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.1.0/
> include/nmmintrin.h:28:2:
> > error: "SSE4.2 instruction set not enabled"
> > #error "SSE4.2 instruction set not enabled"
> >  ^
> > /Users/tdf/lode/jenkins/workspace/lo_gerrit/Config/
> macosx_clang_dbgutil/workdir/UnpackedTarball/firebird/src/
> common/CRC32C.cpp:41:10:
> > error: use of undeclared identifier '_mm_crc32_u8'
> >                 return _mm_crc32_u8(hash_value, *value);
> > (idem with  _mm_crc32_u16 and  _mm_crc32_u32)
> >
> > Would it be possible to enable SSE4.2 on Jenkins MacOs machine or have we
> > got some compatibility constraint to fulfil?
>
> The file CRC32C.cpp must be compiled with compiler flag -msse4
> otherwise you get such a compile error - I'm not sure how we compile
> firebird but we will probably need to adapt this.
>
> > Julien
>
> Regards, Tomaž
> _______________________________________________
> LibreOffice mailing list
> LibreOffice at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20170512/4801771f/attachment.html>


More information about the LibreOffice mailing list