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

#11828: Linker.c doesn't build on OS X due to signedness mismatch -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 7.10.3 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: -------------------------------------+------------------------------------- {{{ 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 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11828 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#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

#11828: Linker.c doesn't build on OS X due to signedness mismatch -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: patch Priority: high | Milestone: 8.0.1 Component: Runtime System | Version: 8.0.1-rc3 (Linker) | Resolution: | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2110 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D2110 * os: Unknown/Multiple => MacOS X -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11828#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

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

#11828: Linker.c doesn't build on OS X due to signedness mismatch -------------------------------------+------------------------------------- Reporter: bgamari | Owner: Type: bug | Status: closed Priority: high | Milestone: 8.0.1 Component: Runtime System | Version: 8.0.1-rc3 (Linker) | Resolution: fixed | Keywords: Operating System: MacOS X | Architecture: Type of failure: Building GHC | Unknown/Multiple failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D2110 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed Comment: Merged as 736410552e6ba723f7967ad2b5a869f03b118df6. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11828#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC