Closed
Bug 298203
Opened 19 years ago
Closed 19 years ago
Need SHORT_LIBNAME for browserdirprovider.dll
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dragtext, Assigned: mkaply)
Details
Attachments
(1 file, 1 obsolete file)
576 bytes,
patch
|
benjamin
:
review+
benjamin
:
approval-aviary1.1a2+
|
Details | Diff | Splinter Review |
This new module needs a short dll name. The attached patch to mozilla/browser/components/dirprovider/Makefile.in dubs it "brwsrdir".
Reporter | ||
Comment 1•19 years ago
|
||
Comment 2•19 years ago
|
||
I learned in Bug 286494 that Windows uses the same variable so one needs to do something like this ifneq ($(OS_ARCH),WINNT) SHORT_LIBNAME = brwsrdir endif
Assignee | ||
Comment 3•19 years ago
|
||
yeah, definitely need the WINNT stuff.
Reporter | ||
Comment 4•19 years ago
|
||
Attachment #186774 -
Attachment is obsolete: true
Comment 5•19 years ago
|
||
Why does this need a shortname? Aren't the OS/2 release builds static builds?
Comment 6•19 years ago
|
||
I think Mike's release builds were non-static, but even if they were static we should still keep non-static builds working on OS/2.
Comment 7•19 years ago
|
||
The are several things I don't understand here: a while back I thought mkaply told me not to worry about long names any more: we use longnames (such as extensions-startup.manifest) in the profile. Furthermore, I don't think you (or I) should be worrying about non-static configurations: I have been adding little dynamic components willy-nilly trusting that in release configurations they will be merged into the static binary, and your perf is going to suck if you are releasing dynamic builds.
Comment 8•19 years ago
|
||
Long filenames are not a problem on OS/2, _except_ for DLLs. If DLLs have more than 8.3 chars they cannot be loaded and Firefox probably won't run, if the DLL is dynamically linked at compile time. I agree that static builds are the way to go for releases, even though they don't seem to make much of a difference regarding performance. (I don't have numbers to back this up at the moment, though.) But for debugging etc. we need to keep the SHORT_LIBNAME stuff just to keep Firefox running.
Assignee | ||
Comment 9•19 years ago
|
||
Also, debug builds cannot be static on OS/2, so in order to debug, we have to maintain the short names.
Updated•19 years ago
|
Attachment #186893 -
Flags: superreview?(benjamin)
Attachment #186893 -
Flags: review?(mozilla)
Updated•19 years ago
|
Attachment #186893 -
Flags: superreview?(benjamin)
Attachment #186893 -
Flags: review?(mozilla)
Attachment #186893 -
Flags: review+
Attachment #186893 -
Flags: approval-aviary1.1a2+
Assignee | ||
Comment 10•19 years ago
|
||
Fix checked in.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•