[tor-bugs] #26323 [Applications/Tor Browser]: Build 32bit Linux bundles on 64bit systems

Tor Bug Tracker & Wiki blackhole at torproject.org
Sat Feb 2 12:17:15 UTC 2019


#26323: Build 32bit Linux bundles on 64bit systems
-------------------------------------------+--------------------------
 Reporter:  gk                             |          Owner:  tbb-team
     Type:  task                           |         Status:  new
 Priority:  Very High                      |      Milestone:
Component:  Applications/Tor Browser       |        Version:
 Severity:  Normal                         |     Resolution:
 Keywords:  tbb-rbm, TorBrowserTeam201901  |  Actual Points:
Parent ID:  #26468                         |         Points:
 Reviewer:                                 |        Sponsor:
-------------------------------------------+--------------------------

Comment (by boklm):

 I have started working on a patch for this:
 https://gitweb.torproject.org/user/boklm/tor-browser-
 build.git/commit/?h=bug_26323_v2&id=dab50487c24bf04deb5fd3243ba407a6e2697f20

 Currently it fails to build rust, with many undefined reference errors,
 such as:
 {{{
 [ 16%] Building CXX object utils/yaml-bench/CMakeFiles/yaml-
 bench.dir/YAMLBench.cpp.o
 [ 16%] Linking CXX executable ../../bin/not
 ../../lib/libLLVMSupport.a(CommandLine.cpp.o): In function
 `_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag.isra.226':
 CommandLine.cpp:(.text._ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE12_M_constructIPKcEEvT_S8_St20forward_iterator_tag.isra.226+0x6b):
 undefined reference to `std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::_M_create(unsigned long&,
 unsigned long)'
 ../../lib/libLLVMSupport.a(CommandLine.cpp.o): In function
 `_ZN12_GLOBAL__N_114VersionPrinter5printEv.isra.261':
 CommandLine.cpp:(.text._ZN12_GLOBAL__N_114VersionPrinter5printEv.isra.261+0xad):
 undefined reference to `std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::compare(char const*)
 const'
 CommandLine.cpp:(.text._ZN12_GLOBAL__N_114VersionPrinter5printEv.isra.261+0x1f0):
 undefined reference to `std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::_M_replace(unsigned long,
 unsigned long, char const*, unsigned long)'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_fd_ostream::write_impl(char const*, unsigned long)':
 raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostream10write_implEPKcm+0x60):
 undefined reference to `std::_V2::generic_category()'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_string_ostream::write_impl(char const*, unsigned long)':
 raw_ostream.cpp:(.text._ZN4llvm18raw_string_ostream10write_implEPKcm+0x18):
 undefined reference to `std::__cxx11::basic_string<char,
 std::char_traits<char>, std::allocator<char> >::_M_append(char const*,
 unsigned long)'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_fd_ostream::~raw_fd_ostream()':
 raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostreamD2Ev+0xbe): undefined
 reference to `std::__cxx11::basic_string<char, std::char_traits<char>,
 std::allocator<char> >::_M_replace(unsigned long, unsigned long, char
 const*, unsigned long)'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_fd_ostream::raw_fd_ostream(int, bool, bool)':
 raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostreamC2Eibb+0x48): undefined
 reference to `std::_V2::system_category()'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_fd_ostream::raw_fd_ostream(llvm::StringRef, std::error_code&,
 llvm::sys::fs::OpenFlags)':
 raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostreamC2ENS_9StringRefERSt10error_codeNS_3sys2fs9OpenFlagsE+0x86):
 undefined reference to `std::_V2::system_category()'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function
 `llvm::raw_fd_ostream::seek(unsigned long)':
 raw_ostream.cpp:(.text._ZN4llvm14raw_fd_ostream4seekEm+0x3c): undefined
 reference to `std::_V2::generic_category()'
 ../../lib/libLLVMSupport.a(raw_ostream.cpp.o): In function `llvm::outs()':
 }}}

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


More information about the tor-bugs mailing list