[tbb-bugs] #23231 [Applications/Tor Browser]: Error in STL wrappers when building firefox for Windows 64

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Aug 14 07:17:39 UTC 2017


#23231: Error in STL wrappers when building firefox for Windows 64
--------------------------------------+--------------------------
 Reporter:  boklm                     |          Owner:  tbb-team
     Type:  task                      |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:                            |  Actual Points:
Parent ID:  #23229                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by boklm):

 The full error is:
 {{{
 Executing: /var/tmp/dist/mingw-w64/helpers/x86_64-w64-mingw32-g++
 -std=gnu++11 -mwindows -shared -Wl,--out-implib -Wl,libmozglue.a -o
 mozglue.dll /var/tmp/build/firefox-
 af0ca6a886c7/obj-mingw/mozglue/build/tmp8l87fh.list module.res
 -specs=/var/tmp/dist/mingw-w64/msvcr100.spec -static mozglue.def
 -DELAYLOAD:user32.dll -luuid -lgdi32 -lwi
 nmm -lwsock32 -luserenv -lsecur32 -ldbghelp -lversion -ldelayimp
 /var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/mozglue/build/tmp8l87fh.list:
     INPUT("SSE.o")
     INPUT("WindowsDllBlocklist.o")
     INPUT("dummy.o")
     INPUT("../../memory/mozalloc/winheap.o")
     INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o")
     INPUT("../misc/StackWalk.o")
     INPUT("../misc/TimeStamp.o")
     INPUT("../misc/TimeStamp_windows.o")
     INPUT("../../mfbt/Compression.o")
     INPUT("../../mfbt/Decimal.o")
     INPUT("../../mfbt/Unified_cpp_mfbt0.o")
     INPUT("../../mfbt/Unified_cpp_mfbt1.o")

 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:58:
 multiple definition of `std::__throw_bad_exception()'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:43: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:62:
 multiple definition of `std::__throw_bad_alloc()'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:49: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:66:
 multiple definition of `std::__throw_bad_cast()'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:55: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:70:
 multiple definition of `std::__throw_bad_typeid()'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:61: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:74:
 multiple definition of `std::__throw_logic_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:74: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3
 /src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:78:
 multiple definition of `std::__throw_domain_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:80: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:82:
 multiple definition of `std::__throw_invalid_argument(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:86: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:86:
 multiple definition of `std::__throw_length_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:92: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:90:
 multiple definition of `std::__throw_out_of_range(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:98: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:110:
 multiple definition of `std::__throw_runtime_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:104: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:114:
 multiple definition of `std::__throw_range_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:110: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:118:
 multiple definition of `std::__throw_overflow_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:116: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:122:
 multiple definition of `std::__throw_underflow_error(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:122: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:126:
 multiple definition of `std::__throw_ios_failure(char const*)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:128: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:130:
 multiple definition of `std::__throw_system_error(int)'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:134: first defined here
 /var/tmp/dist/mingw-w64/lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/lib/libstdc++.a(functexcept.o):/var/tmp/build/gcc/x86_64-w64-mingw32/libstdc++-v3/src/c++11/../../../../gcc-5.4.0/libstdc++-v3/src/c++11/functexcept.cc:139:
 multiple definition of `std::__throw_bad_function_call()'
 ../misc/TimeStamp.o:/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/dist/include/mozilla/throw_gcc.h:68: first defined here
 collect2: error: ld returned 1 exit status
 make[5]: *** [mozglue.dll] Error 1
 make[5]: Leaving directory `/var/tmp/build/firefox-af0ca6a886c7/obj-
 mingw/mozglue/build'
 make[4]: *** [mozglue/build/target] Error 2
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/23231#comment:2>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list