[vlc-devel] [PATCH 1/1] os2: package: fix build
KO Myung-Hun
komh78 at gmail.com
Tue Dec 19 12:48:32 CET 2017
-----
CCLD libvlccore.la
weakld: error: Unresolved symbol (UNDEF) '___atomic_fetch_add_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj
P:\tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_store_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
weakld: error: Unresolved symbol (UNDEF) '___atomic_load_8'.
weakld: info: The symbol is referenced by:
P:\tmp\ldconv_stats_o_85b55a37ad3f1df250.obj
Ignoring unresolved externals reported from weak prelinker.
Error! E2028: ___atomic_fetch_add_8 is an undefined reference
Error! E2028: ___atomic_store_8 is an undefined reference
Error! E2028: ___atomic_load_8 is an undefined reference
file P:/tmp\ldconv_decoder_o_85b55a37ad3f1d59f8.obj(ldconv_decoder_o_85b55a37ad3f1d59f8.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_es_out_o_85b55a37ad3f1d7938.obj(ldconv_es_out_o_85b55a37ad3f1d7938.obj): undefined symbol ___atomic_fetch_add_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_store_8
file P:/tmp\ldconv_stats_o_85b55a37ad3f1df250.obj(ldconv_stats_o_85b55a37ad3f1df250.obj): undefined symbol ___atomic_load_8
-----
---
extras/package/os2/configure.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extras/package/os2/configure.sh b/extras/package/os2/configure.sh
index 2f4c64eaa6..9ef82086e4 100644
--- a/extras/package/os2/configure.sh
+++ b/extras/package/os2/configure.sh
@@ -41,7 +41,7 @@ OPTIONS="
--enable-vlc
"
-export ARCHFLAGS=${ARCHFLAGS-"-march=i486"}
+export ARCHFLAGS=${ARCHFLAGS-"-march=i686"}
export CFLAGS="${CFLAGS} ${ARCHFLAGS} -std=gnu11"
export CXXFLAGS="${CXXFLAGS} ${ARCHFLAGS} -std=gnu++11"
export BUILDCC="gcc -std=gnu11"
--
2.13.3
More information about the vlc-devel
mailing list