Closed ffontaine closed 3 years ago
Build with i386-pentium-mmx or i686 is broken since version 5-3-128 and https://github.com/steve-o/openpgm/commit/b276dc15be5d4e6e1143b9de25d09f63f9c85135 because _mm_cvtm64_si64 is undefined resulting in the following build failure for example on zeromq:
_mm_cvtm64_si64
/srv/storage/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/i586-buildroot-linux-musl/8.3.0/../../../../i586-buildroot-linux-musl/bin/ld: /srv/storage/autobuild/run/instance-3/output-1/host/i586-buildroot-linux-musl/sysroot/usr/lib32/libpgm-5.3.so.0: undefined reference to `_mm_cvtm64_si64'
So use the fallback if __x86_64__ is not defined
__x86_64__
Fixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com
Build with i386-pentium-mmx or i686 is broken since version 5-3-128 and https://github.com/steve-o/openpgm/commit/b276dc15be5d4e6e1143b9de25d09f63f9c85135 because
_mm_cvtm64_si64
is undefined resulting in the following build failure for example on zeromq:So use the fallback if
__x86_64__
is not definedFixes:
Signed-off-by: Fabrice Fontaine fontaine.fabrice@gmail.com