[vlc-commits] os2: package: fix build

KO Myung-Hun git at videolan.org
Fri Dec 22 16:47:53 CET 2017


vlc/vlc-3.0 | branch: master | KO Myung-Hun <komh78 at gmail.com> | Tue Dec 19 20:48:32 2017 +0900| [9ab3615deb88bdc067713cbfba2009757a93bc27] | committer: Rémi Denis-Courmont

os2: package: fix build

-----
  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
-----

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

(cherry picked from commit d5c86c91a2700618d97916103e854a46c1bd5e32)

Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=9ab3615deb88bdc067713cbfba2009757a93bc27
---

 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"



More information about the vlc-commits mailing list