[GHC] #14168: Installing math-functions with GHC-8.2.1 on windows crashed

#14168: Installing math-functions with GHC-8.2.1 on windows crashed -------------------------------------+------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Keywords: | Operating System: Unknown/Multiple Architecture: x86_64 | Type of failure: None/Unknown (amd64) | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- I use the ghc-8.2.1 in Windows. When install math-functions, ghc crash. The following is the output. {{{ λ stack install math-functions math-functions-0.2.1.0: configure math-functions-0.2.1.0: build -- While building package math-functions-0.2.1.0 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 255 Logs have been written to: A:\Glob\.stack-work\logs\math- functions-0.2.1.0.log Configuring math-functions-0.2.1.0... Preprocessing library for math-functions-0.2.1.0.. Building library for math-functions-0.2.1.0.. [ 1 of 10] Compiling Numeric.MathFunctions.Comparison ( Numeric\MathFunctions\Comparison.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Comparison.o ) [ 2 of 10] Compiling Numeric.MathFunctions.Constants ( Numeric\MathFunctions\Constants.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Constants.o ) [ 3 of 10] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs, .stack-work\dist\e53504d9\build\Numeric\Polynomial.o ) [ 4 of 10] Compiling Numeric.Polynomial.Chebyshev ( Numeric\Polynomial\Chebyshev.hs, .stack- work\dist\e53504d9\build\Numeric\Polynomial\Chebyshev.o ) [ 5 of 10] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs, .stack-work\dist\e53504d9\build\Numeric\RootFinding.o ) [ 6 of 10] Compiling Numeric.Series ( Numeric\Series.hs, .stack- work\dist\e53504d9\build\Numeric\Series.o ) [ 7 of 10] Compiling Numeric.SpecFunctions.Internal ( Numeric\SpecFunctions\Internal.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Internal.o ) C:\Users\qinka\AppData\Local\Temp\stack12716\math- functions-0.2.1.0\Numeric\SpecFunctions\Internal.hs:24:1: warning: [-Wunused-imports] The import of 鈥榚xpm1鈥?from module 鈥楪HC.Float鈥?is redundant | 24 | import GHC.Float (log1p,expm1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 10] Compiling Numeric.SpecFunctions.Extra ( Numeric\SpecFunctions\Extra.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Extra.o ) [ 9 of 10] Compiling Numeric.SpecFunctions ( Numeric\SpecFunctions.hs, .stack-work\dist\e53504d9\build\Numeric\SpecFunctions.o ) [10 of 10] Compiling Numeric.Sum ( Numeric\Sum.hs, .stack- work\dist\e53504d9\build\Numeric\Sum.o ) ghc.EXE: internal error: mkPath failed converting char* to wchar_t* (GHC version 8.2.1 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed -------------------------------------+------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: x86_64 | (amd64) Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by bgamari): * status: new => infoneeded * cc: Phyx- (added) Comment: Thanks for your report! Could you provide the output of `stack install --ghc-options=-v3 math- functions`? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by Phyx-): * os: Unknown/Multiple => Windows * architecture: x86_64 (amd64) => Unknown/Multiple Comment: Hmmm the output is quite suspicious. Both `expm1` and `GHC.Float` from the GHC build output show some character corruption. `mbstowcs` which `mkPath` uses fails when it encounters an invalid multibyte character. The source doesn't seem to contain this so I wonder where the corruption happened. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Qinka): (More informations) The output for `stack install --ghc-options=-v3 math-functions` {{{ λ stack install --ghc-options=-v3 math-functions math-functions-0.2.1.0: configure math-functions-0.2.1.0: build -- While building package math-functions-0.2.1.0 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 255 Logs have been written to: A:\Glob\.stack-work\logs\math- functions-0.2.1.0.log Configuring math-functions-0.2.1.0... Preprocessing library for math-functions-0.2.1.0.. Building library for math-functions-0.2.1.0.. [ 1 of 10] Compiling Numeric.MathFunctions.Comparison ( Numeric\MathFunctions\Comparison.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Comparison.o ) [ 2 of 10] Compiling Numeric.MathFunctions.Constants ( Numeric\MathFunctions\Constants.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Constants.o ) [ 3 of 10] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs, .stack-work\dist\e53504d9\build\Numeric\Polynomial.o ) [ 4 of 10] Compiling Numeric.Polynomial.Chebyshev ( Numeric\Polynomial\Chebyshev.hs, .stack- work\dist\e53504d9\build\Numeric\Polynomial\Chebyshev.o ) [ 5 of 10] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs, .stack-work\dist\e53504d9\build\Numeric\RootFinding.o ) [ 6 of 10] Compiling Numeric.Series ( Numeric\Series.hs, .stack- work\dist\e53504d9\build\Numeric\Series.o ) [ 7 of 10] Compiling Numeric.SpecFunctions.Internal ( Numeric\SpecFunctions\Internal.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Internal.o ) C:\Users\qinka\AppData\Local\Temp\stack15552\math- functions-0.2.1.0\Numeric\SpecFunctions\Internal.hs:24:1: warning: [-Wunused-imports] The import of 鈥榚xpm1鈥?from module 鈥楪HC.Float鈥?is redundant | 24 | import GHC.Float (log1p,expm1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 10] Compiling Numeric.SpecFunctions.Extra ( Numeric\SpecFunctions\Extra.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Extra.o ) [ 9 of 10] Compiling Numeric.SpecFunctions ( Numeric\SpecFunctions.hs, .stack-work\dist\e53504d9\build\Numeric\SpecFunctions.o ) [10 of 10] Compiling Numeric.Sum ( Numeric\Sum.hs, .stack- work\dist\e53504d9\build\Numeric\Sum.o ) ghc.EXE: internal error: mkPath failed converting char* to wchar_t* (GHC version 8.2.1 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. }}} The output for `stack install --verbose math-functions` {{{ λ stack install --verbose math-functions Version 1.4.0, Git revision e714f1dd3fade19496d91bd6a017e435a96a6bcd x86_64 hpack-0.17.0 2017-08-30 11:16:38.241189: [debug] Checking for project config at: A:\Glob\stack.yaml @(Stack\Config.hs:935:9) 2017-08-30 11:16:38.242667: [debug] Loading project config file stack.yaml @(Stack\Config.hs:960:13) 2017-08-30 11:16:38.251672: [debug] Trying to decode C:\sr\build-plan- cache\x86_64-windows\nightly-2017-08-29.cache @(Data\Store\VersionTagged.hs:68:5) 2017-08-30 11:16:38.272167: [debug] Success decoding C:\sr\build-plan- cache\x86_64-windows\nightly-2017-08-29.cache @(Data\Store\VersionTagged.hs:72:13) 2017-08-30 11:16:38.281672: [debug] Using standard GHC build @(Stack\Setup.hs:600:9) 2017-08-30 11:16:38.285672: [debug] Getting Cabal package version @(Stack\GhcPkg.hs:189:5) 2017-08-30 11:16:38.288172: [debug] Getting global package database location @(Stack\GhcPkg.hs:55:5) 2017-08-30 11:16:38.288670: [debug] Asking GHC for its version @(Stack\Setup\Installed.hs:103:13) 2017-08-30 11:16:38.290170: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.290674: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db list --global @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.296670: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE --numeric-version @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.364167: [debug] Process finished in 61ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE --numeric-version @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.384387: [debug] Process finished in 91ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db list --global @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.384888: [debug] Process finished in 92ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db field --simple-output Cabal version @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.385889: [debug] Resolving package entries @(Stack\Setup.hs:254:5) 2017-08-30 11:16:38.387888: [debug] Starting to execute command inside EnvConfig @(Stack\Runners.hs:166:18) 2017-08-30 11:16:38.388386: [debug] Parsing the cabal files of the local packages @(Stack\Build\Source.hs:310:5) 2017-08-30 11:16:38.399389: [debug] Parsing the targets @(Stack\Build\Source.hs:247:5) 2017-08-30 11:16:38.400391: [debug] Exception ignored when attempting to load A:\Glob\glob-auth\.stack-work\dist\e53504d9\stack-build-cache: A:\Glob\glob-auth\.stack-work\dist\e53504d9\stack-build-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:38.401389: [debug] Start: getPackageFiles A:\Glob\glob- auth\glob-auth.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.415390: [debug] Finished in 13ms: getPackageFiles A:\Glob\glob-auth\glob-auth.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.419889: [debug] Exception ignored when attempting to load A:\Glob\glob-core\.stack-work\dist\e53504d9\stack-build-cache: A:\Glob\glob-core\.stack-work\dist\e53504d9\stack-build-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:38.420890: [debug] Start: getPackageFiles A:\Glob\glob- core\glob-core.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.443886: [debug] Finished in 22ms: getPackageFiles A:\Glob\glob-core\glob-core.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.446886: [debug] Exception ignored when attempting to load A:\Glob\glob-launch\.stack-work\dist\e53504d9\stack-build-cache: A:\Glob\glob-launch\.stack-work\dist\e53504d9\stack-build-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:38.447386: [debug] Start: getPackageFiles A:\Glob\glob- launch\glob-launch.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.455888: [debug] Finished in 8ms: getPackageFiles A:\Glob\glob-launch\glob-launch.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.458389: [debug] Exception ignored when attempting to load A:\Glob\glob-tool\.stack-work\dist\e53504d9\stack-build-cache: A:\Glob\glob-tool\.stack-work\dist\e53504d9\stack-build-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:38.459393: [debug] Start: getPackageFiles A:\Glob\glob- tool\glob-tool.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.479886: [debug] Finished in 19ms: getPackageFiles A:\Glob\glob-tool\glob-tool.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.483889: [debug] Exception ignored when attempting to load A:\Glob\glob-utils\.stack-work\dist\e53504d9\stack-build-cache: A:\Glob\glob-utils\.stack-work\dist\e53504d9\stack-build-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:38.484387: [debug] Start: getPackageFiles A:\Glob\glob- utils\glob-utils.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.499394: [debug] Finished in 14ms: getPackageFiles A:\Glob\glob-utils\glob-utils.cabal @(Stack\Package.hs:251:21) 2017-08-30 11:16:38.504387: [debug] Finding out which packages are already installed @(Stack\Build\Installed.hs:69:5) 2017-08-30 11:16:38.507888: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --global --no-user-package-db dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.585888: [debug] Process finished in 77ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --global --no-user-package-db dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.613903: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --no-user-package-db --package-db C:\sr\snapshots\4c52f22a\pkgdb dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.764389: [debug] Process finished in 148ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --no-user-package-db --package-db C:\sr\snapshots\4c52f22a\pkgdb dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.769388: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --no-user-package-db --package-db A:\Glob\.stack- work\install\068939cd\pkgdb dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.814388: [debug] Process finished in 43ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --no-user-package-db --package-db A:\Glob\.stack- work\install\068939cd\pkgdb dump --expand-pkgroot @(System\Process\Read.hs:306:3) 2017-08-30 11:16:38.816887: [debug] Constructing the build plan @(Stack\Build\ConstructPlan.hs:158:5) 2017-08-30 11:16:38.819887: [debug] Trying to decode C:\sr\indices\Tsinghua\01-index.cache @(Data\Store\VersionTagged.hs:68:5) 2017-08-30 11:16:38.937963: [debug] Success decoding C:\sr\indices\Tsinghua\01-index.cache @(Data\Store\VersionTagged.hs:72:13) 2017-08-30 11:16:39.140290: [debug] Checking if we are going to build multiple executables with the same name @(Stack\Build.hs:210:5) 2017-08-30 11:16:39.141290: [debug] Executing the build plan @(Stack\Build\Execute.hs:458:5) 2017-08-30 11:16:39.142789: [debug] Getting global package database location @(Stack\GhcPkg.hs:55:5) 2017-08-30 11:16:39.143288: [debug] Run process: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db list --global @(System\Process\Read.hs:306:3) 2017-08-30 11:16:39.196673: [debug] Process finished in 52ms: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --no-user-package-db list --global @(System\Process\Read.hs:306:3) 2017-08-30 11:16:39.198175: [debug] Precompiled cache input = (["-- dependency=base=base-4.10.0.0","--dependency=deepseq=deepseq-1.4.3.0","-- dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg","-- dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi","--dependency =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S","--extra- include- dirs=C:\\Users\\qinka\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20161025\\mingw64\\include ","--extra-lib- dirs=C:\\Users\\qinka\\AppData\\Local\\Programs\\stack\\x86_64-windows\\msys2-20161025\\mingw64\\lib"],fromList ["base-4.10.0.0","deepseq-1.4.3.0","primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg","vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi ","vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S"]) @(Stack\Build\Cache.hs:283:5) 2017-08-30 11:16:39.200677: [debug] Exception ignored when attempting to load C:\sr\precompiled\x86_64-windows\ghc-8.2.1\2.0.0.2\math- functions-0.2.1.0\noe5BbegP8iihQXKEZ82ZfRDWhSyn6fbIWQ1qhDvkAE=: C:\sr\precompiled\x86_64-windows\ghc-8.2.1\2.0.0.2\math- functions-0.2.1.0\noe5BbegP8iihQXKEZ82ZfRDWhSyn6fbIWQ1qhDvkAE=: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:39.352671: [debug] Exception ignored when attempting to load C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-config-cache: C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-config-cache: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:39.354171: [debug] Exception ignored when attempting to load C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-cabal-mod: C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-cabal-mod: openBinaryFile: does not exist (No such file or directory) @(Data\Store\VersionTagged.hs:86:9) 2017-08-30 11:16:39.355171: [info] math-functions-0.2.1.0: configure @(Stack\Build\Execute.hs:830:23) 2017-08-30 11:16:39.428672: [debug] Run process: C:\sr\setup-exe- cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 configure --with- ghc=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE --with-ghc- pkg=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --package-db=clear --package-db=global --package- db=C:\sr\snapshots\4c52f22a\pkgdb --libdir=C:\sr\snapshots\4c52f22a\lib --bindir=C:\sr\snapshots\4c52f22a\bin --datadir=C:\sr\snapshots\4c52f22a\share --libexecdir=C:\sr\snapshots\4c52f22a\libexec --sysconfdir=C:\sr\snapshots\4c52f22a\etc --docdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --htmldir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --haddockdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --dependency=base=base-4.10.0.0 --dependency=deepseq=deepseq-1.4.3.0 --dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg --dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi --dependency =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S --extra- include- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include --extra-lib- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\lib @(System\Process\Read.hs:340:3) 2017-08-30 11:16:41.061549: [debug] Process finished in 1630ms: C:\sr \setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 configure --with- ghc=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE --with-ghc- pkg=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --package-db=clear --package-db=global --package- db=C:\sr\snapshots\4c52f22a\pkgdb --libdir=C:\sr\snapshots\4c52f22a\lib --bindir=C:\sr\snapshots\4c52f22a\bin --datadir=C:\sr\snapshots\4c52f22a\share --libexecdir=C:\sr\snapshots\4c52f22a\libexec --sysconfdir=C:\sr\snapshots\4c52f22a\etc --docdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --htmldir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --haddockdir=C:\sr\snapshots\4c52f22a\doc\math-functions-0.2.1.0 --dependency=base=base-4.10.0.0 --dependency=deepseq=deepseq-1.4.3.0 --dependency=primitive=primitive-0.6.2.0-V0ibjLQDdN6fcQS5bjLVg --dependency=vector=vector-0.12.0.1-CnPH69pDwM4A5esizlXfXi --dependency =vector-th-unbox=vector-th-unbox-0.2.1.6-JdDbsOZxikU7Wr8hmBip1S --extra- include- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include --extra-lib- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\lib @(System\Process\Read.hs:340:3) 2017-08-30 11:16:41.063547: [debug] Encoding C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-config-cache @(Data\Store\VersionTagged.hs:51:5) 2017-08-30 11:16:41.066049: [debug] Finished writing C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-config-cache @(Data\Store\VersionTagged.hs:55:5) 2017-08-30 11:16:41.066551: [debug] Encoding C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-cabal-mod @(Data\Store\VersionTagged.hs:51:5) 2017-08-30 11:16:41.072547: [debug] Finished writing C:\Users\qinka\AppData\Local\Temp\stack13180\math-functions-0.2.1.0 \.stack-work\dist\e53504d9\stack-cabal-mod @(Data\Store\VersionTagged.hs:55:5) 2017-08-30 11:16:41.073556: [info] math-functions-0.2.1.0: build @(Stack\Build\Execute.hs:830:23) 2017-08-30 11:16:41.074560: [debug] Run process: C:\sr\setup-exe- cache\x86_64-windows\Cabal-simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi -ddump-to-file" @(System\Process\Read.hs:340:3) -- While building package math-functions-0.2.1.0 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 255 Logs have been written to: A:\Glob\.stack-work\logs\math- functions-0.2.1.0.log Configuring math-functions-0.2.1.0... Preprocessing library for math-functions-0.2.1.0.. Building library for math-functions-0.2.1.0.. [ 1 of 10] Compiling Numeric.MathFunctions.Comparison ( Numeric\MathFunctions\Comparison.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Comparison.o ) [ 2 of 10] Compiling Numeric.MathFunctions.Constants ( Numeric\MathFunctions\Constants.hs, .stack- work\dist\e53504d9\build\Numeric\MathFunctions\Constants.o ) [ 3 of 10] Compiling Numeric.Polynomial ( Numeric\Polynomial.hs, .stack-work\dist\e53504d9\build\Numeric\Polynomial.o ) [ 4 of 10] Compiling Numeric.Polynomial.Chebyshev ( Numeric\Polynomial\Chebyshev.hs, .stack- work\dist\e53504d9\build\Numeric\Polynomial\Chebyshev.o ) [ 5 of 10] Compiling Numeric.RootFinding ( Numeric\RootFinding.hs, .stack-work\dist\e53504d9\build\Numeric\RootFinding.o ) [ 6 of 10] Compiling Numeric.Series ( Numeric\Series.hs, .stack- work\dist\e53504d9\build\Numeric\Series.o ) [ 7 of 10] Compiling Numeric.SpecFunctions.Internal ( Numeric\SpecFunctions\Internal.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Internal.o ) C:\Users\qinka\AppData\Local\Temp\stack13180\math- functions-0.2.1.0\Numeric\SpecFunctions\Internal.hs:24:1: warning: [-Wunused-imports] The import of 鈥榚xpm1鈥?from module 鈥楪HC.Float鈥?is redundant | 24 | import GHC.Float (log1p,expm1) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [ 8 of 10] Compiling Numeric.SpecFunctions.Extra ( Numeric\SpecFunctions\Extra.hs, .stack- work\dist\e53504d9\build\Numeric\SpecFunctions\Extra.o ) [ 9 of 10] Compiling Numeric.SpecFunctions ( Numeric\SpecFunctions.hs, .stack-work\dist\e53504d9\build\Numeric\SpecFunctions.o ) [10 of 10] Compiling Numeric.Sum ( Numeric\Sum.hs, .stack- work\dist\e53504d9\build\Numeric\Sum.o ) ghc.EXE: internal error: mkPath failed converting char* to wchar_t* (GHC version 8.2.1 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Phyx-): HI, would it be possible for you to try this with just cabal-install? or a different version of the same package from stackage? from your first paste it seems that `-v3` wasn't actually passed to GHC. what shell are you running stack from? could you try just cmd? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:4 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Qinka): I use the PowerShell, and it is same when I use the cmd. I though this problem is not related to math-function. When I am just trying to install something, there is the same problem: {{{ λ stack install glob-tool --flag glob-auth:client --flag glob- utils:client --stack-yaml stack-8.2.1.yaml WARNING: Ignoring out of range dependency (trusting snapshot over Hackage revisions): Win32-2.5.4.1. mintty requires: <2.5 mintty-0.1.1: configure aeson-1.2.1.0: download aeson-1.2.1.0: configure aeson-1.2.1.0: build Progress: 2/6 -- While building package aeson-1.2.1.0 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 build --ghc-options " -ddump-hi -ddump-to-file" Process exited with code: ExitFailure 3 Logs have been written to: A:\Glob\.stack-work\logs\aeson-1.2.1.0.log Configuring aeson-1.2.1.0... Preprocessing library for aeson-1.2.1.0.. Building library for aeson-1.2.1.0.. [ 1 of 23] Compiling Data.Aeson.Internal.Functions ( Data\Aeson\Internal\Functions.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Internal\Functions.o ) [ 2 of 23] Compiling Data.Aeson.Parser.UnescapePure ( pure\Data\Aeson\Parser\UnescapePure.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Parser\UnescapePure.o ) [ 3 of 23] Compiling Data.Aeson.Parser.Unescape ( Data\Aeson\Parser\Unescape.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Parser\Unescape.o ) [ 4 of 23] Compiling Data.Aeson.Types.Generic ( Data\Aeson\Types\Generic.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Types\Generic.o ) [ 5 of 23] Compiling Data.Aeson.Types.Internal ( Data\Aeson\Types\Internal.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Types\Internal.o ) [ 6 of 23] Compiling Data.Aeson.Parser.Internal ( Data\Aeson\Parser\Internal.hs, .stack- work\dist\e53504d9\build\Data\Aeson\Parser\Internal.o ) ghc.EXE: internal error: mkPath failed converting char* to wchar_t* (GHC version 8.2.1 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. -- While building package mintty-0.1.1 using: C:\sr\setup-exe-cache\x86_64-windows\Cabal- simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe --builddir=.stack-work\dist\e53504d9 configure --with- ghc=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.EXE --with-ghc- pkg=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.EXE --user --package-db=clear --package-db=global --package- db=C:\sr\snapshots\4c52f22a\pkgdb --libdir=C:\sr\snapshots\4c52f22a\lib --bindir=C:\sr\snapshots\4c52f22a\bin --datadir=C:\sr\snapshots\4c52f22a\share --libexecdir=C:\sr\snapshots\4c52f22a\libexec --sysconfdir=C:\sr\snapshots\4c52f22a\etc --docdir=C:\sr\snapshots\4c52f22a\doc\mintty-0.1.1 --htmldir=C:\sr\snapshots\4c52f22a\doc\mintty-0.1.1 --haddockdir=C:\sr\snapshots\4c52f22a\doc\mintty-0.1.1 --dependency=Win32=Win32-2.5.4.1 --dependency=base=base-4.10.0.0 --dependency=filepath=filepath-1.4.1.2 -f-win32-2-5 --extra-include- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\include --extra-lib- dirs=C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\msys2-20161025\mingw64\lib Process exited with code: ExitFailure 1 Logs have been written to: A:\Glob\.stack-work\logs\mintty-0.1.1.log Configuring mintty-0.1.1... Cabal-simple_Z6RU0evB_2.0.0.2_ghc-8.2.1.exe: Encountered missing dependencies: Win32 <2.5 && ==2.5.4.1 }}} My ghc-8.2.1 was installed via stack. {{{ λ stack --version Version 1.4.0, Git revision e714f1dd3fade19496d91bd6a017e435a96a6bcd x86_64 hpack-0.17.0 }}} I thought my toolchain might be broken. The ghc-8.2.1's "mingw" is replace by the msys2, which was I install with gcc. {{{ λ gcc --version gcc.exe (Rev2, Built by MSYS2 project) 7.1.0 Copyright (C) 2017 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. λ which gcc /mingw64/bin/gcc }}} And unfortunately, my cabal a broken. {{{ λ cat .\build.log package: primitive-0.6.2.0 os: windows arch: x86_64 compiler: ghc-8.2.1 client: cabal-install-1.24.0.2 dependencies: base-4.10.0.0 ghc-prim-0.5.1.0 transformers-0.5.2.0 install-outcome: DownloadFailed docs-outcome: NotTried tests-outcome: NotTried package: vector-0.12.0.1 os: windows arch: x86_64 compiler: ghc-8.2.1 client: cabal-install-1.24.0.2 flags: -wall -unsafechecks -internalchecks boundschecks dependencies: base-4.10.0.0 deepseq-1.4.3.0 ghc-prim-0.5.1.0 primitive-0.6.2.0 install-outcome: DependencyFailed primitive-0.6.2.0 docs-outcome: NotTried tests-outcome: NotTried package: vector-th-unbox-0.2.1.6 os: windows arch: x86_64 compiler: ghc-8.2.1 client: cabal-install-1.24.0.2 dependencies: base-4.10.0.0 template-haskell-2.12.0.0 vector-0.12.0.1 install-outcome: DependencyFailed primitive-0.6.2.0 docs-outcome: NotTried tests-outcome: NotTried }}} {{{ λ cabal install math-functions --only-dependencies -v Using a sandbox located at A:\tmp\.cabal-sandbox "C:\Users\qinka\AppData\Roaming\local\bin\c2hs.exe" "--numeric-version" "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\mingw\bin\gcc.exe" "-dumpversion" looking for tool haddock near compiler in C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin found haddock in C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\haddock.exe "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\haddock.exe" "--version" "C:\Users\qinka\AppData\Roaming\local\bin\happy.exe" "--version" "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\hpc.exe" "version" looking for tool hsc2hs near compiler in C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin found hsc2hs in C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\hsc2hs.exe "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\hsc2hs.exe" "--version" "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.exe" "-hide-all-packages" "-c" "C:\Users\qinka\AppData\Local\Temp\4118467.c" "-o" "C:\Users\qinka\AppData\Local\Temp\633426500.o" "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\mingw\bin\ld.exe" "-x" "-r" "C:\Users\qinka\AppData\Local\Temp\633426500.o" "-o" "C:\Users\qinka\AppData\Local\Temp\1916915724.o" "C:\msys64\mingw64\bin\pkg-config.exe" "--version" "C:\msys64\usr\bin\tar.exe" "--help" Reading installed packages... "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin \ghc-pkg.exe" "dump" "--package-db=A:\tmp\.cabal-sandbox\x86_64-windows- ghc-8.2.1-packages.conf.d" "-v0" "C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\bin\ghc.exe" "--print-libdir" Found no modified add-source deps. Reading available packages... "C:\msys64\mingw64\bin\pkg-config.exe" "--list-all" "C:\msys64\mingw64\bin\pkg-config.exe" "--modversion" "libtasn1" "zlib" "gobject-introspection-no-export-1.0" "theoraenc" "libecpg_compat" "protobuf" "gio-2.0" "dbus-glib-1" "python-3.6" "libidn" "hogweed" "cairo- gobject" "harfbuzz-icu" "opus" "libpng16" "gstreamer-net-1.0" "geoclue" "dbus-1" "cairo-ps" "gmodule-2.0" "fftw3" "gstreamer-tag-1.0" "p11-kit-1" "glib-2.0" "ImageMagick" "gstreamer-sdp-1.0" "libalpm" "libopenjpwl" "xpm" "python-3.6m" "libopenjp3d" "pango" "MagickCore-7.Q16HDRI" "gdk-win32-2.0" "libturbojpeg" "MagickWand" "fftw3f" "gstreamer-1.0" "panelw" "adwaita- icon-theme" "fftw3l" "json-glib-1.0" "libspdylay" "gnurx" "fftw3q" "libpcrecpp" "gdk-pixbuf-2.0" "pangoft2" "libexslt" "libprotobuf-c" "gmodule-no-export-2.0" "gtksourceview-3.0" "libffi" "orc-0.4" "theoradec" "libcroco-0.6" "libopenjpip" "icu-io" "liblzma" "gtk+-3.0" "lqr-1" "gstreamer-allocators-1.0" "gobject-introspection-1.0" "Magick++" "gtk+-win32-2.0" "javascriptcoregtk-3.0" "gstreamer-plugins-base-1.0" "python-2.7" "lcms2" "gdk-2.0" "isl" "libcares" "libssl" "webkitgtk-3.0" "menuw" "libsoup-2.4" "libxml-2.0" "openssl" "vorbisidec" "cairo-pdf" "minizip" "jasper" "python" "cairo-win32-font" "expat" "gstreamer- base-1.0" "graphite2" "libwebpdecoder" "libwebpmux" "gio-windows-2.0" "gdk-win32-3.0" "ddjvuapi" "gstreamer-app-1.0" "gmodule-export-2.0" "pangocairo" "libjpeg" "vorbisfile" "libpq" "sqlite3" "gnutls" "cairo- win32" "nettle" "pixman-1" "ncurses++w" "gstreamer-check-1.0" "enchant" "gtk+-broadway-3.0" "libpcre16" "gstreamer-controller-1.0" "libtiff-4" "gstreamer-video-1.0" "gobject-2.0" "ImageMagick-7.Q16HDRI" "Magick++-7.Q16HDRI" "libsoup-gnome-2.4" "libpng" "gthread-2.0" "gsl" "libnghttp2" "libecpg" "cairo-fc" "gdk-3.0" "python2" "cairo" "libopenjp2" "gstreamer-fft-1.0" "libpcreposix" "libwebp" "fontconfig" "gtk+-win32-3.0" "libcrypto" "gstreamer-pbutils-1.0" "jansson" "cairo-png" "cairo-ft" "epoxy" "pangowin32" "python3" "vorbisenc" "atk" "gstreamer-rtp-1.0" "bzip2" "ogg" "gdk-broadway-3.0" "MagickWand-7.Q16HDRI" "icu-uc" "cairo- svg" "gstreamer-rtsp-1.0" "regex" "ncursesw" "protobuf-lite" "shared-mime- info" "theora" "vorbis" "harfbuzz" "lzo2" "icu-i18n" "libpgtypes" "libpcre" "cairo-script" "libpcre32" "gstreamer-riff-1.0" "gail-3.0" "gstreamer-audio-1.0" "cairo-tee" "freeglut" "hunspell" "MagickCore" "fribidi" "tre" "freetype2" "librsvg-2.0" "tensorflow" "gtk+-2.0" "gail" "harfbuzz-gobject" "raqm" "libwebpdemux" "libxslt" "bash-completion" "oniguruma" "formw" Choosing modular solver. Resolving dependencies... Notice: installing into a sandbox located at A:\tmp\.cabal-sandbox Ready to install primitive-0.6.2.0 Downloading primitive-0.6.2.0... Waiting for install task to finish... Failed to install primitive-0.6.2.0 Build log ( A:\tmp\.cabal-sandbox\logs\primitive-0.6.2.0.log ): Updating world file... cabal.exe: Error: some packages failed to install: primitive-0.6.2.0 failed while downloading the package. The exception was: connect: failed (Connection timed out (WSAETIMEDOUT)) vector-0.12.0.1 depends on primitive-0.6.2.0 which failed to install. vector-th-unbox-0.2.1.6 depends on primitive-0.6.2.0 which failed to install. }}} When I try to run ghci(8.2.1) {{{ λ ghci -v3 GHCi, version 8.2.1: http://www.haskell.org/ghc/ :? for help Glasgow Haskell Compiler, Version 8.2.1, stage 2 booted by GHC version 8.0.2 Using binary package database: C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\lib\package.conf.d\package.cache package flags [] loading package database C:\Users\qinka\AppData\Local\Programs\stack\x86_64-windows\ghc-8.2.1\lib\package.conf.d wired-in package ghc-prim mapped to ghc-prim-0.5.1.0 wired-in package integer-gmp mapped to integer-gmp-1.0.1.0 wired-in package base mapped to base-4.10.0.0 wired-in package rts mapped to rts wired-in package template-haskell mapped to template-haskell-2.12.0.0 wired-in package ghc mapped to ghc-8.2.1 wired-in package dph-seq not found. wired-in package dph-par not found. *** Parser [source]: !!! Parser [source]: finished in 0.00 milliseconds, allocated 0.128 megabytes *** Desugar: *** Simplify [expr]: !!! Simplify [expr]: finished in 0.00 milliseconds, allocated 0.112 megabytes *** CorePrep [expr]: !!! CorePrep [expr]: finished in 0.00 milliseconds, allocated 1.560 megabytes *** ByteCodeGen [Ghci1]: !!! ByteCodeGen [Ghci1]: finished in 0.00 milliseconds, allocated 0.135 megabytes ghc.exe: internal error: mkPath failed converting char* to wchar_t* (GHC version 8.2.1 for x86_64_unknown_mingw32) Please report this as a GHC bug: http://www.haskell.org/ghc/reportabug This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. }}} -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:5 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Phyx-): Not all of those failures are the same, also your system gcc doesn't matter, the path to the one ghc uses is decided by the settings file, so it won't by default care aboutt what's on your path. Can you try reinstalling the compiler? if it still fails, I'll have to create a special version of 8.2.1 for you to get some more information. Unfortunately I didn't put the path information in the error message, and without a debug build of the compiler you can't generate very useful logs. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: infoneeded Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Comment (by Phyx-): Hi @Qinka, are you still experiencing this problem? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:7 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by Phyx-): * status: infoneeded => closed * resolution: => duplicate -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:8 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#14168: Installing math-functions with GHC-8.2.1 on windows crashed ---------------------------------+---------------------------------------- Reporter: Qinka | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.2.1 Resolution: duplicate | Keywords: Operating System: Windows | Architecture: Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: #14398 | Differential Rev(s): Wiki Page: | ---------------------------------+---------------------------------------- Changes (by Phyx-): * related: => #14398 -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14168#comment:9 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC