[GHC] #11828: Linker.c doesn't build on OS X due to signedness mismatch

GHC ghc-devs at haskell.org
Wed Apr 13 11:59:35 UTC 2016


#11828: Linker.c doesn't build on OS X due to signedness mismatch
-------------------------------------+-------------------------------------
        Reporter:  bgamari           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  high              |            Milestone:  8.0.1
       Component:  Runtime System    |              Version:  8.0.1-rc3
  (Linker)                           |
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Building GHC      |  Unknown/Multiple
  failed                             |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------
Changes (by bgamari):

 * component:  Compiler => Runtime System (Linker)
 * priority:  normal => high
 * failure:  None/Unknown => Building GHC failed
 * version:  7.10.3 => 8.0.1-rc3
 * milestone:   => 8.0.1


@@ -9,1 +9,1 @@
- Apparently introduced by
+ Apparently introduced by 90538d86af579595987826cd893828d6f379f35a.

New description:

 {{{
 rts/Linker.c:6978:59: error:
      error: assigning to 'unsigned char *' from 'char *' converts between
 pointers to integer types with different sign [-Werror,-Wpointer-sign]
                                 oc->symbols[curSymbol].addr   = addr;
                                                               ^ ~~~~
 }}}

 Apparently introduced by 90538d86af579595987826cd893828d6f379f35a.

--

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


More information about the ghc-tickets mailing list