[GHC] #9080: GHC error on Win 8.1 64bit

#9080: GHC error on Win 8.1 64bit ----------------------------------+--------------------------------------- Reporter: maun | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Keywords: | Operating System: Windows Architecture: x86_64 (amd64) | Type of failure: Compile-time crash Difficulty: Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | ----------------------------------+--------------------------------------- Hi, i get the following error when building GHCJS: {{{ Loading package conduit-1.1.1 ... linking ... done. Loading package yaml-0.8.8.2 ... ghc.exe: panic! (the 'impossible' happened) (GHC version 7.8.2 for x86_64-unknown-mingw32): loadObj "C:\\Users\\Manuel\\AppData\\Roaming\\cabal\\x86_64 -windows-ghc- 7.8.2\\yaml-0.8.8.2\\HSyaml-0.8.8.2.o": failed Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug ghc.exe: Unknown PEi386 section name `.text.unlikely' (while processing: C:\User s\Manuel\AppData\Roaming\cabal\x86_64-windows- ghc-7.8.2\yaml-0.8.8.2\HSyaml-0.8. 8.2.o) cabal: Error: some packages failed to install: ghcjs-0.1.0 failed during the building phase. The exception was: ExitFailure 1 }}} Also reported this for ghcjs (https://github.com/ghcjs/ghcjs/issues/170) I am not using the haskell plattform, but the 7.8.2 binaries + MinGW and MSYS. I also tried mingw-w64 but this made no difference. I am also using the recent ghcjs cabal branch. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Comment (by stuartallenmills): Obtained the exact same error under Windows 7 while trying to install yesod (excerpt): Loading package css-text-0.1.2.1 ... linking ... done. Loading package tagsoup-0.13.1 ... linking ... done. Loading package xss-sanitize-0.3.5.2 ... linking ... done. Loading package yesod-persistent-1.2.2.3 ... linking ... done. Loading package yesod-form-1.3.9 ... linking ... done. Loading package yesod-auth-1.3.0.5 ... linking ... done. Loading package yaml-0.8.8.2 ... ghc.exe: panic! (the 'impossible' happened) (GHC version 7.8.2 for x86_64-unknown-mingw32): loadObj "C:\\users\\smills\\Hask\\yesod\\.cabal-sandbox\\x86_64 -windows-ghc-7.8.2\\yaml-0.8.8.2\\HSyaml-0.8.8.2.o": failed Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug ... ghc.exe: Unknown PEi386 section name `.text.unlikely' (while processing: C:\users\smills\Hask\yesod\.cabal-sandbox\x86_64-windows- ghc-7.8.2\yaml-0.8.8.2\HSyaml-0.8.8.2.o) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by rcook): * cc: rcook (added) -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: new Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Comment (by niklasl): I added a patch that recognized .text.unlikely sections, as described in #9116. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: patch Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: new => patch -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit
---------------------------------------+----------------------------------
Reporter: maun | Owner:
Type: bug | Status: patch
Priority: normal | Milestone: 7.8.3
Component: Compiler | Version: 7.8.2
Resolution: | Keywords:
Operating System: Windows | Architecture: x86_64 (amd64)
Type of failure: Compile-time crash | Difficulty: Unknown
Test Case: | Blocked By:
Blocking: | Related Tickets:
---------------------------------------+----------------------------------
Comment (by Austin Seipp

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: merge Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: patch => merge -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#9080: GHC error on Win 8.1 64bit ---------------------------------------+---------------------------------- Reporter: maun | Owner: Type: bug | Status: closed Priority: normal | Milestone: 7.8.3 Component: Compiler | Version: 7.8.2 Resolution: fixed | Keywords: Operating System: Windows | Architecture: x86_64 (amd64) Type of failure: Compile-time crash | Difficulty: Unknown Test Case: | Blocked By: Blocking: | Related Tickets: ---------------------------------------+---------------------------------- Changes (by thoughtpolice): * status: merge => closed * resolution: => fixed Comment: Merged. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/9080#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC