[GHC] #12793: Performs unaligned access on SPARC64
#12793: Performs unaligned access on SPARC64 --------------------------------+---------------------------------------- Reporter: jrtc27 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Keywords: | Operating System: Linux Architecture: sparc | Type of failure: Building GHC failed Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: --------------------------------+---------------------------------------- (Filed under Architecture: sparc, since there's no sparc64 in the dropdown...) Trying to build GHC on sparc64 currently crashes with a SIGBUS (unaligned access). This is because sparc64 uses the C backend (only 32-bit sparc has native code gen), but is unaware that it can't perform unaligned accesses. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12793> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12793: Performs unaligned access on SPARC64 ----------------------------------------+---------------------------------- Reporter: jrtc27 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Linux | Architecture: sparc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): phab:D2661 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by erikd): * differential: => phab:D2661 -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12793#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12793: Performs unaligned access on SPARC64 ----------------------------------------+---------------------------------- Reporter: jrtc27 | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Linux | Architecture: sparc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): phab:D2661 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by Phyx-): * status: new => patch -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12793#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12793: Performs unaligned access on SPARC64 ----------------------------------------+---------------------------------- Reporter: jrtc27 | Owner: Type: bug | Status: patch Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: | Keywords: Operating System: Linux | Architecture: sparc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): phab:D2661 Wiki Page: | ----------------------------------------+---------------------------------- Comment (by Erik de Castro Lopo <erikd@…>): In [changeset:"19ce8a53e8074a7e56fd462e43750386e67edcd4/ghc" 19ce8a53/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="19ce8a53e8074a7e56fd462e43750386e67edcd4" Sparc*: Prevent GHC from doing unaligned accesses This is specifically for the C backend on Sparc64 (which has no native backend) but is also required for Sparc when building un-registerised. Bug reported via Debian (patch included): https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=842780 Test Plan: validate Reviewers: hvr, Phyx, bgamari, austin, simonmar Reviewed By: Phyx Subscribers: jrtc27, thomie Differential Revision: https://phabricator.haskell.org/D2661 GHC Trac Issues: #12793 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12793#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#12793: Performs unaligned access on SPARC64 ----------------------------------------+---------------------------------- Reporter: jrtc27 | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.1 Resolution: fixed | Keywords: Operating System: Linux | Architecture: sparc Type of failure: Building GHC failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): phab:D2661 Wiki Page: | ----------------------------------------+---------------------------------- Changes (by slyfox): * status: patch => closed * resolution: => fixed Comment: That was merged a while ago. Resolving. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12793#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC