6.4.2 under solaris
Simon Marlow
simonmarhaskell at gmail.com
Fri Jun 2 04:43:16 EDT 2006
Christian Maeder wrote:
> Christian Maeder wrote:
>
>> Ok, I'm recompiling
>
>
> Now compilation (from cvs of yesterday) failed at:
>
> /local/home/maeder/ghc-6.4.3-pre/ghc/rts/libHSrts_thr.a(Storage.thr_o):
> In function `allocateExec':
> Storage.c:(.text+0xc58): undefined reference to `getPageSize'
> Storage.c:(.text+0xcb4): undefined reference to `setExecutable'
> /local/home/maeder/ghc-6.4.3-pre/ghc/rts/libHSrts_thr.a(Storage.thr_o):
> In function `freeExec':
> Storage.c:(.text+0xdcc): undefined reference to `setExecutable'
> collect2: ld returned 1 exit status
> <<ghc: 14233900 bytes, 3 GCs, 164960/164960 avg/max bytes residency (1
> samples),
> 15M in use, 0.00 INIT (0.00 elapsed), 0.13 MUT (10.53 elapsed), 0.03 GC
> (0.05 elapsed) :ghc>>
> gmake[2]: *** [stage2/ghc-6.4.2] Error 1
> gmake[2]: Leaving directory `/local/home/maeder/ghc-6.4.3-pre/ghc/compiler'
> gmake[1]: *** [stage2] Error 2
> gmake[1]: Leaving directory `/local/home/maeder/ghc-6.4.3-pre'
> gmake: *** [bootstrap2] Error 2
Looks like the file OSMem.o is missing from your RTS build somehow. It
should be in ghc/rts/posix.
Cheers,
Simon
More information about the Glasgow-haskell-bugs
mailing list