leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00217
[Bug 1388627] Re: clang++ unable to find strerror_s in msvcrt.dll on winxp/2k3
I'v update the wiki with my step and convert log.
i use cmake as follows
cmake -DCMAKE_INSTALL_PREFIX=/opt/cheerp -DCMAKE_BUILD_TYPE=Release -DLLVM_TARGETS_TO_BUILD="ARM;CheerpBackend;X86" ..
i made empty file named empty.cpp and call
clang++ -target cheerp -E -x c++ -v empty.cpp
the info is:
clang version 3.5.0
Target: cheerp--webbrowser
Thread model: posix
"C:\cheerp\bin\clang++.exe" -cc1 -triple cheerp--webbrowser -E -disable-free -d
isable-llvm-verifier -main-file-name empty.cpp -mrelocation-model static -mdisab
le-fp-elim -fmath-errno -no-integrated-as -mconstructor-aliases -v -resource-dir
"C:\\cheerp\\bin\\..\\lib\\clang\\3.5.0" -internal-isystem /opt/cheerp/include/
c++/v1 -internal-isystem "C:\\cheerp\\bin\\..\\lib\\clang\\3.5.0\\include" -inte
rnal-externc-isystem /opt/cheerp/include -internal-externc-isystem /opt/cheerp/i
nclude/client -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-di
r "C:\\JSExample" -ferror-limit 19 -fmessage-length 80 -mstackrealign -fno-rtti
-fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option -fcolor-dia
gnostics -vectorize-slp -o - -x c++ empty.cpp
clang -cc1 version 3.5.0 based upon LLVM 3.5.0svn default target i686-pc-win32
ignoring nonexistent directory "/opt/cheerp/include/c++/v1"
ignoring nonexistent directory "/opt/cheerp/include"
ignoring nonexistent directory "/opt/cheerp/include/client"
ignoring nonexistent directory "/opt/cheerp/include/common"
#include "..." search starts here:
#include <...> search starts here:
C:\cheerp\bin\..\lib\clang\3.5.0\include
End of search list.
# 1 "empty.cpp"
# 1 "<built-in>" 1
# 1 "<built-in>" 3
# 148 "<built-in>" 3
# 1 "<command line>" 1
# 1 "<built-in>" 2
# 1 "empty.cpp" 2
--
You received this bug notification because you are a member of
Leaningtech Team, which is subscribed to Cheerp.
https://bugs.launchpad.net/bugs/1388627
Title:
clang++ unable to find strerror_s in msvcrt.dll on winxp/2k3
Status in Cheerp: C++ for the Web:
Confirmed
Bug description:
clang++ got a error:
can't find strerror_s in msvcrt.dll
on win xp/2k3 32bit.
however it works well in win2k8R2 64bit.
I find a similar problem on other projects.
http://sourceforge.net/p/freemat/bugs/588/
FWIW
an bug report for Clang
http://sourceforge.net/p/mingw-w64/mailman/mingw-w64-public/thread/50F1AA11.3000600@xxxxxxxxx/
maybe a resolution
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20110131/115872.html
To manage notifications about this bug go to:
https://bugs.launchpad.net/cheerp/+bug/1388627/+subscriptions
References