Closed Bug 1080904 Opened 10 years ago Closed 10 years ago

Allow adding symbols for nss3.def via configure

Categories

(Firefox Build System :: General, defect)

x86
Windows 8.1
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
mozilla36

People

(Reporter: clokep, Assigned: glandium)

References

Details

Attachments

(1 file)

After enabling MOZ_FOLD_LIBS for Instantbird, we're no longer able to build purplexpcom, which requires some functions not linked into nss3:
> sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_PubEncryptRaw referenced in function _sipe_crypt_rsa_encrypt
> sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_PubDecryptRaw referenced in function _sipe_crypt_rsa_decrypt
> sipe-crypt-nss.obj : error LNK2019: unresolved external symbol _PK11_Verifyreferenced in function _sipe_crypt_verify_rsa
> sipe-digest-nss.obj : error LNK2019: unresolved external symbol _PK11_RestoreContext referenced in function _sipe_digest_md5_end
> sipe-digest-nss.obj : error LNK2019: unresolved external symbol _PK11_SaveContextAlloc referenced in function _sipe_digest_md5_end
> purplexpcom.dll : fatal error LNK1120: 5 unresolved externals

I talked to glandium about this over IRC and he asked me to check nss3.def for those symbols: they're not there. He suggested filing a bug to allow adding of symbols via configure.

Thanks!
Assignee: nobody → mh+mozilla
Status: NEW → ASSIGNED
Attachment #8502875 - Flags: review?(mshal) → review+
Can I add checkin-needed to this? Thanks for taking a look so fast! :)
Blocks: 1082537
https://hg.mozilla.org/mozilla-central/rev/0fdd92c0a958
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla36
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.