Build problem with TestDataStructures - unresolved externals, with --enable-ipdl-tests option

RESOLVED FIXED

Status

()

RESOLVED FIXED
8 years ago
8 years ago

People

(Reporter: mayhemer, Assigned: cjones)

Tracking

Other Branch
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

8 years ago
Debug build of the electrolysis tree on Win XP.

link -NOLOGO -DLL -OUT:xul.dll -PDB:xul.pdb -SUBSYSTEM:WINDOWS  dlldeps-xul.obj nsStaticXULComponents.obj nsDllMain.obj dlldeps.obj nsGFXDeps.                                      obj dlldeps-zlib.obj nsUnicharUtils.obj nsCompressedCharMap.obj nsBidiUtils.obj nsRDFResource.obj    ./module.res -NXCOMPAT -DYNAMICBASE -SAFE                                      SEH  -DEBUG -DEBUGTYPE:CV   ../../toolkit/xre/xulapp_s.lib  ../../staticlib/components/necko.lib ../../staticlib/components/uconv.lib ../../st                                      aticlib/components/i18n.lib ../../staticlib/components/chardet.lib ../../staticlib/components/jar50.lib ../../staticlib/components/pref.lib ..                                      /../staticlib/components/htmlpars.lib ../../staticlib/components/imglib2.lib ../../staticlib/components/gklayout.lib ../../staticlib/component                                      s/docshell.lib ../../staticlib/components/embedcomponents.lib ../../staticlib/components/webbrwsr.lib ../../staticlib/components/nsappshell.li                                      b ../../staticlib/components/txmgr.lib ../../staticlib/components/chrome.lib ../../staticlib/components/commandlines.lib ../../staticlib/compo                                      nents/extensions.lib ../../staticlib/components/toolkitcomps.lib ../../staticlib/components/pipboot.lib ../../staticlib/components/pipnss.lib                                       ../../staticlib/components/appcomps.lib ../../staticlib/components/jsctypes.lib ../../staticlib/components/gkplugin.lib ../../staticlib/compon                                      ents/windowsproxy.lib ../../staticlib/components/jsd.lib ../../staticlib/components/autoconfig.lib ../../staticlib/components/auth.lib ../../s                                      taticlib/components/cookie.lib ../../staticlib/components/permissions.lib ../../staticlib/components/universalchardet.lib ../../staticlib/comp                                      onents/composer.lib ../../staticlib/components/rdf.lib ../../staticlib/components/windowds.lib ../../staticlib/components/storagecomps.lib ../                                      ../staticlib/components/places.lib ../../staticlib/components/tkautocomplete.lib ../../staticlib/components/satchel.lib ../../staticlib/compon                                      ents/pippki.lib ../../staticlib/components/imgicon.lib ../../staticlib/components/gkgfxthebes.lib ../../staticlib/components/gkwidget.lib ../.                                      ./staticlib/components/accessibility.lib ../../staticlib/components/spellchecker.lib ../../staticlib/components/zipwriter.lib ../../staticlib/                                      components/gkdebug.lib ../../staticlib/jsipc_s.lib ../../staticlib/domipc_s.lib ../../staticlib/domplugins_s.lib ../../staticlib/mozipc_s.lib                                       ../../staticlib/mozipdlgen_s.lib ../../staticlib/ipcshell_s.lib ../../staticlib/gfxipc_s.lib ../../staticlib/ipdlunittest_s.lib ../../staticli                                      b/xpcom_core.lib ../../staticlib/ucvutil_s.lib ../../staticlib/gkgfx.lib ../../staticlib/gfxutils.lib ../../staticlib/chromium_s.lib ../../sta                                      ticlib/mozreg_s.lib ../../staticlib/morkreader_s.lib ../../staticlib/thebes.lib ../../staticlib/ycbcr.lib   ../../dist/lib/mozsqlite3.lib  ../                                      ../jpeg/jpeg3250.lib ../../modules/libimg/png/png.lib ../../gfx/qcms/mozqcms.lib d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/mozjs.lib                                       d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/crmf.lib         d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/smime3.lib         d                                      :/mozilla/electrolysis/_obj-browser-debug/dist/lib/ssl3.lib         d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/nss3.lib         d:/mo                                      zilla/electrolysis/_obj-browser-debug/dist/lib/nssutil3.lib ../../gfx/cairo/cairo/src/mozcairo.lib ../../gfx/cairo/libpixman/src/mozlibpixman.                                      lib ../../gfx/harfbuzz/src/mozharfbuzz.lib  ../../modules/zlib/src/mozz.lib   d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/nspr4.lib d:                                      /mozilla/electrolysis/_obj-browser-debug/dist/lib/plc4.lib d:/mozilla/electrolysis/_obj-browser-debug/dist/lib/plds4.lib  -L../../dist/bin ../                                      ../dist/lib/mozalloc.lib kernel32.lib user32.lib gdi32.lib winmm.lib wsock32.lib advapi32.lib dbghelp.lib shell32.lib ole32.lib uuid.lib versi                                      on.lib winspool.lib comdlg32.lib imm32.lib winmm.lib wsock32.lib msimg32.lib shlwapi.lib psapi.lib imagehlp.lib  usp10.lib oleaut32.lib   
LINK : warning LNK4044: unrecognized option '/L../../dist/bin'; ignored
   Creating library xul.lib and object xul.exp
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresParent::Register(class mozilla::ipc::SyncChannel::SyncListener *)" (?Register@PTestDataStructuresParent@_ipdltest@mozilla@@UA                                      EJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresParent::RegisterID(class mozilla::ipc::SyncChannel::SyncListener *,long)" (?RegisterID@PTestDataStructuresParent@_ipdltest@mo                                      zilla@@UAEJPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SyncChannel::SyncL                                      istener * __thiscall mozilla::_ipdltest::PTestDataStructuresParent::Lookup(long)" (?Lookup@PTestDataStructuresParent@_ipdltest@mozilla@@UAEPAV                                      SyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresParent::Unregister(long)" (?Unregister@PTestDataStructuresParent@_ipdltest@mozilla@@UAEXJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresParent::RemoveManagee(long,class mozilla::ipc::SyncChannel::SyncListener *)" (?RemoveManagee@PTestDataStructuresParent@_ipdlt                                      est@mozilla@@UAEXJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresParent::CreateSharedMemory(unsigned int,enum mozilla::ipc::SharedMemory::SharedMemoryType,long                                       *)" (?CreateSharedMemory@PTestDataStructuresParent@_ipdltest@mozilla@@UAEPAVSharedMemory@ipc@3@IW4SharedMemoryType@453@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual bool __thiscall mozilla::_ipdltest::PT                                      estDataStructuresParent::AdoptSharedMemory(class mozilla::ipc::SharedMemory *,long *)" (?AdoptSharedMemory@PTestDataStructuresParent@_ipdltest                                      @mozilla@@UAE_NPAVSharedMemory@ipc@3@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresParent::LookupSharedMemory(long)" (?LookupSharedMemory@PTestDataStructuresParent@_ipdltest@mozi                                      lla@@UAEPAVSharedMemory@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubParent::Register(class mozilla::ipc::SyncChannel::SyncListener *)" (?Register@PTestDataStructuresSubParent@_ipdltest@mozil                                      la@@UAEJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubParent::RegisterID(class mozilla::ipc::SyncChannel::SyncListener *,long)" (?RegisterID@PTestDataStructuresSubParent@_ipdlt                                      est@mozilla@@UAEJPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SyncChannel::SyncL                                      istener * __thiscall mozilla::_ipdltest::PTestDataStructuresSubParent::Lookup(long)" (?Lookup@PTestDataStructuresSubParent@_ipdltest@mozilla@@                                      UAEPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubParent::Unregister(long)" (?Unregister@PTestDataStructuresSubParent@_ipdltest@mozilla@@UAEXJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubParent::RemoveManagee(long,class mozilla::ipc::SyncChannel::SyncListener *)" (?RemoveManagee@PTestDataStructuresSubParent@                                      _ipdltest@mozilla@@UAEXJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresSubParent::CreateSharedMemory(unsigned int,enum mozilla::ipc::SharedMemory::SharedMemoryType,lo                                      ng *)" (?CreateSharedMemory@PTestDataStructuresSubParent@_ipdltest@mozilla@@UAEPAVSharedMemory@ipc@3@IW4SharedMemoryType@453@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual bool __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubParent::AdoptSharedMemory(class mozilla::ipc::SharedMemory *,long *)" (?AdoptSharedMemory@PTestDataStructuresSubParent@_ip                                      dltest@mozilla@@UAE_NPAVSharedMemory@ipc@3@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresSubParent::LookupSharedMemory(long)" (?LookupSharedMemory@PTestDataStructuresSubParent@_ipdltes                                      t@mozilla@@UAEPAVSharedMemory@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubChild::Register(class mozilla::ipc::SyncChannel::SyncListener *)" (?Register@PTestDataStructuresSubChild@_ipdltest@mozilla                                      @@UAEJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubChild::RegisterID(class mozilla::ipc::SyncChannel::SyncListener *,long)" (?RegisterID@PTestDataStructuresSubChild@_ipdltes                                      t@mozilla@@UAEJPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SyncChannel::SyncL                                      istener * __thiscall mozilla::_ipdltest::PTestDataStructuresSubChild::Lookup(long)" (?Lookup@PTestDataStructuresSubChild@_ipdltest@mozilla@@UA                                      EPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubChild::Unregister(long)" (?Unregister@PTestDataStructuresSubChild@_ipdltest@mozilla@@UAEXJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubChild::RemoveManagee(long,class mozilla::ipc::SyncChannel::SyncListener *)" (?RemoveManagee@PTestDataStructuresSubChild@_i                                      pdltest@mozilla@@UAEXJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresSubChild::CreateSharedMemory(unsigned int,enum mozilla::ipc::SharedMemory::SharedMemoryType,lon                                      g *)" (?CreateSharedMemory@PTestDataStructuresSubChild@_ipdltest@mozilla@@UAEPAVSharedMemory@ipc@3@IW4SharedMemoryType@453@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual bool __thiscall mozilla::_ipdltest::PT                                      estDataStructuresSubChild::AdoptSharedMemory(class mozilla::ipc::SharedMemory *,long *)" (?AdoptSharedMemory@PTestDataStructuresSubChild@_ipdl                                      test@mozilla@@UAE_NPAVSharedMemory@ipc@3@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresSubChild::LookupSharedMemory(long)" (?LookupSharedMemory@PTestDataStructuresSubChild@_ipdltest@                                      mozilla@@UAEPAVSharedMemory@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresChild::Register(class mozilla::ipc::SyncChannel::SyncListener *)" (?Register@PTestDataStructuresChild@_ipdltest@mozilla@@UAEJ                                      PAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual long __thiscall mozilla::_ipdltest::PT                                      estDataStructuresChild::RegisterID(class mozilla::ipc::SyncChannel::SyncListener *,long)" (?RegisterID@PTestDataStructuresChild@_ipdltest@mozi                                      lla@@UAEJPAVSyncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SyncChannel::SyncL                                      istener * __thiscall mozilla::_ipdltest::PTestDataStructuresChild::Lookup(long)" (?Lookup@PTestDataStructuresChild@_ipdltest@mozilla@@UAEPAVSy                                      ncListener@SyncChannel@ipc@3@J@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresChild::Unregister(long)" (?Unregister@PTestDataStructuresChild@_ipdltest@mozilla@@UAEXJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual void __thiscall mozilla::_ipdltest::PT                                      estDataStructuresChild::RemoveManagee(long,class mozilla::ipc::SyncChannel::SyncListener *)" (?RemoveManagee@PTestDataStructuresChild@_ipdltes                                      t@mozilla@@UAEXJPAVSyncListener@SyncChannel@ipc@3@@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresChild::CreateSharedMemory(unsigned int,enum mozilla::ipc::SharedMemory::SharedMemoryType,long *                                      )" (?CreateSharedMemory@PTestDataStructuresChild@_ipdltest@mozilla@@UAEPAVSharedMemory@ipc@3@IW4SharedMemoryType@453@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual bool __thiscall mozilla::_ipdltest::PT                                      estDataStructuresChild::AdoptSharedMemory(class mozilla::ipc::SharedMemory *,long *)" (?AdoptSharedMemory@PTestDataStructuresChild@_ipdltest@m                                      ozilla@@UAE_NPAVSharedMemory@ipc@3@PAJ@Z)
ipdlunittest_s.lib(TestDataStructures.obj) : error LNK2001: unresolved external symbol "public: virtual class mozilla::ipc::SharedMemory * __t                                      hiscall mozilla::_ipdltest::PTestDataStructuresChild::LookupSharedMemory(long)" (?LookupSharedMemory@PTestDataStructuresChild@_ipdltest@mozill                                      a@@UAEPAVSharedMemory@ipc@3@J@Z)
xul.dll : fatal error LNK1120: 32 unresolved externals




My mozconfig contains: ac_add_options --enable-ipdl-tests


This started happening to me since approx Thursday (June 24th).
(Reporter)

Comment 1

8 years ago
Removing ac_add_options --enable-ipdl-tests from the mozconfig file helps.
Summary: Build problem with TestDataStructures, unresolved externals → Build problem with TestDataStructures - unresolved externals, with --enable-ipdl-tests option
I don't have time to fix this atm, but for any volunteers, this appears to be MSVC getting confused about long/int through conflicting typedefs somewhere.
Created attachment 461260 [details] [diff] [review]
Fix C++ IPDL test build failure on windows

Will push this as soon as the tree is up to it.  I want to enable IPDL tests for m-c and (re-)enable them on e10s.
Assignee: nobody → jones.chris.g
http://hg.mozilla.org/mozilla-central/rev/d9cc8a1d313a
Status: NEW → RESOLVED
Last Resolved: 8 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.