[GHC] #9697: ./configure fails due to obselete usage of 'find -perm' in aclocal.m4

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


#9697: ./configure fails due to obselete usage of 'find -perm' in aclocal.m4
-------------------------------------+-------------------------------------
        Reporter:  nich              |                   Owner:
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:  7.10.1
       Component:  Build System      |                 Version:  7.8.3
      Resolution:  fixed             |                Keywords:  aclocal.m4
Operating System:  Unknown/Multiple  |  find perm
 Type of failure:  Building GHC      |            Architecture:
  failed                             |  Unknown/Multiple
      Blocked By:                    |               Test Case:
 Related Tickets:                    |                Blocking:
                                     |  Differential Revisions:
-------------------------------------+-------------------------------------

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/9697#comment:6>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list