[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-bugs] #13359 [Tor Browser]: Linux: update fails because bundled libstdc++.so.6 is not found



#13359: Linux: update fails because bundled libstdc++.so.6 is not found
-----------------------------+----------------------
     Reporter:  mcs          |      Owner:  gk
         Type:  defect       |     Status:  new
     Priority:  normal       |  Milestone:
    Component:  Tor Browser  |    Version:
   Resolution:               |   Keywords:  ff31-esr
Actual Points:               |  Parent ID:
       Points:               |
-----------------------------+----------------------

Comment (by gk):

 An update: First, 4) in comment:5 is no urgent issue either as an update
 with FTE enabled along the lines of the steps I outlined in comment:4 is
 working as well. Apart from that is no pluggable transport currently
 compiled with GCC 4.9.1, so there is no new libstdc++ requirement as in
 Firefox related code. Second, I compiled the browser with
 {{{
 export LDFLAGS='-Wl,-rpath,\$${ORIGIN}
 }}}
 This gives me for tor a proper RPATH (i.e. ${ORIGIN}) and is working. For
 the browser, however, I get that as RUNPATH. This is likely due to the
 gold linker. See: https://sourceware.org/bugzilla/show_bug.cgi?id=15098
 and the likely culprit:
 https://sourceware.org/git/?p=binutils.git;a=commit;h=0e0646ad6f21c4d6230c31f452b73f133f4b5777.
 We might want to make sure this issue does not affect us. Examining the
 libs I realized that we want a more fine-grained approach, too. E.g. there
 are libraries that have the RUNPATH set although there is no need to as
 there are no libstdc++ dependencies and there are the libraries in
 /components that have the wrong RUNPATH: ${ORIGIN} is not correct in this
 case as the libstdc++ is not in /components. Hence, the system libstdc++
 is used.

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/13359#comment:11>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs