Closed
Bug 415928
Opened 17 years ago
Closed 17 years ago
fix packaging of CRT with jemalloc
Categories
(Firefox Build System :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9beta4
People
(Reporter: ted, Assigned: ted)
References
Details
Attachments
(5 files, 2 obsolete files)
636 bytes,
patch
|
rhelmer
:
review+
|
Details | Diff | Splinter Review |
586 bytes,
patch
|
benjamin
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
937 bytes,
patch
|
benjamin
:
review+
mtschrep
:
approval1.9+
|
Details | Diff | Splinter Review |
2.04 KB,
patch
|
benjamin
:
review+
damons
:
approval1.9+
|
Details | Diff | Splinter Review |
2.12 KB,
patch
|
Details | Diff | Splinter Review |
We're currently shipping both our custom CRT (mozcrt19.dll) and the standard CRT DLLs on trunk. We should fix this by:
1) Unsetting WIN32_REDIST_DIR on the nightly box (in tinder-config.pl?)
2) Adding the files to removed-files.in #if MOZ_MEMORY
Should save us almost 1Mb in size (before compression).
Assignee | ||
Comment 1•17 years ago
|
||
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Attachment #301668 -
Flags: review?(rhelmer)
Assignee | ||
Comment 2•17 years ago
|
||
Attachment #301669 -
Flags: review?(benjamin)
Updated•17 years ago
|
Attachment #301668 -
Flags: review?(rhelmer) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #301668 -
Attachment description: tinderbox config → tinderbox config [checked in]
Assignee | ||
Comment 3•17 years ago
|
||
Comment on attachment 301668 [details] [diff] [review]
tinderbox config
So it turns out we're still actually linked to msvcp80.dll, so I backed this out and clobbered so we don't break a whole bunch of nightly testers.
Attachment #301668 -
Attachment description: tinderbox config [checked in] → tinderbox config
Assignee | ||
Comment 4•17 years ago
|
||
Just to have a place to stick this:
Apparently the way to fix our dependency on msvcp80.dll would be to use "-D_STATIC_CPPLIB"
Updated•17 years ago
|
Attachment #301669 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 5•17 years ago
|
||
This doesn't fix NSPR/NSS, they still wind up with manifests. I can't seem to get the LDFLAGS to take, I'm not sure what's going on there. I tried setting _SUBDIR_LDFLAGS and it didn't appear to work.
Attachment #303146 -
Flags: review?(benjamin)
Updated•17 years ago
|
Attachment #303146 -
Flags: review?(benjamin) → review+
Assignee | ||
Comment 6•17 years ago
|
||
Comment on attachment 303146 [details] [diff] [review]
fix CRT linkage [checked in]
This gets us partway to not having to ship the microsoft CRT alongside our custom CRT.
Attachment #303146 -
Flags: approval1.9?
Updated•17 years ago
|
Attachment #303146 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 7•17 years ago
|
||
Comment on attachment 303146 [details] [diff] [review]
fix CRT linkage [checked in]
Checked this in, still need to sort out how to get NSPR and NSS to play ball.
Attachment #303146 -
Attachment description: fix CRT linkage → fix CRT linkage [checked in]
Assignee | ||
Comment 8•17 years ago
|
||
With the patches from bug 418687 and bug 418613, and setting DLLFLAGS=-MANIFEST:NO in my environment, I have a build without the MSVCRT dlls that works on a machine without the runtime installed.
Depends on: 418613
Assignee | ||
Updated•17 years ago
|
Attachment #304995 -
Flags: review? → review?(benjamin)
Updated•17 years ago
|
Attachment #304995 -
Flags: review?(benjamin) → review+
Comment 10•17 years ago
|
||
Comment on attachment 304995 [details] [diff] [review]
make nspr/nss play along
actually, please do
DLLFLAGS="$DLLFLAGS -MANIFEST:NO" in case there are pre-set dllflags.
Assignee | ||
Updated•17 years ago
|
Attachment #304995 -
Flags: approval1.9?
Assignee | ||
Updated•17 years ago
|
Attachment #301669 -
Flags: approval1.9?
Comment 11•17 years ago
|
||
Comment on attachment 301669 [details] [diff] [review]
packaging patch
a1.9+=damons
Attachment #301669 -
Flags: approval1.9? → approval1.9+
Comment 12•17 years ago
|
||
Comment on attachment 304995 [details] [diff] [review]
make nspr/nss play along
a1.9+=damons
Attachment #304995 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Comment 13•17 years ago
|
||
Would like to get these in, but I don't have time to watch the tree anytime soon. Probably needs a clobber when they're checked in, so either do it in the morning before a clobber, or clobber when they're checked in. All three patches on this bug should be checked in.
Keywords: checkin-needed
Comment 14•17 years ago
|
||
Checking in browser/installer/removed-files.in;
/cvsroot/mozilla/browser/installer/removed-files.in,v <-- removed-files.in
new revision: 1.36; previous revision: 1.35
done
Checking in configure.in;
/cvsroot/mozilla/configure.in,v <-- configure.in
new revision: 1.1940; previous revision: 1.1939
done
Checking in tools/tinderbox-configs/firefox/win32/mozconfig;
/cvsroot/mozilla/tools/tinderbox-configs/firefox/win32/mozconfig,v <-- mozconfig
new revision: 1.16; previous revision: 1.15
done
Checking in tools/tinderbox-configs/firefox/win32/CLOBBER;
/cvsroot/mozilla/tools/tinderbox-configs/firefox/win32/CLOBBER,v <-- CLOBBER
new revision: 1.67; previous revision: 1.66
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
Comment 15•17 years ago
|
||
I've backed this out because it appears to be the cause of the firefox build no longer running. For some reason the clobber builds were just fine however the regular build that followed fails to run with "The application failed to initialise properly 0xc0150002".
Using dependency walker showed the following errors, not sure if they are relevant:
Error: The Side-by-Side configuration information for "c:\documents and settings\dave\desktop\firefox\SMIME3.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\documents and settings\dave\desktop\firefox\NSS3.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\documents and settings\dave\desktop\firefox\NSSUTIL3.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Error: The Side-by-Side configuration information for "c:\documents and settings\dave\desktop\firefox\SSL3.DLL" contains errors. This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem (14001).
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 16•17 years ago
|
||
Ugh, it looks like NSS didn't take those changes. Must have been something wrong in my tests. I'll take another look.
Assignee | ||
Comment 17•17 years ago
|
||
Ah, I must have left DLLFLAGS set in my environment. My patch didn't work because NSS doesn't have configure, so setting that variable in the environment in configure doesn't do anything for it. It needs to be set as a make variable to get passed down. I have a new patch, testing it now.
Status: REOPENED → ASSIGNED
Assignee | ||
Comment 18•17 years ago
|
||
Ok, this actually works.
Attachment #304995 -
Attachment is obsolete: true
Attachment #305398 -
Flags: review?(benjamin)
Comment 19•17 years ago
|
||
Comment on attachment 305398 [details] [diff] [review]
make nspr/nss play along, v2
I don't think we should export this into the environment. Instead, explicitly override DLLFLAGS when building NSS, here:
http://mxr.mozilla.org/mozilla/source/security/manager/Makefile.in#155
Attachment #305398 -
Flags: review?(benjamin) → review-
Assignee | ||
Comment 20•17 years ago
|
||
Sadly, that doesn't work, because then the NSS makefiles can't append to it:
http://www.gnu.org/software/make/manual/make.html#Override-Directive
if we do |make DLLFLAGS=-FOO|, and the NSS makefile does DLLFLAGS+=-BAR, DLLFLAGS will only ever contain "-FOO". This breaks things pretty badly. :-/
Assignee | ||
Comment 21•17 years ago
|
||
Ok, this is what we compromised on. We can't pass it in DEFAULT_GMAKE_FLAGS, because then the NSS makefiles can't append to it, which breaks their build system. Exporting DLLFLAGS to the environment in security/manager/Makefile.in is less intrusive than doing it in autoconf.mk.in.
Attachment #305398 -
Attachment is obsolete: true
Attachment #305557 -
Flags: review?(benjamin)
Updated•17 years ago
|
Attachment #305557 -
Flags: review?(benjamin) → review+
Assignee | ||
Updated•17 years ago
|
Attachment #305557 -
Flags: approval1.9?
Comment 22•17 years ago
|
||
Comment on attachment 305557 [details] [diff] [review]
make nspr/nss play along, v3 [checked in]
a1.9+=damons
Attachment #305557 -
Flags: approval1.9? → approval1.9+
Assignee | ||
Updated•17 years ago
|
Attachment #305557 -
Attachment description: make nspr/nss play along, v3 → make nspr/nss play along, v3 [checked in]
Assignee | ||
Comment 23•17 years ago
|
||
I'll check in the tinderbox config and packaging bits tomorrow in time for the nightly, since that will need a clobber.
Assignee | ||
Comment 24•17 years ago
|
||
I missed checking this in for the nightly, but I downloaded the nightly, deleted the microsoft CRT, and it still ran fine in my test VM. I checked the packaging bits back in, so we should be ok for the next clobber.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago → 17 years ago
Resolution: --- → FIXED
Comment 25•17 years ago
|
||
Worked this out with ted on IRC.
Updated•17 years ago
|
Attachment #305800 -
Attachment description: bustage fix → bustage fix (checked in)
Assignee | ||
Comment 27•17 years ago
|
||
firefox-3.0b4pre.en-US.win32.installer.exe 26-Feb-2008 05:57 6.5M
firefox-3.0b4pre.en-US.win32.zip 26-Feb-2008 05:57 9.3M
firefox-3.0b4pre.en-US.win32.installer.exe 27-Feb-2008 05:41 6.3M
firefox-3.0b4pre.en-US.win32.zip 27-Feb-2008 05:41 8.8M
Not a huge download size win, but 200k in the installer and 500k in the zip, not bad!
Updated•7 years ago
|
Product: Core → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•