Opened 5 years ago

Closed 5 years ago

Last modified 4 years ago

#9054 closed bug (fixed)

runghc-<version> does not call ghc of the same version

Reported by: EyalLotem Owned by:
Priority: normal Milestone: 8.0.1
Component: Compiler Version: 7.8.2
Keywords: Cc:
Operating System: Unknown/Multiple Architecture: Unknown/Multiple
Type of failure: None/Unknown Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s): Phab:D664
Wiki Page:

Description

When I ran runghc-7.6.3, it actually executed "/usr/local/bin/ghc" which points to ghc-7.8.2.

The offending line is inside the runghc-<version> script:

exec "$executablename" -f "$bindir/ghc" ${1+"$@"}

Which should be:

exec "$executablename" -f "$bindir/ghc-<version>" ${1+"$@"}

Change History (4)

comment:1 Changed 5 years ago by thomie

Differential Rev(s): Phab:D664
Milestone: 7.12.1
Status: newpatch

comment:2 Changed 5 years ago by Austin Seipp <austin@…>

In 6d17125dccda76b7aafe33181df822045ff5b9bf/ghc:

runghc: be explicit about ghc version (#9054)

Summary: runghc-7.x should always call ghc-7.x

Reviewers: austin

Reviewed By: austin

Subscribers: thomie

Differential Revision: https://phabricator.haskell.org/D664

GHC Trac Issues: #9054

comment:3 Changed 5 years ago by thoughtpolice

Resolution: fixed
Status: patchclosed

Merged, thanks!

comment:4 Changed 4 years ago by thoughtpolice

Milestone: 7.12.18.0.1

Milestone renamed

Note: See TracTickets for help on using tickets.