[GHC] #8874: Warning: Couldn't figure out linker information!

GHC ghc-devs at haskell.org
Tue Mar 11 09:18:23 UTC 2014


#8874: Warning: Couldn't figure out linker information!
-------------------------+-------------------------------------------------
       Reporter:         |             Owner:
  Lemming                |            Status:  new
           Type:  bug    |         Milestone:
       Priority:         |           Version:  7.8.1-rc2
  normal                 |  Operating System:  Linux
      Component:         |   Type of failure:  Incorrect warning at
  Compiler               |  compile-time
       Keywords:         |         Test Case:
   Architecture:         |          Blocking:
  x86_64 (amd64)         |
     Difficulty:         |
  Unknown                |
     Blocked By:         |
Related Tickets:         |
-------------------------+-------------------------------------------------
 {{{
 $ cabal-1.18.0.2 install --with-ghc=ghc-7.8.0.20140228 utility-ht-0.0.10
 ...
 [ 1 of 24] Compiling Text.Show.HT     ( src/Text/Show/HT.hs,
 dist/build/Text/Show/HT.o )
 [ 2 of 24] Compiling Text.Read.HT     ( src/Text/Read/HT.hs,
 dist/build/Text/Read/HT.o )
 [ 3 of 24] Compiling Data.Strictness.HT ( src/Data/Strictness/HT.hs,
 dist/build/Data/Strictness/HT.o )
 [ 4 of 24] Compiling Control.Monad.HT ( src/Control/Monad/HT.hs,
 dist/build/Control/Monad/HT.o )
 [ 5 of 24] Compiling Data.Tuple.HT    ( src/Data/Tuple/HT.hs,
 dist/build/Data/Tuple/HT.o )
 [ 6 of 24] Compiling Control.Functor.HT ( src/Control/Functor/HT.hs,
 dist/build/Control/Functor/HT.o )
 [ 7 of 24] Compiling Data.Monoid.HT   ( src/Data/Monoid/HT.hs,
 dist/build/Data/Monoid/HT.o )
 [ 8 of 24] Compiling Data.Maybe.HT    ( src/Data/Maybe/HT.hs,
 dist/build/Data/Maybe/HT.o )
 [ 9 of 24] Compiling Data.Ix.Enum     ( src/Data/Ix/Enum.hs,
 dist/build/Data/Ix/Enum.o )
 [10 of 24] Compiling Data.Function.HT.Private (
 src/Data/Function/HT/Private.hs, dist/build/Data/Function/HT/Private.o )
 [11 of 24] Compiling Data.Function.HT ( src/Data/Function/HT.hs,
 dist/build/Data/Function/HT.o )
 [12 of 24] Compiling Data.List.Key.Private ( src/Data/List/Key/Private.hs,
 dist/build/Data/List/Key/Private.o )
 [13 of 24] Compiling Data.List.Key    ( src/Data/List/Key.hs,
 dist/build/Data/List/Key.o )
 [14 of 24] Compiling Data.Ord.HT      ( src/Data/Ord/HT.hs,
 dist/build/Data/Ord/HT.o )
 [15 of 24] Compiling Data.Eq.HT       ( src/Data/Eq/HT.hs,
 dist/build/Data/Eq/HT.o )
 [16 of 24] Compiling Data.Bool.HT.Private ( src/Data/Bool/HT/Private.hs,
 dist/build/Data/Bool/HT/Private.o )
 [17 of 24] Compiling Data.Bool.HT     ( src/Data/Bool/HT.hs,
 dist/build/Data/Bool/HT.o )
 [18 of 24] Compiling Data.List.Match.Private (
 src/Data/List/Match/Private.hs, dist/build/Data/List/Match/Private.o )
 [19 of 24] Compiling Data.List.HT.Private ( src/Data/List/HT/Private.hs,
 dist/build/Data/List/HT/Private.o )
 [20 of 24] Compiling Data.List.HT     ( src/Data/List/HT.hs,
 dist/build/Data/List/HT.o )
 [21 of 24] Compiling Data.Record.HT.Private (
 src/Data/Record/HT/Private.hs, dist/build/Data/Record/HT/Private.o )
 [22 of 24] Compiling Data.Record.HT   ( src/Data/Record/HT.hs,
 dist/build/Data/Record/HT.o )
 [23 of 24] Compiling Data.String.HT   ( src/Data/String/HT.hs,
 dist/build/Data/String/HT.o )
 [24 of 24] Compiling Data.List.Match  ( src/Data/List/Match.hs,
 dist/build/Data/List/Match.o )
 [ 1 of 24] Compiling Text.Show.HT     ( src/Text/Show/HT.hs,
 dist/build/Text/Show/HT.p_o )

 <no location info>:
     Warning: Couldn't figure out linker information!
              Make sure you're using GNU gcc, or clang
 [ 2 of 24] Compiling Text.Read.HT     ( src/Text/Read/HT.hs,
 dist/build/Text/Read/HT.p_o )
 [ 3 of 24] Compiling Data.Strictness.HT ( src/Data/Strictness/HT.hs,
 dist/build/Data/Strictness/HT.p_o )
 [ 4 of 24] Compiling Control.Monad.HT ( src/Control/Monad/HT.hs,
 dist/build/Control/Monad/HT.p_o )
 ...
 }}}

 The warning only appears for the first module in profiling mode.
 What does the warning mean?

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


More information about the ghc-tickets mailing list