[GHC] #8013: Strange closure type error building hs-kqueue on FreeBSD

#8013: Strange closure type error building hs-kqueue on FreeBSD -------------------------------+-------------------------------------------- Reporter: ahktenzero | Owner: Type: bug | Status: new Priority: normal | Component: Compiler (LLVM) Version: 7.6.3 | Keywords: Os: FreeBSD | Architecture: x86_64 (amd64) Failure: Compile-time crash | Blockedby: Blocking: | Related: -------------------------------+-------------------------------------------- Trying to compile hs-kqueue on FreeBSD 9.1 from the port fails with the following error: {{{ c2hs: internal error: evacuate(static): strange closure type -385875968 (GHC version 7.6.3 for x86_64_portbld_freebsd) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug }}} I've attached the full log from the build in case it's useful. -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/8013 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8013: Strange closure type error building hs-kqueue on FreeBSD --------------------------------+------------------------------------------- Reporter: ahktenzero | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler (LLVM) | Version: 7.6.3 Keywords: | Os: FreeBSD Architecture: x86_64 (amd64) | Failure: Compile-time crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | --------------------------------+------------------------------------------- Changes (by simonmar): * status: new => infoneeded * difficulty: => Unknown Comment: Does this happen repeatably? Can you give us full details to reproduce please? -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/8013#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#8013: Strange closure type error building hs-kqueue on FreeBSD --------------------------------+------------------------------------------- Reporter: ahktenzero | Owner: Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler (LLVM) | Version: 7.6.3 Keywords: | Os: FreeBSD Architecture: x86_64 (amd64) | Failure: Compile-time crash Difficulty: Unknown | Testcase: Blockedby: | Blocking: Related: | --------------------------------+------------------------------------------- Comment(by ahktenzero): Yes, it happens every time. I don't get the error on i386; the machine where this is happening is used to build packages for my other FreeBSD machines and and builds packages for both architectures. To reproduce I just need to cd to /usr/ports/devel/hs-kqueue and run make. The port is configured to use LLVM and enable dynamic linking but I get the same error if I change either or both options to false. GHC and dependencies: ghc-7.6.3: mpfr-3.1.2 mpc-0.9 gmp-5.1.2 gcc-4.6.3 libffi-3.0.13 binutils-2.23.2 libiconv-1.14_1 hs-kqueue dependencies: hs-c2hs-0.16.4_2 hs-mtl-2.1.2_2 gcc-4.6.4.20121123 llvm-3.2_3 -- Ticket URL: http://hackage.haskell.org/trac/ghc/ticket/8013#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC