[GHC] #7661: GHC build system does not detect opt-3.0 and friends

GHC ghc-devs at haskell.org
Mon Mar 2 17:15:55 UTC 2015


#7661: GHC build system does not detect opt-3.0 and friends
----------------------------------------+----------------------------------
        Reporter:  singpolyma           |            Owner:  dterei
            Type:  feature request      |           Status:  closed
        Priority:  normal               |        Milestone:
       Component:  Compiler             |          Version:  7.7
      Resolution:  fixed                |         Keywords:
Operating System:  Unknown/Multiple     |     Architecture:
 Type of failure:  Building GHC failed  |  Unknown/Multiple
        Blocking:                       |       Blocked By:
                                        |  Related Tickets:
----------------------------------------+----------------------------------

Comment (by Austin Seipp <austin@…>):

 In [changeset:"1dfab7a8ace5f09f00f8fb695932b4324e88b822/ghc"]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="1dfab7a8ace5f09f00f8fb695932b4324e88b822"
 Fix detection of llvm-x.x

 Summary:
 Four bug fixes and a little refactoring.
 * `find -perm \mode` should be `find -perm /mode` (#9697)

 * `find -regex '$3' should be `find -regex "$3"` (#7661)

 From `man sh` on my system (Ubuntu 14.04):
 "Enclosing characters in single quotes preserves the literal meaning of
 all
 the characters ..."

 * LlcCmd and OptCmd should be passed to ghc, using `-pgmlo` and `-pgmlc`,
 for
   detection of #9439.

 * -pgmlo and -pgmlc were undocumented because of an xml tag misplacement.

 Test Plan:
 The aclocal.m4 macro has seen about 10 iterations since its inception.
 Without a
 testsuite, I can't guarantee this version is bug free either. It's all
 pretty
 frustrating.

 Reviewers: bgamari, austin

 Reviewed By: austin

 Subscribers: thomie

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

 GHC Trac Issues: #9697, #7661, #9439
 }}}

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7661#comment:18>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list