Closed Bug 279079 Opened 20 years ago Closed 20 years ago

Build fails due to "command-line" (Bug #276588)

Categories

(Toolkit :: Startup and Profile System, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: d_king, Assigned: benjamin)

Details

(Keywords: regression)

As per https://bugzilla.mozilla.org/show_bug.cgi?id=276588#c62 this bug is benig filed to report a build problem with cygwin/MingW/Win32 due to the checkin from Bug #276588 with the following message :- Creating Resource file: module.res /cygdrive/e/mozilla/source/mozilla/build/cygwin-wrapper windres -O coff --use-te mp-file -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DHAVE_DEPENDENT_LIBS --include -dir ../../../../dist/include/xpcom --include-dir ../../../../dist/include/strin g --include-dir ../../../../dist/include/necko --include-dir ../../../../dist/in clude/unicharutil --include-dir ../../../../dist/include/toolkitcomps --include- dir ../../../../dist/include --include-dir ../../../../dist/include/nspr --inclu de-dir . -o module.res /cygdrive/e/mozilla/source/mozilla/obj/thunderbird/toolki t/components/commandlines/src/module.rc rm -f commandlines.dll /cygdrive/e/mozilla/source/mozilla/build/cygwin-wrapper g++ -march=athlon-xp -mm mx -msse -m3dnow -mno-cygwin -shared -o commandlines.dll nsCommandLine.o ./mo dule.res -L../../../../dist/lib -lxpcom -lxpcom_core -L../../../../dist /bin -L../../../../dist/lib -lnspr4 -lplc4 -lplds4 ../../../../dist/lib/libunich arutil_s.a -lm ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text+0x4b6): In funct ion `Z11ToLowerCaseRK9nsAStringRS_': e:/mozilla/source/mozilla/intl/unicharutil/util/nsUnicharUtils.cpp:173: undefine d reference to `_imp___ZN9nsAString9SetLengthEj@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text+0x65c): In funct ion `Z11ToUpperCaseRK9nsAStringRS_': e:/mozilla/source/mozilla/intl/unicharutil/util/nsUnicharUtils.cpp:257: undefine d reference to `_imp___ZN9nsAString9SetLengthEj@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text+0x6f5): In funct ion `Z29CaseInsensitiveFindInReadableRK9nsAStringR17nsReadingIteratorIwES4_': e:/mozilla/source/mozilla/intl/unicharutil/util/nsUnicharUtils.cpp:265: undefine d reference to `_imp___Z14FindInReadableRK9nsAStringR17nsReadingIteratorIwES4_RK 18nsStringComparator' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZN9nsAString12B eginWritingER17nsWritingIteratorIwE[nsAString::BeginWriting(nsWritingIterator<wc har_t>&)]+0xb): In function `ZNK17nsReadingIteratorIwE3getEv': e:/mozilla/source/mozilla/obj/thunderbird/intl/unicharutil/util/../../../dist/in clude/string/nsStringIterator.h: undefined reference to `_imp___ZN9nsAString17Ge tWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZN9nsAString10E ndWritingER17nsWritingIteratorIwE[nsAString::EndWriting(nsWritingIterator<wchar_ t>&)]+0xb):e:/mozilla/source/mozilla/obj/thunderbird/intl/unicharutil/util/../.. /../dist/include/string/nsStringIterator.h: undefined reference to `_imp___ZN9ns AString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZN11nsSubstring 12BeginWritingERPw[nsSubstring::BeginWriting(wchar_t*&)]+0x8):e:/mozilla/source/ mozilla/obj/thunderbird/intl/unicharutil/util/../../../dist/include/string/nsStr ingIterator.h: undefined reference to `_imp___ZN11nsSubstring13EnsureMutableEv@4 ' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZNK9nsAString12 BeginReadingER17nsReadingIteratorIwE[nsAString::BeginReading(nsReadingIterator<w char_t>&) const]+0xb):e:/mozilla/source/mozilla/obj/thunderbird/intl/unicharutil /util/../../../dist/include/string/nsStringIterator.h: undefined reference to `_ imp___ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZNK9nsAString10 EndReadingER17nsReadingIteratorIwE[nsAString::EndReading(nsReadingIterator<wchar _t>&) const]+0xb):e:/mozilla/source/mozilla/obj/thunderbird/intl/unicharutil/uti l/../../../dist/include/string/nsStringIterator.h: undefined reference to `_imp_ __ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_Z14CallGetServi ceI17nsICaseConversionEjPKcPPT_[unsigned int CallGetService<nsICaseConversion>(c har const*, nsICaseConversion**)]+0x77):e:/mozilla/source/mozilla/obj/thunderbir d/intl/unicharutil/util/../../../dist/include/string/nsStringIterator.h: undefin ed reference to `_imp___Z14CallGetServicePKcRK4nsIDPPv' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o)(.text$_ZN8nsCOMPtrI18n sIObserverServiceE36assign_from_gs_contractid_with_errorERK33nsGetServiceByContr actIDWithErrorRK4nsID[nsCOMPtr<nsIObserverService>::assign_from_gs_contractid_wi th_error(nsGetServiceByContractIDWithError const&, nsID const&)]+0x12):e:/mozill a/source/mozilla/obj/thunderbird/intl/unicharutil/util/../../../dist/include/str ing/nsStringIterator.h: undefined reference to `_imp___ZNK33nsGetServiceByContra ctIDWithErrorclERK4nsIDPPv@12' collect2: ld returned 1 exit status make[6]: *** [commandlines.dll] Error 1 make[6]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird/t oolkit/components/commandlines/src' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird/t oolkit/components/commandlines' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird/t oolkit/components' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird/t oolkit' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird' make[1]: *** [alldep] Error 2 make[1]: Leaving directory `/cygdrive/e/mozilla/source/mozilla/obj/thunderbird' make: *** [alldep] Error 2
Keywords: regression
cls, can you pride a clue here? I'm not doing anything particularly odd here.
I get a similar but subtley different message using a tree pulled within the last couple of hours: Creating Resource file: module.res /cygdrive/c/mozdev/mozilla/build/cygwin-wrapper windres -O coff --use-temp-file -DOSTYPE=\"WINNT5.1\" -DOSARCH=\"WINNT\" -DHAVE_DEPENDENT_LIBS --include-dir ../../../../dist/include/xpcom --include-dir ../../../../dist/include/string --include-dir ../../../../dist/include/necko --include-dir ../../../../dist/include/unicharutil --include-dir ../../../../dist/include/toolkitcomps --include-dir ../../../../dist/include --include-dir ../../../../dist/include/nspr --include-dir . -o module.res /cygdrive/c/mozdev/mozilla/browser-opt/toolkit/components/commandlines/src/module.rc rm -f commandlines.dll /cygdrive/c/mozdev/mozilla/build/cygwin-wrapper g++ -mno-cygwin -shared -o commandlines.dll nsCommandLine.o ./module.res -L../../../../dist/lib -lxpcom -lxpcom_core -L../../../../dist/bin -L../../../../dist/lib -lnspr4 -lplc4 -lplds4 ../../../../dist/lib/libunicharutil_s.a -Wl,--version-script,/cygdrive/c/mozdev/mozilla/build/unix/gnu-ld-scripts/components-version-script -lm ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x197):nsUnicharUtils.cpp: undefined reference to `_imp___Z14CallGetServicePKcRK4nsIDPPv' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x1d1):nsUnicharUtils.cpp: undefined reference to `_ZN13nsCOMPtr_base36assign_from_gs_contractid_with_errorERK33nsGetServiceByContractIDWithErrorRK4nsID@12' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x23e):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x254):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x2ac):nsUnicharUtils.cpp: undefined reference to `_ZN11nsSubstring13EnsureMutableEv@4' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x2e4):nsUnicharUtils.cpp: undefined reference to `_ZN11nsSubstring13EnsureMutableEv@4' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x32b):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString9SetLengthEj@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x335):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x352):nsUnicharUtils.cpp: undefined reference to `_ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x36a):nsUnicharUtils.cpp: undefined reference to `_ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x3ce):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x3e4):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x43c):nsUnicharUtils.cpp: undefined reference to `_ZN11nsSubstring13EnsureMutableEv@4' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x474):nsUnicharUtils.cpp: undefined reference to `_ZN11nsSubstring13EnsureMutableEv@4' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x4bb):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString9SetLengthEj@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x4c5):nsUnicharUtils.cpp: undefined reference to `_ZN9nsAString17GetWritableBufferEPPw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x4e2):nsUnicharUtils.cpp: undefined reference to `_ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x4fa):nsUnicharUtils.cpp: undefined reference to `_ZNK9nsAString17GetReadableBufferEPPKw@8' ../../../../dist/lib/libunicharutil_s.a(nsUnicharUtils.o.b)(.text+0x560):nsUnicharUtils.cpp: undefined reference to `_imp___Z14FindInReadableRK9nsAStringR17nsReadingIteratorIwES4_RK18nsStringComparator' make[6]: *** [commandlines.dll] Error 1 make[6]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt/toolkit/components/commandlines/src' make[5]: *** [libs] Error 2 make[5]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt/toolkit/components/commandlines' make[4]: *** [libs] Error 2 make[4]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt/toolkit/components' make[3]: *** [libs] Error 2 make[3]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt/toolkit' make[2]: *** [libs] Error 2 make[2]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt' make[1]: *** [alldep] Error 2 make[1]: Leaving directory `/cygdrive/c/mozdev/mozilla/browser-opt' make: *** [alldep] Error 2
Checking in toolkit/components/commandlines/src/Makefile.in; /cvsroot/mozilla/toolkit/components/commandlines/src/Makefile.in,v <-- Makefile.in new revision: 1.3; previous revision: 1.2 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
v'ing Thanks guys.
Status: RESOLVED → VERIFIED
Flags: in-testsuite-
Component: XRE Startup → Startup and Profile System
QA Contact: nobody → startup
You need to log in before you can comment on or make changes to this bug.