[GHC] #1289: gcc error when building haddock with gcc 4.1.2:
initializer element is not constant
GHC
trac at galois.com
Fri May 4 07:56:34 EDT 2007
#1289: gcc error when building haddock with gcc 4.1.2: initializer element is not
constant
-------------------------------+--------------------------------------------
Reporter: greenrd | Owner:
Type: bug | Status: closed
Priority: normal | Milestone:
Component: Compiler | Version: 6.4.2
Severity: major | Resolution: fixed
Keywords: | Difficulty: Unknown
Os: Linux | Testcase:
Architecture: x86_64 (amd64) |
-------------------------------+--------------------------------------------
Changes (by igloo):
* resolution: => fixed
* status: new => closed
Comment:
With
{{{
The Glorious Glasgow Haskell Compilation System, version 6.6
}}}
and
{{{
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
}}}
trying to build haddock gets past this point, so I think this is just an
older ghc not being able to cope with newer gccs. I suggest upgrading to
ghc 6.6.1 and then you can build haddock 0.8 with that. You won't be able
to haddock the libraries until after you've done so, of course, but that
isn't necessary to get a working compiler.
If you have a similar problem trying to build ghc itself then try either
an OS-specific package or the generic Linux binary distribution, for
either 6.6 or 6.6.1.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1289>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
-------------- next part --------------
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs at haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
More information about the Glasgow-haskell-bugs
mailing list