Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Trac
Trac
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 246
    • Issues 246
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Operations
    • Operations
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Create a new issue
  • Issue Boards

GitLab is used only for code review, issue tracking and project management. Canonical locations for source code are still https://gitweb.torproject.org/ https://git.torproject.org/ and git-rw.torproject.org.

  • Legacy
  • TracTrac
  • Issues
  • #22361

Closed (moved)
Open
Opened May 24, 2017 by boklm@boklm

Some binaries are missing RELRO in latest linux nightly builds

In the latest nightly builds, the following binaries are missing RELRO:

TorBrowser/Tor/libcrypto.so.1.0.0
TorBrowser/Tor/libevent-2.0.so.5
TorBrowser/Tor/libgmp.so.10
TorBrowser/Tor/libssl.so.1.0.0

When integrating Selfrando (#20683 (moved)), we added our build of gcc and binutil to the PATH, to use them for building elfutils and selfrando. However, our gcc and binutils are now also used for the following builds that are done in gitian/descriptors/linux/gitian-utils.yml. This also means that the hardening wrappers are not used anymore.

To fix that, we can either:

  • reset the PATH and LD_LIBRARY_PATH to their previous value after building selfrando, to keep using the system compiler (and the hardened wrapper) for the other components
  • use our gcc build to build the other components, but copy hardened-cc to our gcc build directory, in the same way that we are doing in gitian/descriptors/linux/gitian-firefox.yml, to make sure we are using the hardening wrapper
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: legacy/trac#22361