[GHC] #7929: -pgma and -pgmc flags dont work as expected on mac

GHC cvs-ghc at haskell.org
Sun May 26 19:53:39 CEST 2013


#7929: -pgma and -pgmc flags dont work as expected on mac
---------------------------+------------------------------------------------
  Reporter:  carter        |          Owner:                
      Type:  bug           |         Status:  closed        
  Priority:  normal        |      Milestone:                
 Component:  Compiler      |        Version:  7.6.3         
Resolution:  invalid       |       Keywords:                
        Os:  MacOS X       |   Architecture:  x86_64 (amd64)
   Failure:  None/Unknown  |     Difficulty:  Unknown       
  Testcase:                |      Blockedby:                
  Blocking:                |        Related:  7922,7678     
---------------------------+------------------------------------------------
Changes (by igloo):

  * status:  new => closed
  * resolution:  => invalid


Comment:

 Aha, thanks for your diagnosis work. However, it looks like the problem
 here is either a Cabal bug, or a problem in your `.cabal` file. The output
 shows that Cabal is calling ghc like this:
 {{{
 ("/usr/local/bin/ghc",["-c","-v","-static","-odir","dist/build/test/test-
 tmp","-Idist/build/test/test-tmp","-optc-
 march=native","-optc-O3","-optc-O2","-package-
 db","dist/package.conf.inplace","-package-
 id","base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29","-package-
 id","vector-0.10.0.1-04d4a4538e7c444d2821bb98877cda5f","cbits/daft.c"])
 }}}
 Note that it is not passing the `-pgm*` flags in this call.

 If you think it's a Cabal bug, then you can file a ticket in their bug
 tracker here: https://github.com/haskell/cabal/issues

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



More information about the ghc-tickets mailing list