I've continued to poke at the issue and it turns out that I had deeper problems with my ghc-6.2.1 install. Whatever Haskell programs I built (including hmake) had a broken ghc RTS - even <program> +RTS -help -RTS wouldn't work, to say nothing of programs that tried to set RTS hooks.

I also tried installing ghc-6.2 and had the same issues. Finally, I decided to rebuilding ghc-6.2.1 from source, and this solved everything:

- hmake 3.08 built cleanly from source (System.system worked)
- compiled Haskell programs started processing their RTS flags again
- my program that set an RTS hook doesn't crash on startup anymore

Given that, I think there isn't a bug in ghc per se, but rather a problem with the recent prebuilt glibc-2.2 ghc builds. I'm not sure what that might be, but I hope I've provided enough details to help isolate the issue (and please let me know if there are any additional details that would help).

Thanks,

 - Ravi Nanavati

Malcolm Wallace wrote:
Hello Ravi,


I recently have had a somewhat difficult time compiling and installing hmake-3.08 (from source) on a RedHat 7.2 system.


I have a RH7.2 system myself, and have now tried the combination of
ghc-6.2.1 and hmake-3.08 there.  You are right, System.system does
not work correctly.  Since it works fine with ghc-6.2.1 on newer OS
releases (with glibc-2.3), this looks to me like a bug in ghc, and
I have reported it as such.  Hopefully it will be fixed in ghc-6.2.2.

Thanks for bringing it to our attention.

Regards,
    Malcolm

_______________________________________________ Glasgow-haskell-bugs mailing list [EMAIL PROTECTED] http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to