Building packages using ghc (6.8.2) results in inconsistent error assembler messages
akrohit@illusion:~/tmp/ghc-6.8.2$ uname -a
Linux illusion 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux
akrohit@illusion:~/tmp/ghc-6.8.2$ gcc --version
gcc (GCC) 4.1.3 20080623 (prerelease) (Ubuntu 4.1.2-23ubuntu3)
akrohit@illusion:~/tmp/ghc-6.8.2$ ghc --version
The Glorious Glasgow Haskell Compilation System, version 6.8.2
Whenever installing any package using cabal or building packages locally results in some error messages of something like :
/tmp/ghc10273_0/ghc10273_0.s: Assembler messages:
/tmp/ghc10273_0/ghc10273_0.s:2502:0:
Error: junk at end of line, first unrecognized character is `8'
/tmp/ghc10273_0/ghc10273_0.s:2830:0:
Error: unknown pseudo-op: `.aligo'
<<ghc: 188196056 bytes, 25 GCs, 2710528/5779456 avg/max bytes residency (4 samples), 20M in use, 0.00 INIT (0.00 elapsed), 0.17 MUT (0.19 elapsed), 0.08 GC (0.10 elapsed) :ghc>>
make[2]: *** [Distribution/Compiler.o] Error 1
make[1]: *** [boot] Error 2
make: *** [stage1] Error 1
These error messages are not consistent. Above also results with gcc version 4.3.1