[GHC] #11395: The via-C code generation backend is incompatible with gcc 5.3.1 on m68k (ELF)

GHC ghc-devs at haskell.org
Sat Feb 27 18:50:06 UTC 2016


#11395: The via-C code generation backend is incompatible with gcc 5.3.1 on m68k
(ELF)
--------------------------------------------+------------------------------
        Reporter:  mkarcher                 |                Owner:
            Type:  bug                      |               Status:  new
        Priority:  normal                   |            Milestone:
       Component:  Compiler                 |              Version:  7.10.2
      Resolution:                           |             Keywords:
Operating System:  Linux                    |         Architecture:  m68k
 Type of failure:  GHC doesn't work at all  |            Test Case:
      Blocked By:                           |             Blocking:
 Related Tickets:                           |  Differential Rev(s):
       Wiki Page:                           |
--------------------------------------------+------------------------------

Comment (by glaubitz):

 Just cloned ghc from git, applied the patch and cross-compiled it.

 Unfortunately, it segfaults right away:


 {{{
 root at pacman:~> ./ghc
 Segmentation fault (core dumped)
 root at pacman:~> file ./ghc
 ./ghc: ELF 32-bit MSB executable, Motorola m68k, 68020, version 1 (SYSV),
 dynamically linked, interpreter /lib/ld.so.1, for GNU/Linux 3.2.0,
 BuildID[sha1]=b7cc59d2d71bcb64fef73c1628602253f24bfa9f, not stripped
 root at pacman:~>
 }}}

 Will remove the patch and test again, just to make sure it's not a general
 issue with ghc 8.x on m68k.

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


More information about the ghc-tickets mailing list