Closed
Bug 71601
Opened 25 years ago
Closed 24 years ago
libraries have IS_COMPONENT=1 but export additional functions
Categories
(MailNews Core :: MIME, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
mozilla1.0
People
(Reporter: achimha, Assigned: bugzilla)
Details
Attachments
(2 files)
|
964 bytes,
patch
|
netscape
:
review+
|
Details | Diff | Splinter Review |
|
6.08 KB,
patch
|
dougt
:
review+
|
Details | Diff | Splinter Review |
In bug 71558 I'm doing some changes to the OS/2 build system to be more similar
to what Linux does. Previously we exported all public symbols for DLLs that we
created (very ugly). Now we use the IS_COMPONENT flag in the Makefile.in for
each module and if it is set, we only export NSGetModule as to the XPCOM
specification. This works fine, however mailnews breaks this rule in:
/mozilla/mailnews/mime/cthandlers/signstub
/mozilla/mailnews/mime/cthandlers/smimestub
/mozilla/mailnews/mime/cthandlers/vcard
These are configured to be XPCOM modules and yet they require additional
functions to be exported. As a workaround, I have patches their makefiles
(see 71558) to tell our OS/2 build system to export everything despite it is
being marked as XPCOM.
Could you please change your code to not require it to export anything else
besides NSGetModule for IS_COMPONENT=1 libraries?
QA Contact: esther → stephend
| Assignee | ||
Updated•24 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.0
Comment 1•24 years ago
|
||
I think this issue may have gone away since those modules were converted to
generic modules (bug 77226).
Comment 2•24 years ago
|
||
There is still one thing left - xpcom/tests/services/Makefile.in
Once that is gone, we can get rid of this completely.
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
Comment 5•24 years ago
|
||
Doug, can you review the MyService & TestServMgr changes?
Comment 6•24 years ago
|
||
Comment on attachment 54254 [details] [diff] [review]
Remove HAS_EXTRAEXPORTS from mail
r=cls
Attachment #54254 -
Flags: review+
Comment 7•24 years ago
|
||
Makefile changes in.
I'll build the tests on OS/2 tomorrow just for fun.
Comment 8•24 years ago
|
||
Comment on attachment 54284 [details] [diff] [review]
Turn MyService component into a generic module
looks fine.
Attachment #54284 -
Flags: review+
Comment 9•24 years ago
|
||
Patch checked in. All of the HAS_EXTRAEXPORTS instances have been fixed.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Can someone who builds on OS/2 verify this? Mike, would you do the honors,
please? Thanks.
Updated•21 years ago
|
Product: MailNews → Core
Updated•18 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•