[GHC] #10409: Binary compiled with ghc-7.10 amd64/linux to aarch64/linux cross compiler segfaults.

GHC ghc-devs at haskell.org
Tue May 12 06:35:30 UTC 2015


#10409: Binary compiled with ghc-7.10 amd64/linux to aarch64/linux cross compiler
segfaults.
-------------------------------------+-------------------------------------
              Reporter:  erikd       |             Owner:  erikd
                  Type:  bug         |            Status:  new
              Priority:  normal      |         Milestone:
             Component:  Compiler    |           Version:  7.10.1
              Keywords:  cross-      |  Operating System:  Linux
  compiling                          |   Type of failure:  Runtime crash
          Architecture:  aarch64     |        Blocked By:
             Test Case:              |   Related Tickets:
              Blocking:              |
Differential Revisions:              |
-------------------------------------+-------------------------------------
 Compiling a simple "hello-world" program with an amd64/linux to
 aarch64/linux cross compiler built from the current `ghc-7.10` branch
 results in a binary that segfaults as soon as it is run.

 A cross compiler build from the master branch works and I thought it also
 worked for `ghc-7.10`.

 A native aarch64/linux compiler built from the `ghc-7.10` branch works
 correctly.

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


More information about the ghc-tickets mailing list