You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The library can't be built as-is on AArch64 or other non-x86 architectures because of the -msse3 flag in Makefile.am. This flag is only available for x86. The build system should check the host architecture to determine if this flag should be used. I don't understand autotools very well but from what I've gathered such a check would need to take place in configure.ac of the main project, something like:
index 66faaa09e..93cf931e7 100644
--- a/configure.ac+++ b/configure.ac@@ -30,6 +30,7 @@ test "$prefix" = NONE && prefix=/usr/local
case "$host" in
i686-apple-*)
AC_DEFINE(ARCH_X86_32, 1, [architecture is x86 on OSX])
+ SSE_FLAGS="-msse3"
LIB="static-deps/lib-x86-32-apple"
YASM_FLAGS="-f macho32 -D ARCH_X86_32 -m x86 -DPREFIX"
APE_USE_YASM=yes
@@ -37,6 +38,7 @@ case "$host" in
;;
x86_64-apple-*)
AC_DEFINE(ARCH_X86_64, 1, [architecture is x86_64 on OSX])
+ SSE_FLAGS="-msse3"
LIB="static-deps/lib-x86-64-apple"
YASM_FLAGS="-f macho64 -D ARCH_X86_64 -m amd64 -DPIC -DPREFIX"
APE_USE_YASM=yes
@@ -44,12 +46,14 @@ case "$host" in
;;
i386-*-* | i486-*-* | i586-*-* | i686-*-* | i86pc-*-*)
AC_DEFINE(ARCH_X86_32, 1, [architecture is x86])
+ SSE_FLAGS="-msse3"
LIB="static-deps/lib-x86-32"
YASM_FLAGS="-f elf -D ARCH_X86_32 -m x86"
APE_USE_YASM=yes
;;
x86_64-*-* | amd64-*-*)
AC_DEFINE(ARCH_X86_64, 1, [architecture is x86_64])
+ SSE_FLAGS="-msse3"
The library can't be built as-is on AArch64 or other non-x86 architectures because of the
-msse3
flag inMakefile.am
. This flag is only available for x86. The build system should check the host architecture to determine if this flag should be used. I don't understand autotools very well but from what I've gathered such a check would need to take place inconfigure.ac
of the main project, something like:and a corresponding change in
Makefile.am
here:The text was updated successfully, but these errors were encountered: