Compiling ghc 6.4 with ghc 5.04.3

Axel Simon A.Simon at kent.ac.uk
Wed Jul 6 06:36:59 EDT 2005


On Wed, 2005-07-06 at 10:06 +0100, Simon Peyton-Jones wrote:
> That's weird.  We compile 6.4 with 5.04.3 every night.
> 
> Maybe you are using different flags than we are?
> 
> - can you send your build.mk
> - plus a full transcript so we can see what flags are being passed to
> ghc (e.g. -O2)

I'm using gcc 2.95.4, maybe that's the oddity. ld is

GNU ld version 2.12.90.0.1 20020307 Debian/GNU Linux

Axel.

> Is your source tree for 6.4 
> 	- the STABLE branch, or
> 	- the exact bits for 6.4 downloaded from the download site?
> 
> Simon
> 
> | -----Original Message-----
> | From: glasgow-haskell-bugs-bounces at haskell.org
> [mailto:glasgow-haskell-bugs-
> | bounces at haskell.org] On Behalf Of Axel Simon
> | Sent: 06 July 2005 09:14
> | To: glasgow-haskell-bugs at haskell.org
> | Subject: Compiling ghc 6.4 with ghc 5.04.3
> | 
> | Hi,
> | 
> | I'm trying to "bootstrap" 6.4 with a binary 5.04.3 on Debian Linux.
> | 
> | I get the following during linking:
> | 
> | stage1/nativeGen/AsmCodeGen.o: In function `slZu_dflt':
> | stage1/nativeGen/AsmCodeGen.o(.text+0x7ebe): undefined reference to
> | `GHCziPrim_zdwZ2H_entry'
> | stage1/nativeGen/AsmCodeGen.o: In function `slZB_1_alt':
> | stage1/nativeGen/AsmCodeGen.o(.text+0x7ffc): undefined reference to
> | `GHCziPrim_zdwZ2H_entry'
> | stage1/nativeGen/AsmCodeGen.o: In function `slZD_1_alt':
> | stage1/nativeGen/AsmCodeGen.o(.text+0x8004): undefined reference to
> | `GHCziPrim_zdwZ2H_entry'
> | stage1/nativeGen/AsmCodeGen.o: In function `slAj_1_alt':
> | stage1/nativeGen/AsmCodeGen.o(.text+0x82bc): undefined reference to
> | `GHCziPrim_zdwZ2H_entry'
> | stage1/nativeGen/AsmCodeGen.o: In function `slZL_1_alt':
> | stage1/nativeGen/AsmCodeGen.o(.text+0x82c4): undefined reference to
> | `GHCziPrim_zdwZ2H_entry'
> | stage1/nativeGen/AsmCodeGen.o(.text+0xb0bc): more undefined references
> | to `GHCziPrim_zdwZ2H_entry' follow
> | collect2: ld returned 1 exit status
> | <<ghc: 4414788 bytes, 2 GCs, 155432/155432 avg/max bytes residency (1
> | samples), 5M in use, 0.01 INIT (0.00 elapsed), 0.01 MUT (10.98
> elapsed),
> | 0.02 GC (0.02 elapsed) :ghc>>
> | make[2]: *** [stage1/ghc-6.4] Error 1
> | make[1]: *** [all] Error 1
> | make[1]: Leaving directory
> | `/home/part3/cur/as49/gonzo/source/ghc-6.4/ghc'
> | make: *** [build] Error 1
> | 
> | Can anyone tell me
> | 
> | a) if 6.4 is supposed to compile with 5.04.3.
> | b) if not, via what other version can I get from 5.04.3 to 6.4.
> | c) if there is a newer binary package of ghc that works with glibc 2.2
> | 
> | Thanks,
> | Axel.
> | 
> | 
> | _______________________________________________
> | 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