[tbb-bugs] #23458 [Applications/Tor Browser]: Check if the pic-executable flag and setting the entry point can force mingw's ld to keep the reloc section

Tor Bug Tracker & Wiki blackhole at torproject.org
Mon Sep 11 16:10:32 UTC 2017


#23458: Check if the pic-executable flag and setting the entry point can force
mingw's ld to keep the reloc section
------------------------------------------+--------------------------------
     Reporter:  boklm                     |      Owner:  boklm
         Type:  task                      |     Status:  assigned
     Priority:  Medium                    |  Milestone:
    Component:  Applications/Tor Browser  |    Version:
     Severity:  Normal                    |   Keywords:
                                          |  TorBrowserTeam201709
Actual Points:                            |  Parent ID:
       Points:                            |   Reviewer:
      Sponsor:                            |
------------------------------------------+--------------------------------
 We use a binutils patch to force ld to to keep the reloc section:
 https://gitweb.torproject.org/builders/tor-browser-
 build.git/tree/projects/binutils/enable-reloc-section-ld.patch

 FFmpeg is using a workaround to do that:
 https://github.com/TheRyuu/FFmpeg/commit/91b668acd6decec0a6f8d20bf56e2644f96adcb9

 We should check if this workaround works for us too. Using this workaround
 might be easier than fixing the binutils patch to make it work for x86_64
 builds, for #23228.

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


More information about the tbb-bugs mailing list