Closed
Bug 236269
Opened 21 years ago
Closed 21 years ago
--enable-trace-malloc is broken
Categories
(Core :: Layout, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: timeless, Assigned: timeless)
Details
Attachments
(1 file, 1 obsolete file)
521 bytes,
patch
|
dbaron
:
review+
dbaron
:
superreview+
|
Details | Diff | Splinter Review |
my mozconfigs have:
ac_add_options --enable-trace-malloc
The build fails linking layout.
Attachment #142794 -
Flags: review?(dbaron)
What's the error?
Building deps for /cygdrive/r/mozilla/layout/build/nsContentHTTPStartup.cpp
nsContentHTTPStartup.cpp
LINK : warning LNK4224: /PDB:NONE is no longer supported; ignored
Creating library gklayout.lib and object gklayout.exp
LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs;
use /NODEFAULTLIB:library
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocDisable referenced in fu
nction "int __cdecl TraceMallocDisable(struct JSContext *,struct JSObject
*,unsigned int,long *,long *)" (?TraceMallocDi
sable@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocEnable referenced in fun
ction "int __cdecl TraceMallocEnable(struct JSContext *,struct JSObject
*,unsigned int,long *,long *)" (?TraceMallocEnab
le@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocChangeLogFD referenced i
n function "int __cdecl TraceMallocChangeLogFD(struct JSContext *,struct
JSObject *,unsigned int,long *,long *)" (?Trace
MallocChangeLogFD@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocCloseLogFD referenced in
function "int __cdecl TraceMallocCloseLogFD(struct JSContext *,struct JSObject
*,unsigned int,long *,long *)" (?TraceMa
llocCloseLogFD@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocLogTimestamp referenced
in function "int __cdecl TraceMallocLogTimestamp(struct JSContext *,struct
JSObject *,unsigned int,long *,long *)" (?Tra
ceMallocLogTimestamp@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
jsdombase_s.lib(nsJSEnvironment.obj) : error LNK2019: unresolved external symbol
_NS_TraceMallocDumpAllocations referenc
ed in function "int __cdecl TraceMallocDumpAllocations(struct JSContext *,struct
JSObject *,unsigned int,long *,long *)"
(?TraceMallocDumpAllocations@@YAHPAUJSContext@@PAUJSObject@@IPAJ2@Z)
gklayout.dll : fatal error LNK1120: 6 unresolved externals
make[1]: *** [gklayout.dll] Error 96
Comment on attachment 142794 [details] [diff] [review]
Link against tracemalloc
How about just doing what the old dom/src/build/Makefile.in did, which is:
ifdef NS_TRACE_MALLOC
EXTRA_DSO_LIBS += tracemalloc
endif
Attachment #142794 -
Flags: review?(dbaron)
Attachment #142794 -
Attachment is obsolete: true
Attachment #142998 -
Flags: review?(dbaron)
Attachment #142998 -
Flags: superreview+
Attachment #142998 -
Flags: review?(dbaron)
Attachment #142998 -
Flags: review+
mozilla/layout/build/Makefile.in 1.107
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•