[tor-bugs] #16472 [Applications/Tor Browser]: Upgrade Binutils to 2.25+ for Tor Browser builds

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Feb 15 13:08:05 UTC 2018


#16472: Upgrade Binutils to 2.25+ for Tor Browser builds
--------------------------------------+--------------------------
 Reporter:  gk                        |          Owner:  tbb-team
     Type:  task                      |         Status:  new
 Priority:  Medium                    |      Milestone:
Component:  Applications/Tor Browser  |        Version:
 Severity:  Normal                    |     Resolution:
 Keywords:  tbb-rbm, boklm201802      |  Actual Points:
Parent ID:  #12968                    |         Points:
 Reviewer:                            |        Sponsor:
--------------------------------------+--------------------------

Comment (by boklm):

 After updating binutils to 2.30, the Linux x86_64 version builds fine,
 however the Linux i686 one fails while building firefox with:
 {{{
 + exec /var/tmp/dist/gcc/bin/g++
 -B/var/tmp/dist/selfrando/Tools/TorBrowser/tc-wrapper -ffunction-sections
 -fdata-sections -fPIC -std=gnu++11 -Wall -Wc++11-compat -Wempty-body
 -Wignored-qualifiers -Woverloaded-virtual -Wpointer-arith -Wsign-compare
 -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof
 -Wc++14-compat -Wno-error=maybe-uninitialized -Wno-error=deprecated-
 declarations -Wno-error=array-bounds -fno-lifetime-dse -m32 -fno-
 exceptions -fno-strict-aliasing -fno-rtti -fno-exceptions -fno-math-errno
 -pthread -pipe -g -freorder-blocks -Os -fomit-frame-pointer -fPIC -shared
 -Wl,-z,defs -Wl,-h,libfakeopenh264.so -o libfakeopenh264.so /var/tmp/build
 /firefox-017a7ad9488d/obj-i686-pc-linux-gnu/dom/media/gmp-plugin-
 openh264/tmpnYmh7y.list -lpthread -m32 -Wl,-z,noexecstack -Wl,-z,text -Wl
 ,--build-id -Wl,-rpath-link,/var/tmp/build/firefox-017a7ad9488d/obj-i686
 -pc-linux-gnu/dist/bin -Wl,-rpath-link,/usr/local/lib
 collect2: fatal error: ld terminated with signal 6 [Aborted]
 compilation terminated.
 /var/tmp/dist/binutils/bin/ld.gold.real: error: /tmp/trapobj-T5OaCF37Jw:
 relocation R_386_GOTOFF against preemptible symbol kLogStrings cannot be
 used when making a shared object
 Linker execution failed, status: 1
 ld: src/Support/posix/Debug.cpp:36: void Error::printf(const char*, ...):
 Assertion `false' failed.
 make[5]: *** [libfakeopenh264.so] Error 1
 make[5]: Leaving directory `/var/tmp/build/firefox-017a7ad9488d/obj-i686
 -pc-linux-gnu/dom/media/gmp-plugin-openh264'
 make[4]: *** [dom/media/gmp-plugin-openh264/target] Error 2
 }}}

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


More information about the tor-bugs mailing list