Closed
Bug 609431
Opened 15 years ago
Closed 15 years ago
LNK4221 MSVC build warnings in js/src/ (object file does not define any previously undefined public symbols)
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
FIXED
mozilla9
People
(Reporter: RyanVM, Assigned: emorley)
References
(Blocks 1 open bug)
Details
(Whiteboard: [build_warning])
Attachments
(1 file)
|
2.96 KB,
patch
|
khuey
:
review+
|
Details | Diff | Splinter Review |
This warning appeared in MSVC builds after a recent TM merge.
ExecutableAllocatorPosix.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
RegAlloc.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
jsinvoke.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
jsgcstats.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
| Reporter | ||
Updated•15 years ago
|
Whiteboard: [build_warning]
| Assignee | ||
Updated•15 years ago
|
Blocks: buildwarning
| Assignee | ||
Comment 1•15 years ago
|
||
Building locally with MSVC2010 using http://hg.mozilla.org/integration/mozilla-inbound/rev/f827e9173fea , I still get:
ExecutableAllocatorOS2.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#428
- File: http://mxr.mozilla.org/mozilla-central/source/js/src/assembler/jit/ExecutableAllocatorOS2.cpp
ExecutableAllocatorPosix.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#426
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#1050
- File: http://mxr.mozilla.org/mozilla-central/source/js/src/assembler/jit/ExecutableAllocatorPosix.cpp
Logging.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#431
- File: http://mxr.mozilla.org/mozilla-central/source/js/src/methodjit/Logging.cpp
RegAlloc.obj : warning LNK4221: This object file does not define any previously undefined public symbols, so it will not be used by any link operation that consumes this library
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#294
- Include: http://mxr.mozilla.org/mozilla-central/source/js/src/Makefile.in#309
- File: http://mxr.mozilla.org/mozilla-central/source/js/src/nanojit/RegAlloc.h
- File: http://mxr.mozilla.org/mozilla-central/source/js/src/nanojit/RegAlloc.cpp
I'm presuming this just needs a bunch of platform specific ifdefs in js/src/Makefile.in to prevent them being included unnecessarily.
| Assignee | ||
Comment 2•15 years ago
|
||
Adds a few OS and also MOZ_DEBUG specific ifdefs to js/src/Makefile.in to stop including files that don't do anything on certain platforms/when not building debug.
Builds fine locally (MSVC 2010) with the comment 1 warnings no longer showing; sent to try:
https://tbpl.mozilla.org/?tree=Try&usebuildbot=1&rev=590f59544006
| Assignee | ||
Updated•15 years ago
|
Flags: in-testsuite-
Summary: warning LNK4221 after recent TM merge → LNK4221 MSVC build warnings in js/src/ (object file does not define any previously undefined public symbols)
Attachment #560785 -
Flags: review?(khuey) → review+
| Assignee | ||
Comment 3•15 years ago
|
||
Target Milestone: --- → mozilla9
| Assignee | ||
Comment 4•15 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•