Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • GHC GHC
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 5,347
    • Issues 5,347
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 566
    • Merge requests 566
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Glasgow Haskell CompilerGlasgow Haskell Compiler
  • GHCGHC
  • Merge requests
  • !6003

Linker/darwin: Properly honour -fno-use-rpaths

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Matthew Pickering requested to merge wip/t20004 into master Jun 17, 2021
  • Overview 7
  • Commits 1
  • Pipelines 1
  • Changes 7

The specification is now simple

  • On linux, use -Xlinker -rpath -Xlinker to set the rpath of the executable
  • On darwin, never use -Xlinker -rpath -Xlinker, always inject the rpath afterwards, see runInjectRPaths.
  • If -fno-use-rpaths is passed then never inject anything into the rpath.

Fixes #20004 (closed)

cc @angerman for review as the architect of the current logic.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: wip/t20004