Closed
Bug 298032
Opened 20 years ago
Closed 20 years ago
need to keep generated import libraries from clobbering static versions of components
Categories
(Firefox Build System :: General, defect)
Firefox Build System
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: shaver, Assigned: shaver)
Details
Attachments
(2 files)
1.99 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
1.18 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
When a given build process needs to produce both dynamic and static versions of
the same component (calendar, storage, webdav, and xmlextras for the
sunbird+lightning combined build, for example), then we need to avoid having the
import library generated by msvc collide name-wise with the static component file.
Patch coming up.
Assignee | ||
Comment 1•20 years ago
|
||
This also stops copying import libs or dynamic components to dist/lib, which
means that dist/lib only has static component libs in it. Huzzah.
Attachment #186617 -
Flags: review?(benjamin)
Attachment #186617 -
Flags: approval1.8b3?
Comment 2•20 years ago
|
||
Comment on attachment 186617 [details] [diff] [review]
force the use of a dummy import lib, and nuke it afterwards
elegant!
Attachment #186617 -
Flags: review?(benjamin)
Attachment #186617 -
Flags: review+
Attachment #186617 -
Flags: approval1.8b3?
Attachment #186617 -
Flags: approval1.8b3+
Assignee | ||
Comment 3•20 years ago
|
||
FIXED.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
That was slammed in awful quickly. Did anyone verify that we don't need to
install those import libs for OS/2 any longer? The OS/2 tinderbox is missing. I
recall that we removed that step once before only to have it added back.
Comment 5•20 years ago
|
||
Yep, it would appear our static sunbird is failing now.
abwillis weakld: error: Unresolved symbol (UNDEF EXPORT) '_NSGetModule'.
abwillis weakld: info: The symbol is referenced by:
abwillis E:/cvs/work/mozilla/sbobj/storage/build/strgcmps.def
abwillis Ignoring unresolved externals reported from weak prelinker.
abwillis ILink : error LNK2022: _NSGetModule (alias _NSGetModule) : export
undefined
abwillis but running make in build or storage works fine
abwillis The build problem is because sunbird builds the xpi as well as building
itself... storage is being built static but the xpi is built dynamic...
_NSGetModule is in the dynamic mozStorageModule.o but not the static one
Assignee | ||
Comment 6•20 years ago
|
||
Why do we think taht's related to this checkin? You were failing with that
before I committed this (indeed, before I finished with the patch, IIRC).
Can you file another bug on that, with the OS/2 platform set?
Comment 7•20 years ago
|
||
My apologies. I got this third hand. I'm in the process of building things
static right now and I'll let you know the outcome.
Comment 8•20 years ago
|
||
so, I don't see that -IMPLIB thing in my linker flags, and I believe it's
because LDFLAGS is overwritten on line 540 of config.mk:
540 LDFLAGS = $(OS_LDFLAGS)
http://lxr.mozilla.org/seamonkey/source/config/config.mk#540
Am I missing something?
Assignee | ||
Comment 9•20 years ago
|
||
No, I'm missing something; I moved that append lower in config.mk, but didn't
rediff after, and my revert-and-apply-diff defense against checking in
extraneous changes wasn't helpful here.
Update patch tomorrow, if I get a chance before I get sucked into errands. Thanks.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 10•20 years ago
|
||
Biesi: does this fix things for you, too?
Attachment #186743 -
Flags: review?(benjamin)
Attachment #186743 -
Flags: approval1.8b3?
Comment 11•20 years ago
|
||
yep, that patch works for me.
Updated•20 years ago
|
Attachment #186743 -
Flags: approval1.8b3? → approval1.8b3+
Updated•20 years ago
|
Attachment #186743 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 12•20 years ago
|
||
FIXED, encore.
Status: REOPENED → RESOLVED
Closed: 20 years ago → 20 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•