leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00233
[Bug 1388627] Re: clang++ unable to find strerror_s in msvcrt.dll on winxp/2k3
i can't generate libc.bc etc. for lastest version,because the makefile and .sh is only for Linux.
can you give me the lastest *.bc of libs?
I generate 1.0 execute files with "cheerp-llvm-clang-1.0.tar.gz"
and get a error
llvm-link.exe: linked module is broken!
C:\cheerp\bin\clang++.exe -v -target cheerp example.cpp -o example.js
clang version 3.5.0
Target: cheerp--webbrowser
Thread model: posix
"C:\cheerp\bin\clang++.exe" -cc1 -triple cheerp--webbrowser -emit-llvm-bc -disa
ble-free -disable-llvm-verifier -main-file-name example.cpp -mrelocation-model s
tatic -mdisable-fp-elim -fmath-errno -no-integrated-as -mconstructor-aliases -v
-resource-dir "C:\\cheerp\\bin\\..\\lib\\clang\\3.5.0" -internal-isystem c:/chee
rp/include/c++/v1 -internal-isystem "C:\\cheerp\\bin\\..\\lib\\clang\\3.5.0\\inc
lude" -internal-externc-isystem c:/cheerp/include -internal-externc-isystem c:/c
heerp/include/client -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compila
tion-dir "C:\\JSExample" -ferror-limit 19 -fmessage-length 80 -mstackrealign -fn
o-rtti -fno-threadsafe-statics -fobjc-runtime=gcc -fdiagnostics-show-option -fco
lor-diagnostics -vectorize-slp -o "C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\examp
le-8063a9.o" -x c++ example.cpp
clang -cc1 version 3.5.0 based upon LLVM 3.5.0svn default target i686-pc-win32
#include "..." search starts here:
#include <...> search starts here:
c:/cheerp/include/c++/v1
C:\cheerp\bin\..\lib\clang\3.5.0\include
c:/cheerp/include
c:/cheerp/include/client
c:/cheerp/include/common
End of search list.
"C:\cheerp\bin\llvm-link.exe" -o "C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\examp
le-f8ca27.bc" "C:\\DOCUME~1\\ADMINI~1\\LOCALS~1\\Temp\\example-8063a9.o" c:/chee
rp/lib/libc.bc c:/cheerp/lib/libm.bc c:/cheerp/lib/libc++.bc c:/cheerp/lib/libcx
xabi.bc
C:\cheerp\bin\llvm-link.exe: linked module is broken!
clang++.exe: error: linker command failed with exit code 1 (use -v to see invoca
tion)
--
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:
In Progress
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