[GHC] #11294: T9430 fails on ARM
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler | Version: 7.10.3 (LLVM) | Keywords: | Operating System: Linux Architecture: arm | Type of failure: Incorrect result | at runtime Test Case: T9430 | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- The primops testcase for `timesWord2#` in `T9430` fails on ARM. {{{ cd ./primops/should_run && ./T9430 </dev/null > T9430.run.stdout 2> T9430.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout: Stderr: T9430: Error for timesWord2# : Expected 1 and 0 but got 0 and 0 CallStack (from ImplicitParams): error, called at T9430.hs:55:22 in main:Main }}} It looks like this is probably an LLVM code generator bug although I have yet to confirm this. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11294> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: new Priority: normal | Milestone: 8.0.1 Component: Compiler (LLVM) | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: T9430 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Description changed by bgamari: Old description:
The primops testcase for `timesWord2#` in `T9430` fails on ARM. {{{ cd ./primops/should_run && ./T9430 </dev/null > T9430.run.stdout 2> T9430.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout:
Stderr: T9430: Error for timesWord2# : Expected 1 and 0 but got 0 and 0 CallStack (from ImplicitParams): error, called at T9430.hs:55:22 in main:Main }}} It looks like this is probably an LLVM code generator bug although I have yet to confirm this.
New description: The primops testcase for `timesWord2#` in `T9430` fails on ARM. {{{ cd ./primops/should_run && ./T9430 </dev/null > T9430.run.stdout 2> T9430.run.stderr Wrong exit code (expected 0 , actual 1 ) Stdout: Stderr: T9430: Error for timesWord2# : Expected 1 and 0 but got 0 and 0 CallStack (from ImplicitParams): error, called at T9430.hs:55:22 in main:Main }}} It looks like this is probably an 32-bit LLVM code generator bug although I have yet to confirm this. -- -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11294#comment:1> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler (LLVM) | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: T9430 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1702 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => patch * differential: => Phab:D1702 Comment: This was actually a matter of the test itself being incorrect, assuming that a host word size of 64 bits. -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11294#comment:2> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: patch Priority: normal | Milestone: 8.0.1 Component: Compiler (LLVM) | Version: 7.10.3 Resolution: | Keywords: Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: T9430 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1702 Wiki Page: | -------------------------------------+------------------------------------- Comment (by Ben Gamari <ben@…>): In [changeset:"0b0652f1e9183e92be10de5aa2b44d9c12c5a68e/ghc" 0b0652f1/ghc]: {{{ #!CommitTicketReference repository="ghc" revision="0b0652f1e9183e92be10de5aa2b44d9c12c5a68e" testsuite/T9430: Fix word-size dependence Summary: This test was wrong. Test Plan: Validate Reviewers: erikd, austin Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D1702 GHC Trac Issues: #11294 }}} -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11294#comment:3> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
#11294: T9430 fails on ARM -------------------------------------+------------------------------------- Reporter: bgamari | Owner: bgamari Type: bug | Status: closed Priority: normal | Milestone: 8.0.1 Component: Compiler (LLVM) | Version: 7.10.3 Resolution: fixed | Keywords: Operating System: Linux | Architecture: arm Type of failure: Incorrect result | Test Case: T9430 at runtime | Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Phab:D1702 Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: patch => closed * resolution: => fixed -- Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/11294#comment:4> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler
participants (1)
-
GHC