[GHC] #14221: yaml-0.8.23.3 fails to build with -g

GHC ghc-devs at haskell.org
Tue Sep 12 07:57:54 UTC 2017


#14221: yaml-0.8.23.3 fails to build with -g
-------------------------------------+-------------------------------------
           Reporter:  bgamari        |             Owner:  (none)
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:  8.4.1
          Component:  Compiler       |           Version:  8.2.1
  (NCG)                              |
           Keywords:                 |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 `yaml-0.8.23.3` fails to build with an assembler error,
 {{{
 $ cabal unpack yaml-0.8.23.3
 $ ghc Data/Yaml/Internal.hs -O -g
 [1 of 2] Compiling Text.Libyaml     ( Text/Libyaml.hs, Text/Libyaml.o )
 [Data.Conduit changed]
 [2 of 2] Compiling Data.Yaml.Internal ( Data/Yaml/Internal.hs,
 Data/Yaml/Internal.o )
 /tmp/ghc17780_0/ghc_9.s: Assembler messages:

 /tmp/ghc17780_0/ghc_9.s:64575:0: error:
      Error: can't resolve `.LcJO0_entry_end' {*UND* section} -
 `cJO0_entry' {*UND* section}
       |
 64575 |         .quad .LcJO0_entry_end-cJO0_entry
       | ^
 `gcc' failed in phase `Assembler'. (Exit code: 1)
 }}}

 Strangely enough, the symbols `.LcJO0` and `.LcJO0_end` are defined in the
 resulting assembler, but not `.LcJO0_entry_end` nor `cJO0_entry`. I
 suspect the backend

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


More information about the ghc-tickets mailing list