Closed Bug 109432 Opened 24 years ago Closed 24 years ago

missing some MIME symbols in static+meta build

Categories

(MailNews Core :: Composition, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED
mozilla0.9.6

People

(Reporter: waterson, Assigned: cls)

References

Details

(Keywords: crash, perf)

Attachments

(2 files)

seawood, since you checked in your changes, I'm getting missing symbols in libmetamail.so (set LD_BIND_NOW=1 with a static build, you'll see it right away): /usr/src/seamonkey-clean/static-symbols/dist/bin$ LD_BIND_NOW=1 ./mozilla ProfileManager : StartApprunner profileName passed in: waterson ************************************************** nsNativeComponentLoader: GetFactory(/usr/src/seamonkey-clean/static-symbols/dist/bin/components/libmeta_mail.so) Load FAILED with error: /usr/src/seamonkey-clean/static-symbols/dist/bin/components/libmeta_mail.so: undefined symbol: __24nsMimeContentTypeHandlerPCcPFPCcP28contentTypeHandlerInitStruct_P15MimeObjectClass **************************************************
This pretty much horks the static build, because mail crashes (more or less) randomly when reading messages.
Keywords: crash, perf
WFM. That symbol should be in the mimecthglue_s library which I'm seeing as being linked into my static+meta build. You might want to try cleaning the mailnews/mime/cthandlers/ dir and relink. When I first landed that patch, I accidentally made that glue lib shared. There was about an hr window before that got fixed. Build config: --enable-static --disable-shared --enable-static --enable-meta-components=mail,crypto /usr/gcc295/bin/g++ -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -pedantic -Wno-long-long -pthread -pipe -DNDEBUG -DTRIMMED -shared -Wl,-h -Wl,libmeta_mail.so -o libmeta_mail.so nsMetaModule_mail.o -Wl,--whole-archive ../../dist/lib/components/libmailnews.a ../../dist/lib/components/libmsgimap.a ../../dist/lib/components/libmime.a ../../dist/lib/components/libmimeemitter.a ../../dist/lib/components/libmsgnews.a ../../dist/lib/components/libmsgcompose.a ../../dist/lib/components/liblocalmail.a ../../dist/lib/components/libabsyncsvc.a ../../dist/lib/components/libimport.a ../../dist/lib/components/libaddrbook.a ../../dist/lib/components/libimpText.a ../../dist/lib/components/libvcard.a ../../dist/lib/components/libmsgdb.a ../../dist/lib/components/libsmimestb.a ../../dist/lib/libmsgbaseutil.a ../../dist/lib/libmimecthglue_s.a -Wl,--no-whole-archive -Wl,--version-script -Wl,../../../mozilla/build/unix/gnu-ld-scripts/components-version-script -ldl -lm -lc
Summary: missing some MIME symbols in static build → missing some MIME symbols in static+meta build
Nevermind. I'm a dork. I forgot that I had a patch in this tree for the meta rules in config.mk.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla0.9.6
Comment on attachment 57322 [details] [diff] [review] Update META_COMPONENT entires for mail sr=waterson
Attachment #57322 - Flags: superreview+
Oops, maybe I spoke to soon: c++ -o nsMetaModule_mail.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DOJI -DMETA_MODULE=\"meta_mail\" -DXPCOM_TRANSLATE_NSGM_ENTRY_POINT -I../../../mozilla/modules/staticmod -I../../dist/include/xpcom -I../../dist/include -I../../dist/include -I/usr/src/seamonkey-clean/static/dist/include/nspr -I/usr/lib/include -I/usr/lib/include -I/usr/lib/include -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wbad-function-cast -Wcast-align -Woverloaded-virtual -Wsynth -pedantic -Wno-long-long -Wno-format -fshort-wchar -pthread -O2 -pipe -DNDEBUG -DTRIMMED -I/usr/X11R6/include -DMOZILLA_CLIENT -include ../../config-defs.h -Wp,-MD,.deps/nsMetaModule_mail.pp nsMetaModule_mail.cpp make[2]: *** No rule to make target `../../dist/lib/components/libsmimestb.a', needed by `libmeta_mail.so'. Stop. make[2]: Leaving directory `/usr/src/seamonkey-clean/static/modules/staticmod' make[1]: *** [install] Error 2 make[1]: Leaving directory `/usr/src/seamonkey-clean/static/modules/staticmod' make: *** [install] Error 2
Patch needed to be redone for the trunk since smime landed
Comment on attachment 57533 [details] [diff] [review] Same patch for the trunk r=bryner
Attachment #57533 - Flags: review+
Comment on attachment 57322 [details] [diff] [review] Update META_COMPONENT entires for mail a=blizzard on behalf of drivers for 0.9.6
Attachment #57322 - Flags: approval+
attachment 57322 [details] [diff] [review] has been checked into the 0.9.6 branch. attachment 57533 [details] [diff] [review] has been checked into the trunk.
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Reassign to stephend
QA Contact: sheelar → stephend
3.207 seawood%netscape.com Nov 12 23:48 Update mail meta modules list to handle smime. Bug #109432 r=bryner I'm assuming that this works for everybody (Waterson, if not, please re-open). Verified FIXED.
Status: RESOLVED → VERIFIED
WFM, yay! Thanks.
Product: MailNews → Core
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: