[GHC] #8798: Missing symbols with -fprof-auto-calls

GHC ghc-devs at haskell.org
Tue Feb 18 17:32:05 UTC 2014


#8798: Missing symbols with -fprof-auto-calls
-------------------------------------+------------------------------------
        Reporter:  edsko             |            Owner:
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.6.3
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:
-------------------------------------+------------------------------------

Comment (by rwbarton):

 I can reproduce this in 7.8. The error from the Linux linker is a little
 more informative:

 {{{
 Building autocallsbug-0.1.0.0...
 Preprocessing executable 'autocallsbug' for autocallsbug-0.1.0.0...
 [1 of 1] Compiling Main             ( Main.hs, dist/build/autocallsbug
 /autocallsbug-tmp/Main.p_o )
 Linking dist/build/autocallsbug/autocallsbug ...
 /home/rwbarton/.cabal/lib/x86_64-linux-ghc-7.8.0.20140204/xml-
 conduit-1.1.0.9/libHSxml-conduit-1.1.0.9_p.a(Parse.p_o): In function
 `c1noU_info':
 /tmp/ghc14255_0/ghc14255_28.p_o:(.text+0x8ca17): undefined reference to
 `attoparseczm0zi11zi1zi0_DataziAttoparsecziInternalziTypes_manyzimanyzuv_Cb_cc'
 /home/rwbarton/.cabal/lib/x86_64-linux-ghc-7.8.0.20140204/xml-
 conduit-1.1.0.9/libHSxml-conduit-1.1.0.9_p.a(Parse.p_o): In function
 `c1oKY_info':
 /tmp/ghc14255_0/ghc14255_28.p_o:(.text+0x9619f): undefined reference to
 `attoparseczm0zi11zi1zi0_DataziAttoparsecziInternalziTypes_manyzimanyzuv_Cb_cc'
 collect2: error: ld returned 1 exit status
 }}}

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


More information about the ghc-tickets mailing list