
#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: | --------------------------------------------+------------------------------ Changes (by slyfox): * cc: slyfox (added) Comment: changeset:5a31f231eebfb8140f9b519b166094d9d4fc2d79 and changeset:31a7bb463b6a3e99ede6de994c1f449c43a9118c dealt with similar issue on ELFv2 PPC64 but for passed arguments for a function. There is a way to detect a prototype skew by building ghc with CFLAGS/LDFLAGS=-flto. With this hack i've fixed a few SIGSEGVs on ia64 where pointers differ from function pointers (like changeset:d82f592522eb8e063276a8a8c87ab93e18353c6b) GHC still has a lot of mismatching prototypes though. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/11395#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler