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

GHC cvs-ghc at haskell.org
Sun May 26 05:41:56 CEST 2013


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

Comment(by carter):

 in contrast, when I change the ghc settings file to point to clang rather
 than gcc

 i get the following (successful) build output trace

 {{{

 carter code/test » cabal clean ; cabal build -v3
 cleaning...
 Package has never been configured. Configuring with default flags. If this
 fails, please run configure manually.
 searching for ghc in path.
 found ghc at /usr/local/bin/ghc
 ("/usr/local/bin/ghc",["--numeric-version"])
 /usr/local/bin/ghc is version 7.6.2
 looking for tool "ghc-pkg" near compiler in /usr/local/bin
 found ghc-pkg in /usr/local/bin/ghc-pkg
 ("/usr/local/bin/ghc-pkg",["--version"])
 /usr/local/bin/ghc-pkg is version 7.6.2
 ("/usr/local/bin/ghc",["--supported-languages"])
 ("/usr/local/bin/ghc",["--info"])
 Reading installed packages...
 ("/usr/local/bin/ghc-pkg",["dump","--global","-v0"])
 ("/usr/local/bin/ghc-pkg",["dump","--user","-v0"])
 ("/usr/local/bin/ghc",["--print-libdir"])
 Reading available packages...
 Choosing modular solver.
 Resolving dependencies...
 [__0] trying: test-0.1.0.0 (user goal)
 [__1] trying: base-4.6.0.1/installed-251... (dependency of test-0.1.0.0)
 [__2] trying: rts-1.0/installedbuil... (dependency of
 base-4.6.0.1/installed-251...)
 [__3] trying: integer-gmp-0.5.0.0/installed-49d... (dependency of
 base-4.6.0.1/installed-251...)
 [__4] trying: ghc-prim-0.3.0.0/installed-bd1... (dependency of
 base-4.6.0.1/installed-251...)
 [__5] trying: vector-0.10.0.1/installed-04d... (dependency of
 test-0.1.0.0)
 [__6] trying: primitive-0.5.0.1/installed-4ec... (dependency of
 vector-0.10.0.1/installed-04d...)
 [__7] trying: deepseq-1.3.0.1/installed-5a5... (dependency of
 vector-0.10.0.1/installed-04d...)
 [__8] next goal: array (dependency of deepseq-1.3.0.1/installed-5a5...)
 [__8] trying: array-0.4.0.1/installed-bfd...
 [__9] done
 Using internal setup method with build-type Simple and args:
 ["configure","--verbose=3","--builddir=dist","--ghc","--
 prefix=/Users/carter/Library/Haskell/","--bindir=$prefix/bin","--
 libdir=$prefix/lib","--libsubdir=$arch-$os-$compiler/$pkgid","--
 libexecdir=$prefix/libexec","--datadir=$prefix/share","--
 datasubdir=$arch-$os-$compiler/$pkgid","--
 docdir=$datadir/doc/$arch-$os-$compiler/$pkgid","--htmldir=$docdir/html","
 --haddockdir=$htmldir","--enable-library-profiling","--enable-shared
 ","--enable-library-for-ghci","--user","--constraint=vector
 ==0.10.0.1","--constraint=base
 ==4.6.0.1","--disable-tests","--disable-benchmarks"]
 Configuring test-0.1.0.0...
 creating dist
 searching for ghc in path.
 found ghc at /usr/local/bin/ghc
 ("/usr/local/bin/ghc",["--numeric-version"])
 /usr/local/bin/ghc is version 7.6.2
 looking for tool "ghc-pkg" near compiler in /usr/local/bin
 found ghc-pkg in /usr/local/bin/ghc-pkg
 ("/usr/local/bin/ghc-pkg",["--version"])
 /usr/local/bin/ghc-pkg is version 7.6.2
 ("/usr/local/bin/ghc",["--supported-languages"])
 ("/usr/local/bin/ghc",["--info"])
 Reading installed packages...
 ("/usr/local/bin/ghc-pkg",["dump","--global","-v0"])
 ("/usr/local/bin/ghc-pkg",["dump","--user","-v0"])
 ("/usr/local/bin/ghc",["--print-libdir"])
 Warning: The 'license-file' field refers to the file 'LICENSE' which does
 not
 exist.
 Dependency base ==4.6.0.1: using base-4.6.0.1
 Dependency vector ==0.10.0.1: using vector-0.10.0.1
 searching for alex in path.
 found alex at /Users/carter/Library/Haskell/bin/alex
 ("/Users/carter/Library/Haskell/bin/alex",["--version"])
 /Users/carter/Library/Haskell/bin/alex is version 3.0.5
 searching for ar in path.
 found ar at /usr/bin/ar
 searching for c2hs in path.
 found c2hs at /Users/carter/Library/Haskell/bin/c2hs
 ("/Users/carter/Library/Haskell/bin/c2hs",["--numeric-version"])
 /Users/carter/Library/Haskell/bin/c2hs is version 0.16.3
 searching for cpphs in path.
 found cpphs at /Users/carter/Library/Haskell/bin/cpphs
 ("/Users/carter/Library/Haskell/bin/cpphs",["--version"])
 /Users/carter/Library/Haskell/bin/cpphs is version 1.16
 searching for ffihugs in path.
 Cannot find ffihugs on the path
 searching for gcc in path.
 found gcc at /usr/local/bin/gcc
 ("/usr/local/bin/gcc",["-dumpversion"])
 /usr/local/bin/gcc is version 4.8.0
 searching for greencard in path.
 Cannot find greencard on the path
 searching for haddock in path.
 found haddock at /Users/carter/Library/Haskell/bin/haddock
 ("/Users/carter/Library/Haskell/bin/haddock",["--version"])
 /Users/carter/Library/Haskell/bin/haddock is version 2.13.1
 searching for happy in path.
 found happy at /Users/carter/Library/Haskell/bin/happy
 ("/Users/carter/Library/Haskell/bin/happy",["--version"])
 /Users/carter/Library/Haskell/bin/happy is version 1.18.10
 searching for hmake in path.
 Cannot find hmake on the path
 searching for hpc in path.
 found hpc at /usr/local/bin/hpc
 ("/usr/local/bin/hpc",["version"])
 /usr/local/bin/hpc is version 0.6
 looking for tool "hsc2hs" near compiler in /usr/local/bin
 found hsc2hs in /usr/local/bin/hsc2hs
 ("/usr/local/bin/hsc2hs",["--version"])
 /usr/local/bin/hsc2hs is version 0.67
 searching for HsColour in path.
 found HsColour at /Users/carter/Library/Haskell/bin/HsColour
 ("/Users/carter/Library/Haskell/bin/HsColour",["-version"])
 /Users/carter/Library/Haskell/bin/HsColour is version 1.20
 searching for hugs in path.
 Cannot find hugs on the path
 searching for jhc in path.
 Cannot find jhc on the path
 searching for ld in path.
 found ld at /usr/bin/ld
 ("/usr/local/bin/ghc",["-c","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405.c","-o","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405.o"])

 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405.c:1:12:
      warning: control reaches end of non-void function [-Wreturn-type]
 int foo() {}
            ^
 1 warning generated.
 ("/usr/bin/ld",["-x","-r","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405.o","-o","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13406.o"])
 searching for lhc in path.
 Cannot find lhc on the path
 searching for lhc-pkg in path.
 Cannot find lhc-pkg on the path
 searching for nhc98 in path.
 Cannot find nhc98 on the path
 searching for pkg-config in path.
 found pkg-config at /usr/local/bin/pkg-config
 ("/usr/local/bin/pkg-config",["--version"])
 /usr/local/bin/pkg-config is version 0.28
 searching for ranlib in path.
 found ranlib at /usr/bin/ranlib
 searching for strip in path.
 found strip at /usr/bin/strip
 searching for tar in path.
 found tar at /usr/bin/tar
 searching for uhc in path.
 Cannot find uhc on the path
 ("/usr/local/bin/ghc",["--info"])
 Using Cabal-1.17.0 compiled by ghc-7.6
 Using compiler: ghc-7.6.2
 Using install prefix: /Users/carter/Library/Haskell/
 Binaries installed in: /Users/carter/Library/Haskell//bin
 Libraries installed in:
 /Users/carter/Library/Haskell//lib/x86_64-osx-ghc-7.6.2/test-0.1.0.0
 Private binaries installed in: /Users/carter/Library/Haskell//libexec
 Data files installed in:
 /Users/carter/Library/Haskell//share/x86_64-osx-ghc-7.6.2/test-0.1.0.0
 Documentation installed in:
 /Users/carter/Library/Haskell//share/doc/x86_64-osx-ghc-7.6.2/test-0.1.0.0
 Using alex version 3.0.5 found on system at:
 /Users/carter/Library/Haskell/bin/alex
 Using ar found on system at: /usr/bin/ar
 Using c2hs version 0.16.3 found on system at:
 /Users/carter/Library/Haskell/bin/c2hs
 Using cpphs version 1.16 found on system at:
 /Users/carter/Library/Haskell/bin/cpphs
 No ffihugs found
 Using gcc version 4.8.0 found on system at: /usr/local/bin/gcc
 Using ghc version 7.6.2 found on system at: /usr/local/bin/ghc
 Using ghc-pkg version 7.6.2 found on system at: /usr/local/bin/ghc-pkg
 No greencard found
 Using haddock version 2.13.1 found on system at:
 /Users/carter/Library/Haskell/bin/haddock
 Using happy version 1.18.10 found on system at:
 /Users/carter/Library/Haskell/bin/happy
 No hmake found
 Using hpc version 0.6 found on system at: /usr/local/bin/hpc
 Using hsc2hs version 0.67 found on system at: /usr/local/bin/hsc2hs
 Using hscolour version 1.20 found on system at:
 /Users/carter/Library/Haskell/bin/HsColour
 No hugs found
 No jhc found
 Using ld found on system at: /usr/bin/ld
 No lhc found
 No lhc-pkg found
 No nhc98 found
 Using pkg-config version 0.28 found on system at: /usr/local/bin/pkg-
 config
 Using ranlib found on system at: /usr/bin/ranlib
 Using strip found on system at: /usr/bin/strip
 Using tar found on system at: /usr/bin/tar
 No uhc found
 ("/usr/local/bin/gcc",["-m64","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405.c","-o","/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/13405","-D__GLASGOW_HASKELL__=706","-Ddarwin_HOST_OS=1","-Dx86_64_HOST_ARCH=1","-Idist/build/autogen","-I.","-march=native","-O3","-I/Users/carter/Library/Haskell//lib/x86_64
 -osx-
 ghc-7.6.2/vector-0.10.0.1/include","-I/Users/carter/Library/Haskell//lib/x86_64
 -osx-
 ghc-7.6.2/primitive-0.5.0.1/include","-I/usr/local/lib/ghc-7.6.2/base-4.6.0.1/include","-I/usr/local/lib/ghc-7.6.2/include","-march=native","-O3","-L/Users/carter/Library/Haskell//lib/x86_64
 -osx-
 ghc-7.6.2/vector-0.10.0.1","-L/Users/carter/Library/Haskell//lib/x86_64
 -osx-
 ghc-7.6.2/primitive-0.5.0.1","-L/usr/local/lib/ghc-7.6.2/deepseq-1.3.0.1","-L/usr/local/lib/ghc-7.6.2/array-0.4.0.1","-L/usr/local/lib/ghc-7.6.2/base-4.6.0.1","-L/usr/local/lib/ghc-7.6.2
 /integer-gmp-0.5.0.0","-L/usr/local/lib/ghc-7.6.2/ghc-
 prim-0.3.0.0","-L/usr/local/lib/ghc-7.6.2"])
 Using internal setup method with build-type Simple and args:
 ["build","--verbose=3","--builddir=dist"]
 Component build order: executable 'test'
 creating dist/build
 creating dist/build/autogen
 Building test-0.1.0.0...
 Preprocessing executable 'test' for test-0.1.0.0...
 Building executable test...
 creating dist/build/test
 creating dist/build/test/test-tmp
 ("/usr/local/bin/ghc",["--make","-no-link","-v","-fbuilding-cabal-
 package","-O","-static","-odir","dist/build/test/test-
 tmp","-hidir","dist/build/test/test-tmp","-stubdir","dist/build/test/test-
 tmp","-i","-idist/build/test/test-
 tmp","-isrc","-idist/build/autogen","-Idist/build/autogen","-Idist/build/test
 /test-tmp","-optP-include","-optPdist/build/autogen/cabal_macros.h
 ","-hide-all-packages","-package-db","dist/package.conf.inplace
 ","-package-id","base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29","-package-
 id","vector-0.10.0.1-04d4a4538e7c444d2821bb98877cda5f","-XHaskell2010","src/main.hs","-fllvm","-v","-pgma","clang","-pgmc","clang","-pgml","clang","-opta","-mavx","-opta","-march=native","-optc","-mavx","-optc","-march=native","-optc","-O2"])
 Glasgow Haskell Compiler, Version 7.6.2, stage 2 booted by GHC version
 7.4.2
 Using binary package database:
 /usr/local/lib/ghc-7.6.2/package.conf.d/package.cache
 Using binary package database:
 /Users/carter/.ghc/x86_64-darwin-7.6.2/package.conf.d/package.cache
 Using package config file: dist/package.conf.inplace
 package Cabal-1.17.0-38434fa60f61a5b61574f6aba8367e79 is shadowed by
 package Cabal-1.17.0-b9e1bc8708d659bcedd2261fc5afabdc
 wired-in package ghc-prim mapped to ghc-
 prim-0.3.0.0-bd1d393903577692a5ef2aa7027b71f6
 wired-in package integer-gmp mapped to integer-
 gmp-0.5.0.0-49dcb29a60dab14e03e6dd01e871a242
 wired-in package base mapped to
 base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29
 wired-in package rts mapped to builtin_rts
 wired-in package template-haskell mapped to template-
 haskell-2.8.0.0-0ad833f8876aca146ee7fa686b5bc01a
 wired-in package dph-seq not found.
 wired-in package dph-par not found.
 Hsc static flags: -static -static
 *** Chasing dependencies:
 Chasing modules from: *src/main.hs
 Stable obj: []
 Stable BCO: []
 Ready for upsweep
   [NONREC
       ModSummary {
          ms_hs_date = 2013-05-21 18:00:15 UTC
          ms_mod = main:Main,
          ms_textual_imps = [import (implicit) Prelude,
                             import qualified Data.Vector.Storable as S,
 import Foreign.C.Types,
                             import Foreign (), import Foreign.Ptr,
                             import qualified Data.Vector.Storable.Mutable
 as SM]
          ms_srcimps = []
       }]
 *** Deleting temp files:
 Deleting:
 compile: input file src/main.hs
 Created temporary directory:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0
 *** Checking old interface for main:Main:
 [1 of 1] Compiling Main             ( src/main.hs, dist/build/test/test-
 tmp/Main.o )
 *** Parser:
 *** Renamer/typechecker:
 *** Desugar:
 Result size of Desugar (after optimization)
   = {terms: 140, types: 153, coercions: 26}
 *** Simplifier:
 Result size of Simplifier iteration=1
   = {terms: 168, types: 187, coercions: 45}
 Result size of Simplifier iteration=2
   = {terms: 156, types: 191, coercions: 45}
 Result size of Simplifier iteration=3
   = {terms: 152, types: 182, coercions: 45}
 Result size of Simplifier = {terms: 152, types: 182, coercions: 45}
 *** Specialise:
 Result size of Specialise = {terms: 152, types: 182, coercions: 45}
 *** Float out(FOS {Lam = Just 0, Consts = True, PAPs = False}):
 Result size of Float out(FOS {Lam = Just 0,
                               Consts = True,
                               PAPs = False})
   = {terms: 194, types: 254, coercions: 45}
 *** Float inwards:
 Result size of Float inwards
   = {terms: 194, types: 254, coercions: 45}
 *** Simplifier:
 Result size of Simplifier iteration=1
   = {terms: 552, types: 698, coercions: 291}
 Result size of Simplifier iteration=2
   = {terms: 338, types: 346, coercions: 69}
 Result size of Simplifier iteration=3
   = {terms: 315, types: 309, coercions: 59}
 Result size of Simplifier iteration=4
   = {terms: 315, types: 309, coercions: 59}
 Result size of Simplifier = {terms: 315, types: 309, coercions: 59}
 *** Simplifier:
 Result size of Simplifier iteration=1
   = {terms: 289, types: 278, coercions: 59}
 Result size of Simplifier = {terms: 289, types: 278, coercions: 59}
 *** Simplifier:
 Result size of Simplifier iteration=1
   = {terms: 301, types: 306, coercions: 115}
 Result size of Simplifier iteration=2
   = {terms: 233, types: 226, coercions: 45}
 Result size of Simplifier = {terms: 233, types: 226, coercions: 45}
 *** Demand analysis:
 Result size of Demand analysis
   = {terms: 233, types: 226, coercions: 45}
 *** Worker Wrapper binds:
 Result size of Worker Wrapper binds
   = {terms: 233, types: 226, coercions: 45}
 *** Simplifier:
 Result size of Simplifier = {terms: 233, types: 226, coercions: 45}
 *** Float out(FOS {Lam = Just 0, Consts = True, PAPs = True}):
 Result size of Float out(FOS {Lam = Just 0,
                               Consts = True,
                               PAPs = True})
   = {terms: 235, types: 228, coercions: 45}
 *** Common sub-expression:
 Result size of Common sub-expression
   = {terms: 235, types: 228, coercions: 45}
 *** Float inwards:
 Result size of Float inwards
   = {terms: 235, types: 228, coercions: 45}
 *** Simplifier:
 Result size of Simplifier = {terms: 235, types: 228, coercions: 45}
 *** Tidy Core:
 Result size of Tidy Core = {terms: 235, types: 228, coercions: 45}
 writeBinIface: 13 Names
 writeBinIface: 62 dict entries
 *** CorePrep:
 Result size of CorePrep = {terms: 263, types: 254, coercions: 45}
 *** Stg2Stg:
 *** CodeOutput:
 *** CodeGen:
 *** LlVM CodeGen:
 You are using a new version of LLVM that hasn't been tested yet!
 We will try though...
 *** LLVM Optimiser:
 'opt'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.ll'
 '-o'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.bc'
 '-O1' '--enable-tbaa=true'
 *** LLVM Compiler:
 'llc' '-O2' '-relocation-model=pic'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.bc'
 '-o'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.lm_s'
 '--enable-tbaa=true'
 *** LlVM Mangler:
 *** Clang (Assembler):
 'clang' '-m64' '-Isrc' '-Idist/build/test/test-tmp' '-Idist/build/autogen'
 '-Idist/build/test/test-tmp' '-c'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.s'
 '-o' 'dist/build/test/test-tmp/Main.o'
 Upsweep completely successful.
 *** Deleting temp files:
 Deleting:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.s
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.lm_s
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.bc
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.c
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.ll
 Warning: deleting non-existent
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0/ghc13446_0.c
 *** Deleting temp files:
 Deleting:
 *** Deleting temp dirs:
 Deleting: /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13446_0
 Building C Sources...
 creating dist/build/test/test-tmp
 ("/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"])
 Glasgow Haskell Compiler, Version 7.6.2, stage 2 booted by GHC version
 7.4.2
 Using binary package database:
 /usr/local/lib/ghc-7.6.2/package.conf.d/package.cache
 Using binary package database:
 /Users/carter/.ghc/x86_64-darwin-7.6.2/package.conf.d/package.cache
 Using package config file: dist/package.conf.inplace
 package Cabal-1.17.0-38434fa60f61a5b61574f6aba8367e79 is shadowed by
 package Cabal-1.17.0-b9e1bc8708d659bcedd2261fc5afabdc
 hiding package hashable-1.1.2.5 to avoid conflict with later version
 hashable-1.2.0.5
 hiding package unordered-containers-0.2.3.0 to avoid conflict with later
 version unordered-containers-0.2.3.1
 wired-in package ghc-prim mapped to ghc-
 prim-0.3.0.0-bd1d393903577692a5ef2aa7027b71f6
 wired-in package integer-gmp mapped to integer-
 gmp-0.5.0.0-49dcb29a60dab14e03e6dd01e871a242
 wired-in package base mapped to
 base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29
 wired-in package rts mapped to builtin_rts
 wired-in package template-haskell mapped to template-
 haskell-2.8.0.0-0ad833f8876aca146ee7fa686b5bc01a
 wired-in package dph-seq not found.
 wired-in package dph-par not found.
 Hsc static flags: -static -static
 Created temporary directory:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13454_0
 *** C Compiler:
 'clang' '-m64' '-fno-stack-protector' '-m64' '-x' 'c' 'cbits/daft.c' '-o'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13454_0/ghc13454_0.s'
 '-fno-common' '-U __PIC__' '-D__PIC__' '-Wimplicit' '-S' '-O'
 '-D__GLASGOW_HASKELL__=706' '-DTABLES_NEXT_TO_CODE' '-march=native' '-O3'
 '-O2' '-I' 'dist/build/test/test-tmp' '-I'
 '/Users/carter/Library/Haskell//lib/x86_64-osx-
 ghc-7.6.2/vector-0.10.0.1/include' '-I'
 '/Users/carter/Library/Haskell//lib/x86_64-osx-
 ghc-7.6.2/primitive-0.5.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.2/base-4.6.0.1/include' '-I'
 '/usr/local/lib/ghc-7.6.2/include'
 *** Assembler:
 'clang' '-m64' '-fno-stack-protector' '-m64' '-Idist/build/test/test-tmp'
 '-c'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13454_0/ghc13454_0.s'
 '-o' 'dist/build/test/test-tmp/cbits/daft.o'
 *** Deleting temp files:
 Deleting:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13454_0/ghc13454_0.s
 *** Deleting temp dirs:
 Deleting: /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13454_0
 Linking...
 ("/usr/local/bin/ghc",["--make","-v","-fbuilding-cabal-
 package","-O","-static","-odir","dist/build/test/test-
 tmp","-hidir","dist/build/test/test-tmp","-stubdir","dist/build/test/test-
 tmp","-i","-idist/build/test/test-
 tmp","-isrc","-idist/build/autogen","-Idist/build/autogen","-Idist/build/test
 /test-tmp","-optP-include","-optPdist/build/autogen/cabal_macros.h
 ","-hide-all-packages","-package-db","dist/package.conf.inplace
 ","-package-id","base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29","-package-
 id","vector-0.10.0.1-04d4a4538e7c444d2821bb98877cda5f","-XHaskell2010","src/main.hs","dist/build/test
 /test-
 tmp/cbits/daft.o","-o","dist/build/test/test","-fllvm","-v","-pgma","clang","-pgmc","clang","-pgml","clang","-opta","-mavx","-opta","-march=native","-optc","-mavx","-optc","-march=native","-optc","-O2"])
 Glasgow Haskell Compiler, Version 7.6.2, stage 2 booted by GHC version
 7.4.2
 Using binary package database:
 /usr/local/lib/ghc-7.6.2/package.conf.d/package.cache
 Using binary package database:
 /Users/carter/.ghc/x86_64-darwin-7.6.2/package.conf.d/package.cache
 Using package config file: dist/package.conf.inplace
 package Cabal-1.17.0-38434fa60f61a5b61574f6aba8367e79 is shadowed by
 package Cabal-1.17.0-b9e1bc8708d659bcedd2261fc5afabdc
 wired-in package ghc-prim mapped to ghc-
 prim-0.3.0.0-bd1d393903577692a5ef2aa7027b71f6
 wired-in package integer-gmp mapped to integer-
 gmp-0.5.0.0-49dcb29a60dab14e03e6dd01e871a242
 wired-in package base mapped to
 base-4.6.0.1-2514ecbfe6573e639515d3e91d6e1f29
 wired-in package rts mapped to builtin_rts
 wired-in package template-haskell mapped to template-
 haskell-2.8.0.0-0ad833f8876aca146ee7fa686b5bc01a
 wired-in package dph-seq not found.
 wired-in package dph-par not found.
 Hsc static flags: -static -static
 *** Chasing dependencies:
 Chasing modules from: *src/main.hs
 Stable obj: [Main]
 Stable BCO: []
 Ready for upsweep
   [NONREC
       ModSummary {
          ms_hs_date = 2013-05-21 18:00:15 UTC
          ms_mod = main:Main,
          ms_textual_imps = [import (implicit) Prelude,
                             import qualified Data.Vector.Storable as S,
 import Foreign.C.Types,
                             import Foreign (), import Foreign.Ptr,
                             import qualified Data.Vector.Storable.Mutable
 as SM]
          ms_srcimps = []
       }]
 *** Deleting temp files:
 Deleting:
 compile: input file src/main.hs
 Created temporary directory:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0
 *** Checking old interface for main:Main:
 [1 of 1] Skipping  Main             ( src/main.hs, dist/build/test/test-
 tmp/Main.o )
 Upsweep completely successful.
 *** Deleting temp files:
 Deleting:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.ll
 Warning: deleting non-existent
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.ll
 link: linkables are ...
 LinkableM (2013-05-26 03:40:55 UTC) main:Main
    [DotO dist/build/test/test-tmp/Main.o]
 Linking dist/build/test/test ...
 *** C Compiler:
 'clang' '-c'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.c'
 '-o'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.o'
 '-DTABLES_NEXT_TO_CODE' '-mavx' '-march=native' '-O2'
 '-I/usr/local/lib/ghc-7.6.2/include'
 *** Linker:
 'clang' '-o' 'dist/build/test/test' '-Wl,-no_compact_unwind'
 'dist/build/test/test-tmp/Main.o' 'dist/build/test/test-tmp/cbits/daft.o'
 '-L/Users/carter/Library/Haskell//lib/x86_64-osx-
 ghc-7.6.2/vector-0.10.0.1' '-L/Users/carter/Library/Haskell//lib/x86_64
 -osx-ghc-7.6.2/primitive-0.5.0.1'
 '-L/usr/local/lib/ghc-7.6.2/deepseq-1.3.0.1'
 '-L/usr/local/lib/ghc-7.6.2/array-0.4.0.1'
 '-L/usr/local/lib/ghc-7.6.2/base-4.6.0.1' '-L/usr/local/lib/ghc-7.6.2
 /integer-gmp-0.5.0.0' '-L/usr/local/lib/ghc-7.6.2/ghc-prim-0.3.0.0'
 '-L/usr/local/lib/ghc-7.6.2'
 '/var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.o'
 '-lHSvector-0.10.0.1' '-lHSprimitive-0.5.0.1' '-lHSdeepseq-1.3.0.1'
 '-lHSarray-0.4.0.1' '-lHSbase-4.6.0.1' '-liconv' '-lHSinteger-gmp-0.5.0.0'
 '-lHSghc-prim-0.3.0.0' '-lHSrts' '-lm' '-ldl' '-u'
 '_ghczmprim_GHCziTypes_Izh_static_info' '-u'
 '_ghczmprim_GHCziTypes_Czh_static_info' '-u'
 '_ghczmprim_GHCziTypes_Fzh_static_info' '-u'
 '_ghczmprim_GHCziTypes_Dzh_static_info' '-u'
 '_base_GHCziPtr_Ptr_static_info' '-u'
 '_ghczmprim_GHCziTypes_Wzh_static_info' '-u'
 '_base_GHCziInt_I8zh_static_info' '-u' '_base_GHCziInt_I16zh_static_info'
 '-u' '_base_GHCziInt_I32zh_static_info' '-u'
 '_base_GHCziInt_I64zh_static_info' '-u' '_base_GHCziWord_W8zh_static_info'
 '-u' '_base_GHCziWord_W16zh_static_info' '-u'
 '_base_GHCziWord_W32zh_static_info' '-u'
 '_base_GHCziWord_W64zh_static_info' '-u'
 '_base_GHCziStable_StablePtr_static_info' '-u'
 '_ghczmprim_GHCziTypes_Izh_con_info' '-u'
 '_ghczmprim_GHCziTypes_Czh_con_info' '-u'
 '_ghczmprim_GHCziTypes_Fzh_con_info' '-u'
 '_ghczmprim_GHCziTypes_Dzh_con_info' '-u' '_base_GHCziPtr_Ptr_con_info'
 '-u' '_base_GHCziPtr_FunPtr_con_info' '-u'
 '_base_GHCziStable_StablePtr_con_info' '-u'
 '_ghczmprim_GHCziTypes_False_closure' '-u'
 '_ghczmprim_GHCziTypes_True_closure' '-u'
 '_base_GHCziPack_unpackCString_closure' '-u'
 '_base_GHCziIOziException_stackOverflow_closure' '-u'
 '_base_GHCziIOziException_heapOverflow_closure' '-u'
 '_base_ControlziExceptionziBase_nonTermination_closure' '-u'
 '_base_GHCziIOziException_blockedIndefinitelyOnMVar_closure' '-u'
 '_base_GHCziIOziException_blockedIndefinitelyOnSTM_closure' '-u'
 '_base_ControlziExceptionziBase_nestedAtomically_closure' '-u'
 '_base_GHCziWeak_runFinalizzerBatch_closure' '-u'
 '_base_GHCziTopHandler_flushStdHandles_closure' '-u'
 '_base_GHCziTopHandler_runIO_closure' '-u'
 '_base_GHCziTopHandler_runNonIO_closure' '-u'
 '_base_GHCziConcziIO_ensureIOManagerIsRunning_closure' '-u'
 '_base_GHCziConcziSync_runSparks_closure' '-u'
 '_base_GHCziConcziSignal_runHandlers_closure' '-Wl,-search_paths_first'
 link: done
 *** Deleting temp files:
 Deleting:
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.o
 /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0/ghc13460_0.c
 *** Deleting temp dirs:
 Deleting: /var/folders/py/wgp_hj9d2rl3cx48yym_ynj00000gn/T/ghc13460_0

 }}}

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



More information about the ghc-tickets mailing list