yesodweb / yesod

A RESTful Haskell web framework built on WAI.
http://www.yesodweb.com/
MIT License
2.64k stars 374 forks source link

Yesod bin build fails where arch in stack.yaml is set to x86 on x64 system. #1555

Open logisin opened 6 years ago

logisin commented 6 years ago

OS Version : Windows 10 x64 stack version 1.7.1 yesod version: (what is downloaded from stack) ghc version: (what is downloaded from stack)

Steps to reproduce:

1)Change stack.yaml arch to x86. Actually uncomment the respective line 2)stack new my-project yesod-sqlite && cd my-project 3)stack install yesod-bin --install-ghc

snoyberg commented 6 years ago
  1. Do other executables compile correctly with this setup?
  2. What error messages do you get?
  3. What does your stack.yaml say?
logisin commented 6 years ago
1. Do other executables compile correctly with this setup?

2. What error messages do you get?

3. What does your stack.yaml say?
  1. How to test?
  2. While building custom Setup.hs for package yesod-bin-1.6.0.3 using: C:\sr\setup-exe-cache\i386-windows\Cabal-simple_Z6RU0evB_2.2.0.1_ghc-8.4.3.exe --builddir=.stack-work\dist\ba067387 build --ghc-options " -ddump-hi -ddump-to-file -fdiagnostics-color=always" Process exited with code: ExitFailure (-1073741819) Logs have been written to: C:\Users\dso\haskell_projects\test-yesod.stack-work\logs\yesod-bin-1.6.0.3.log
  3. stack.zip

snoyberg commented 6 years ago

I'm not sure what would be causing this. Is using the 64-bit compiler out of the question for some reason?

logisin commented 6 years ago

I'm not sure what would be causing this. Is using the 64-bit compiler out of the question for some reason?

Who knows?