Re: Identifying the NSS version/tag from a n NSS source tree?
In the gecko tree, there is a file called TAG-INFO that lists the exact NSS revision. On Fri, May 18, 2018 at 7:21 AM Jonathan Wilson wrote: > I have an NSS source tree (that is, the contents of security\nss as seen in > a Gecko source tree), how can I figure out what version of NSS or what NSS > revision/tag it matches up to? > -- > dev-tech-crypto mailing list > dev-tech-crypto@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-tech-crypto -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
Re: Building NSS 3.32.1 on Solaris
That looks like you haven't got a c++ compiler that supports c++11. You can disable building the tests with NSS_DISABLE_GTESTS. On Fri, May 18, 2018 at 3:30 AM Usha Nayak wrote: > Hi Wan-Teh > Thanks for replying and appreciate your help. > Modifying the file as you suggested did get us further than before. > However, stumbled into another issue during building process (gmake > build_nss_all): > CC -o SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o -c -xO4 -KPIC -DSVR4 > -DSYSV -D__svr4 -D__svr4__ -DSOLARIS -D_REENTRANT -xarch=v9 -DXP_UNIX > -UDEBUG -DNDEBUG -DN SS_NO_INIT_SUPPORT > -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT > -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -Igtest/include/ -Igtest > -I../../../dist/SunOS5.11_64_OPT. OBJ/include > -I../../../dist/public/gtest -I../../../dist/private/gtest -std=c++0x > gtest/src/gtest-all.cc > CC: Warning: -xarch=v9 is deprecated, use -m64 -xarch=sparc instead > "gtest/src/gtest.cc", line 4108: Warning: Likely null pointer dereference > (*(((int *)0))): testing::TestPartResult::~TestPartResult > rm -f SunOS5.11_64_OPT.OBJ/libgtest.a > ar cr SunOS5.11_64_OPT.OBJ/libgtest.a > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > echo SunOS5.11_64_OPT.OBJ/libgtest.a > SunOS5.11_64_OPT.OBJ/libgtest.a > rm -f SunOS5.11_64_OPT.OBJ/libgtest1.so > CC -xarch=v9 -G -h libgtest1.so -z combreloc -z defs -z ignore -o > SunOS5.11_64_OPT.OBJ/libgtest1.so > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o ../../../dist/Su > nOS5.11_64_OPT.OBJ/lib/libsectool.a > -L../../../dist/SunOS5.11_64_OPT.OBJ/lib > -L../../../dist/SunOS5.11_64_OPT.OBJ/lib -lnssutil3 > -L../../../dist/SunOS5.11_64_OPT .OBJ/lib > -lplc4 -lplds4 -lnspr4 -lssl3 -lsmime3 -lnss3 -lthread -lnsl -lsocket > -lposix4 -ldl -lc > CC: Warning: -xarch=v9 is deprecated, use -m64 -xarch=sparc instead > Undefined first referenced > symbol in file > std::string::basic_string(const std::string &) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::stringbuf::overflow(int) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::_M_mutate(unsigned long, unsigned long, unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ios_base::ios_base() > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ios_base::~ios_base() > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > operator new[](unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > operator new(unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ostream::write(const char*, long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::stringbuf::_M_sync(char*, unsigned long, unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ctype::_M_widen_init()const > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::__throw_out_of_range_fmt(const char*, ...) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::append(const char*, unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::append(const std::string &) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > __cxa_allocate_exception > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::insert(unsigned long, const char*, unsigned long) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::find(const char*, unsigned long, unsigned long)const > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > vtable for __cxxabiv1::__si_class_type_info > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > [Hint: static member vtable for __cxxabiv1::__si_class_type_info must be > defined in the program] > std::string::swap(std::string &) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ostream::put(char) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::runtime_error::what()const > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::__throw_length_error(const char*) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > __cxa_guard_release > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, > std::__detail::_List_node_base*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::ostream::operator<<(int) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::find(char, unsigned long)const > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > __atomic_fetch_add_8 > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::__throw_logic_error(const char*) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > __cxa_end_catch > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::append(unsigned long, char) > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > __cxa_begin_catch > SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::string::basic_string(const std::string &, unsigned long, unsigned > long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o > std::stringbuf::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode) > SunOS5.11_64_OPT.OBJ/gtest
Matching Mozilla source tree to NSS version?
I have a Mozilla source tree (or rather a fairly shallow fork of a specific version of the Mozilla source tree). How can I identify which version of NSS that source tree matches to? (assume for this that the NSS sources aren't changed as part of the local changes) -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
Identifying the NSS version/tag from a n NSS source tree?
I have an NSS source tree (that is, the contents of security\nss as seen in a Gecko source tree), how can I figure out what version of NSS or what NSS revision/tag it matches up to? -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto
Re: Building NSS 3.32.1 on Solaris
Hi Wan-Teh Thanks for replying and appreciate your help. Modifying the file as you suggested did get us further than before. However, stumbled into another issue during building process (gmake build_nss_all): CC -o SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o -c -xO4 -KPIC -DSVR4 -DSYSV -D__svr4 -D__svr4__ -DSOLARIS -D_REENTRANT -xarch=v9 -DXP_UNIX -UDEBUG -DNDEBUG -DN SS_NO_INIT_SUPPORT -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -Igtest/include/ -Igtest -I../../../dist/SunOS5.11_64_OPT. OBJ/include -I../../../dist/public/gtest -I../../../dist/private/gtest -std=c++0x gtest/src/gtest-all.cc CC: Warning: -xarch=v9 is deprecated, use -m64 -xarch=sparc instead "gtest/src/gtest.cc", line 4108: Warning: Likely null pointer dereference (*(((int *)0))): testing::TestPartResult::~TestPartResult rm -f SunOS5.11_64_OPT.OBJ/libgtest.a ar cr SunOS5.11_64_OPT.OBJ/libgtest.a SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o echo SunOS5.11_64_OPT.OBJ/libgtest.a SunOS5.11_64_OPT.OBJ/libgtest.a rm -f SunOS5.11_64_OPT.OBJ/libgtest1.so CC -xarch=v9 -G -h libgtest1.so -z combreloc -z defs -z ignore -o SunOS5.11_64_OPT.OBJ/libgtest1.so SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o ../../../dist/Su nOS5.11_64_OPT.OBJ/lib/libsectool.a -L../../../dist/SunOS5.11_64_OPT.OBJ/lib -L../../../dist/SunOS5.11_64_OPT.OBJ/lib -lnssutil3 -L../../../dist/SunOS5.11_64_OPT .OBJ/lib -lplc4 -lplds4 -lnspr4 -lssl3 -lsmime3 -lnss3 -lthread -lnsl -lsocket -lposix4 -ldl -lc CC: Warning: -xarch=v9 is deprecated, use -m64 -xarch=sparc instead Undefined first referenced symbol in file std::string::basic_string(const std::string &) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::stringbuf::overflow(int) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::_M_mutate(unsigned long, unsigned long, unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ios_base::ios_base() SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ios_base::~ios_base() SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o operator new[](unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o operator new(unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ostream::write(const char*, long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::stringbuf::_M_sync(char*, unsigned long, unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ctype::_M_widen_init()const SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__throw_out_of_range_fmt(const char*, ...) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::append(const char*, unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::append(const std::string &) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __cxa_allocate_exception SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::insert(unsigned long, const char*, unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::find(const char*, unsigned long, unsigned long)const SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o vtable for __cxxabiv1::__si_class_type_info SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o [Hint: static member vtable for __cxxabiv1::__si_class_type_info must be defined in the program] std::string::swap(std::string &) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ostream::put(char) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::runtime_error::what()const SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__throw_length_error(const char*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __cxa_guard_release SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__detail::_List_node_base::_M_transfer(std::__detail::_List_node_base*, std::__detail::_List_node_base*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::ostream::operator<<(int) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::find(char, unsigned long)const SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __atomic_fetch_add_8 SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__throw_logic_error(const char*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __cxa_end_catch SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::append(unsigned long, char) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __cxa_begin_catch SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::string::basic_string(const std::string &, unsigned long, unsigned long) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::stringbuf::seekpos(std::fpos<__mbstate_t>, std::_Ios_Openmode) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o __cxa_get_exception_ptr SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::__throw_bad_cast() SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::_Rb_tree_increment(std::_Rb_tree_node_base*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o std::stringbuf::underflow() SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o operator delete[](void*) SunOS5.11_64_OPT.OBJ/gtest/src/gtest-all.o operator