Closed
Bug 528903
Opened 16 years ago
Closed 16 years ago
Stub reports missing Microsoft CRT DLL
Categories
(Mozilla Labs :: Prism, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: matthew.gertner, Assigned: matthew.gertner)
Details
Attachments
(1 file)
|
381 bytes,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
When the Prisms stub is run on Windows, it reports that MSVCR80.DLL is missing using a modal dialog. Once the dialog is closed, the app starts normally. The same thing occurs when building with VS 2008 except it reports MSVCR90.DLL is missing.
| Assignee | ||
Comment 1•16 years ago
|
||
The problem is that the stub links to the CRT statically. This means that the DLL dependencies are not added to the stub manifest. If the stub loads Mozilla DLLs dynamically that have DLL dependencies on the CRT (e.g. NSPR), the problem ensues. Specifically, the Prism binary components have NSPR dependencies and thus depend indirectly on the CRT DLLs. This patch specifies that the stub should link dynamically to the CRT, which causes the correct manifest to be generated.
Attachment #412564 -
Flags: review?(mark.finkle)
Comment 2•16 years ago
|
||
Comment on attachment 412564 [details] [diff] [review]
Specify dynamic linkage to CRT for Prism stub
Does this only affect the CRT? It doesn't affect the linkage of any other DLLs?
| Assignee | ||
Comment 3•16 years ago
|
||
(In reply to comment #2)
> (From update of attachment 412564 [details] [diff] [review])
> Does this only affect the CRT? It doesn't affect the linkage of any other DLLs?
Looks that way to me. See http://mxr.mozilla.org/mozilla1.9.1/source/config/config.mk#543
Updated•16 years ago
|
Attachment #412564 -
Flags: review?(mark.finkle) → review+
| Assignee | ||
Comment 4•16 years ago
|
||
Sending client/stub/Makefile.in
Transmitting file data .
Committed revision 59103.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Comment 5•16 years ago
|
||
I'm getting the described error on 1.0b3pre.
| Assignee | ||
Comment 6•16 years ago
|
||
(In reply to comment #5)
> I'm getting the described error on 1.0b3pre.
If you're getting this with the latest version I posted on my blog, please let me know. That would be very surprising.
Comment 7•16 years ago
|
||
(In reply to comment #6)
> (In reply to comment #5)
> > I'm getting the described error on 1.0b3pre.
>
> If you're getting this with the latest version I posted on my blog, please let
> me know. That would be very surprising.
Confirming: latest version has this fixed now.
You need to log in
before you can comment on or make changes to this bug.
Description
•