http://llvm.org/bugs/show_bug.cgi?id=13867
Bug #: 13867
Summary: Resource explosion when compiling Firefox
Product: clang
Version: trunk
Platform: PC
OS/Version: All
Status: NEW
Severity: enhancement
Priority: P
Component: C++
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Classification: Unclassified
Created attachment 9227
--> http://llvm.org/bugs/attachment.cgi?id=9227
-emit-llvm output for PluginUtilsOSX.mm
When building Firefox with r163765, I get a resource explosion compiling the
following from mozilla-central (Firefox's main repository):
/usr/local/llvm/bin/clang++ -o PluginUtilsOSX.o -c -fvisibility=hidden
-DMOZILLA_INTERNAL_API -D_IMPL_NS_COM -DEXPORT_XPT_API -DEXPORT_XPTC_API
-D_IMPL_NS_GFX -D_IMPL_NS_WIDGET -DIMPL_XREAPI -DIMPL_NS_NET -DIMPL_THEBES
-DSTATIC_EXPORTABLE_JS_API -DEXCLUDE_SKIA_DEPENDENCIES -DOS_POSIX=1
-DOS_MACOSX=1 -DFORCE_PR_LOG
-I/Users/gps/src/services-central/dom/plugins/ipc/../base
-I/Users/gps/src/services-central/xpcom/base/
-I/Users/gps/src/services-central/ipc/chromium/src
-I/Users/gps/src/services-central/ipc/glue -I../../../ipc/ipdl/_ipdlheaders
-I/Users/gps/src/services-central/dom/plugins/ipc -I. -I../../../dist/include
-I/Users/gps/src/services-central/objdir/dist/include/nspr
-I/Users/gps/src/services-central/objdir/dist/include/nss -fPIC
-Qunused-arguments -Qunused-arguments -Wall -Wpointer-arith
-Woverloaded-virtual -Werror=return-type -Wtype-limits -Wempty-body
-Wno-ctor-dtor-privacy -Wno-overlength-strings -Wno-invalid-offsetof
-Wno-variadic-macros -Wno-c++0x-extensions -Wno-extended-offsetof
-Wno-unknown-warning-option -Wno-return-type-c-linkage -Wno-mismatched-tags
-fcolor-diagnostics -fno-exceptions -fno-strict-aliasing -fno-rtti
-ffunction-sections -fdata-sections -fno-exceptions -std=gnu++0x -pthread
-DNO_X11 -pipe -DNDEBUG -DTRIMMED -g -O3 -fomit-frame-pointer -DNO_X11
-I/Users/gps/src/services-central/objdir/dist/include/cairo -Qunused-arguments
-DMOZILLA_CLIENT -include ../../../mozilla-config.h -MD -MF
.deps/PluginUtilsOSX.o.pp -fobjc-exceptions
/Users/gps/src/services-central/dom/plugins/ipc/PluginUtilsOSX.mm
After a few seconds, clang++ is using 10+GB of memory.
-emit-llvm output attached.
It's possible this has been fixed in a newer LLVM/Clang revision. I'm building
HEAD now and should have something to report in under an hour.
--
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs