
#14077: libmingw32.a: Not x86_64 PEi386 -------------------------------------+------------------------------------- Reporter: YoYoYonnY | Owner: (none) Type: bug | Status: closed Priority: normal | Milestone: Component: Compiler | Version: 8.0.2 Resolution: invalid | Keywords: Operating System: Windows | Architecture: x86_64 Type of failure: Installing GHC | (amd64) failed | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Changes (by Phyx-): * status: new => closed * resolution: => invalid Comment: The compiler will only do what you tell it to. As such it follows the standard search path to find dependencies. You're globally modifying your library directories and so telling it to look there, it's doing just that. I believe platform also provides an msys2 shell, you can configure that not to inherit your environment values or remove them in your bash profile. You can try reporting this to https://github.com/haskell/haskell-platform but I can't speak for them whether this is a bug or not. They likely don't want to modify your global environment by default in a heavy handed way. But this is just a configuration issue. Setting `LIBRARY_PATH` will affect all GCC's on the machine if you set it globally. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14077#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler