Closed
Bug 662188
Opened 13 years ago
Closed 13 years ago
Lots of warnings linking to XPCOM symbols
Categories
(MailNews Core :: Build Config, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
Details
Attachments
(1 file)
16.00 KB,
patch
|
standard8
:
review+
|
Details | Diff | Splinter Review |
We link most of mailnews into libxul but this means that we can use the unexported versions of xpcom symbols. However the Makefiles don't know that.
Assignee | ||
Comment 1•13 years ago
|
||
Comment 2•13 years ago
|
||
Comment on attachment 537477 [details] [diff] [review] Proposed patch I've been wondering what's been causing this. I guess the only real affect is the warnings? (i.e. no perf/other implications)?
Attachment #537477 -
Flags: review?(mbanner) → review+
Assignee | ||
Comment 3•13 years ago
|
||
LNK4049 - Like LNK4217 but only applies to PGO/incremental links where the name of the source file has been thrown away before the warning is generated. LNK4217 - Linking to symbol defined as dllimport. dllimport makes linking to a symbol in another module more efficient because the compiler goes straight to the imported function address table instead of via the convenience stub provided in the import library. Call to internal function: call Foo Naive call to symbol in another module: call Foo Plus convenience stub in import library Foo: jmp [__imp__Foo] [Note that taking the address of Foo gives you a bogus address.] Smart call to symbol in another module: call [__imp__Foo] Bogus dllimport call call [__imp_Foo] Plus linker-created stub __imp_Foo: dd Foo The linker can sometimes simplify this to call Foo nop ; call is one byte shorter than call[]
Assignee | ||
Comment 4•13 years ago
|
||
Pushed changeset 2aaa39c691fe to comm-central.
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•