Compiling ghc 6.4 with ghc 5.04.3
Christian Maeder
maeder at tzi.de
Wed Jul 6 07:23:26 EDT 2005
If that's any confort? I get a similar error (with ghc-5.04.2 and the
ghc-6.4.1.20050517 sources)
Cheers Christian
stage1/nativeGen/AsmCodeGen.o(.text+0xc2b6): In function `smsr_ret':
: undefined reference to `GHCziPrim_zdwZ2H_entry'
stage1/nativeGen/AsmCodeGen.o(.text+0x8472): In function `smI1_dflt':
: undefined reference to `GHCziPrim_zdwZ2H_entry'
stage1/nativeGen/AsmCodeGen.o(.text+0x85c8): In function `smI8_1_alt':
: undefined reference to `GHCziPrim_zdwZ2H_entry'
stage1/nativeGen/AsmCodeGen.o(.text+0x85d0): In function `smIa_1_alt':
: undefined reference to `GHCziPrim_zdwZ2H_entry'
stage1/nativeGen/AsmCodeGen.o(.text+0x88a0): In function `smif_1_alt':
: undefined reference to `GHCziPrim_zdwZ2H_entry'
stage1/nativeGen/AsmCodeGen.o(.text+0x88a8): more undefined references
to `GHCziP
rim_zdwZ2H_entry' follow
collect2: ld returned 1 exit status
Axel Simon wrote:
> 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