Haskell tools compiled in the upgraded environment fail with this message, regardless of command line parameters.
Haskell tools compiled in the upgraded environment fail with this message, regardless of command
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
As it turns out, RTS options can pose a security issue, so they can be disabled in GHC7. Then, when a RTS option is passed to such a program, it fails.
The problem was that I had GHCRTS environment variable set, which is added to RTS options of all Haskell programs. Clearing this environment variable solved the issue.