sqlite.dll changes each time I build it, which will affect partial updates

RESOLVED WONTFIX

Status

()

RESOLVED WONTFIX
11 years ago
11 years ago

People

(Reporter: moco, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

sqlite.dll changes each time I build it, which will affect partial updates

in bug #400045, dbaron did a binary diff of two nightlies that showed that sqlite.dll changed, when the source did not.

from http://pastebin.mozilla.org/221119

Binary files 2007-10-15-04-trunk/firefox/sqlite3.dll and 2007-10-17-23-trunk-tbox/firefox/sqlite3.dll differ

(there were no changes to mozilla/db/sqlite during this window.)

The sqlite3.dll changes each time I build sqlite.  (not sure why yet.)

note that the binary changes between two "similar" versions of sqlite are actually small, so the binary sqlite.dll.patch would be very small.
ted writes in bug #400045:

There was some discussion in #developers suggesting that binary files contain
some unique number so always differ from build to build:

<luser> oh the binaries always have a different pdb signature
<luser> on windows
<luser> anytime you do a clobber the compiler generates a new UUID for each PDB
file
<luser> then it increments an age field in that signature every time you
rebuild

So this is sounding like a wontfix, and also explains why between 2006 -> 2007, the partial contained the following .patch files for dlls / exes:

./AccessibleMarshal.dll.patch
./components/jar50.dll.patch
./components/jsd3250.dll.patch
./components/myspell.dll.patch
./components/spellchk.dll.patch
./components/xpinstal.dll.patch
./extensions/talkback@mozilla.org/components/BrandRes.dll.patch
./extensions/talkback@mozilla.org/components/fullsoft.dll.patch
./extensions/talkback@mozilla.org/components/qfaservices.dll.patch
./extensions/talkback@mozilla.org/components/talkback.exe.patch
./firefox.exe.patch
./freebl3.dll.patch
./js3250.dll.patch
./nspr4.dll.patch
./nss3.dll.patch
./nssckbi.dll.patch
./plc4.dll.patch
./plds4.dll.patch
./plugins/npnul32.dll.patch
./smime3.dll.patch
./softokn3.dll.patch
./ssl3.dll.patch
./uninstall/helper.exe.patch
./updater.exe.patch
./xpcom.dll.patch
./xpcom_compat.dll.patch
./xpcom_core.dll.patch
./xpicleanup.exe.patch
./xpistub.dll.patch

marking wontfix, thanks ted.
Status: NEW → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → WONTFIX

Comment 2

11 years ago
Yes, linking on Windows is not idempotent.
You need to log in before you can comment on or make changes to this bug.