Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • T tor-browser-build
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Matthew Finkel
  • tor-browser-build
  • Repository
Switch branch/tag
  • tor-browser-build
  • projects
  • snowflake
  • build
Find file BlameHistoryPermalink
  • David Fifield's avatar
    Bug 27827: pass -tmpdir to the linker in snowflake build · f92f149e
    David Fifield authored Oct 16, 2018
    The update to go 1.11.1 fixed part of #27827, namely the
    /tmp/go-buildRANDOMNUM paths embedded in the binary. However there is
    still a single /tmp/go-link-RANDOMNUM/go.o path remaining -- it comes
    from here:
    https://github.com/golang/go/blob/go1.11.1/src/cmd/link/internal/ld/lib.go#L935-L946
    The random path affects the Go build ID even if we overwrite the random
    digits in the binary.
    
    Luckily there's a -tmpdir flag that lets us override the random path.
    f92f149e

Replace build

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.