Anyone know what this is about? Removing parts makes problem go away,
but it's not clear what parts to remove! (that, and I wrote those
parts for a reason!).
bash-3.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.3
bash-3.2$ uname -a
Darwin silverback-wired.home 9.4.0 Darwin Kernel Version 9.4.0: Mon
Jun 9 19:30:53 PDT 2008; root:xnu-1228.5.20~1/RELEASE_I386 i386
So it seems like a bug in the native code generator for generics.
The ghc-6.9 version was actually a snapshot of the head a few weeks
back as you can see, I'm building the latest HEAD from darcs as we speak,
but in the mean time I would file a bug report with the code attached:
I reopened the bug, since I found slight changes to the file were able
to reproduce the bug in recent versions of ghc-6.9.
I also can't get the -S compilation step to work with the new file,
unless I'm missing a step.
> Oops, already posted the bug:
> http://hackage.haskell.org/trac/ghc/ticket/2456 >
> On Mon, Jul 21, 2008 at 3:29 AM, Austin Seipp <[hidden email]> wrote:
>> Status update: after checking out the latest HEAD and building it, the
>> above error does not occur:
>> $ ~/ghc-head/bin/ghc --version
>> The Glorious Glasgow Haskell Compilation System, version 6.9.20080720
>> $ ~/ghc-head/bin/ghc --make DerivingError.hs
>> <no location info>:
>> Warning: -fallow-overlapping-instances is deprecated: Use the
>> OverlappingInstances language instead
>> [1 of 1] Compiling DerivingError ( DerivingError.hs, DerivingError.o )
>> However, this doesn't exactly help your immediate problem, and it
>> likely won't until 6.10.1 is released, as 6.8.3 is going to be the
>> last release of the 6.8 branch.
>> Truly sorry I couldn't have helped you more.
>> Haskell-Cafe mailing list
>> [hidden email] >> http://www.haskell.org/mailman/listinfo/haskell-cafe >>