[LLVMbugs] [Bug 8916] New: clang tot takes a long, long time (maybe forever) to compile Cryptopp's sha.cpp
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Wed Jan 5 09:59:30 PST 2011
http://llvm.org/bugs/show_bug.cgi?id=8916
Summary: clang tot takes a long, long time (maybe forever) to
compile Cryptopp's sha.cpp
Product: clang
Version: trunk
Platform: Macintosh
OS/Version: MacOS X
Status: NEW
Severity: normal
Priority: P
Component: LLVM Codegen
AssignedTo: unassignedclangbugs at nondot.org
ReportedBy: mclow at qualcomm.com
CC: llvmbugs at cs.uiuc.edu
Created an attachment (id=5962)
--> (http://llvm.org/bugs/attachment.cgi?id=5962)
Preprocessed source code for sha.cpp
When trying to compile CryptoPP <http://www.cryptopp.com>, there was a file
that appeared to hang the compiler. I don't know for sure, but I got impatient
and killed it after 30 minutes.
This was done with clang/llvm built from revision 122872
attached file was created via:
clang++ -Wno-tautological-compare -DNDEBUG -g -DCRYPTOPP_DISABLE_ASM -E
sha.cpp > sha.i
Here are some timings:
$ time clang++ -Wno-tautological-compare -DNDEBUG -g -arch x86_64 -arch
i386 -DCRYPTOPP_DISABLE_ASM -pipe -fsyntax-only sha.cpp
real 6.234s
$ time clang++ -Wno-tautological-compare -DNDEBUG -g -arch x86_64 -arch
i386 -DCRYPTOPP_DISABLE_ASM -pipe -c sha.cpp
real 7.863s
$ time clang++ -Wno-tautological-compare -DNDEBUG -g -O1 -arch x86_64 -arch
i386 -DCRYPTOPP_DISABLE_ASM -pipe -c sha.cpp
real 17.882s
$ time clang++ -Wno-tautological-compare -DNDEBUG -g -O2 -arch x86_64 -arch
i386 -DCRYPTOPP_DISABLE_ASM -pipe -c sha.cpp
.... long, long time; I killed it after 30 minutes.
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list