
#14128: Possible bug in Renamer when dealing with orphans -------------------------------------+------------------------------------- Reporter: Shayan-Najd | Owner: (none) Type: bug | Status: new Priority: normal | Milestone: Component: Compiler (Type | Version: 8.2.1 checker) | Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): Wiki Page: | -------------------------------------+------------------------------------- Comment (by Shayan-Najd): About my branch - It builds with `make` (with below steps) - It passes all tests (except the two mentioned in #14126) by using `make test`. - But, it does NOT build with `./validate`(with below steps). About HEAD, - It builds with `make` (with below steps) - It passes all the tests (except the two mentioned in #14126) by using `make test`. - It also builds with `./validate`. As I said earlier,
I suspect (as hinted above) it has to do with a bug in the renamer when dealing with orphan instances (and probably in conjunction with boot files).
The easiest way (that I can think of now) to reproduce my problem is to clone my branch, and run `./validate`. @alanz could also reproduce this problem. Here are my exact steps for validating: 1. cloning my [https://github.com/shayan-najd/GrowableGHC branch] 2. `cd ghc` 3. ./validate Here are my exact steps for building and testing: 1. cloning my [https://github.com/shayan-najd/GrowableGHC branch] 2. `cd ghc` 3. `cp mk/build.mk.sample mk/build.mk` 4. set `BuildFlavour = devel2` and then 5. ./boot 6. ./configure 7. make -j4 8. THREADS=4 make test" -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/14128#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler