: Saturday, January 26, 2002 4:07 PM
| To: [EMAIL PROTECTED]
| Subject: ghci panic (unknown symbol stg_gc_l1)
|
|
| % ghci
| [...]
| Loading package std ... linking ...
| /usr/lib/ghc-5.02.2/HSstd.o: unknown symbol `stg_gc_l1'
| ghc-5.02.2: panic! (the `impossible' happened, GHC version 5.02.2
Julian Seward (Intl Vendor) [EMAIL PROTECTED] writes:
% ghci
[...]
Loading package std ... linking ...
/usr/lib/ghc-5.02.2/HSstd.o: unknown symbol `stg_gc_l1'
ghc-5.02.2: panic! (the `impossible' happened, GHC version 5.02.2):
can't load package `std'
[...]
There's
Yes, Sigbjorn is of course right. Disregard my msg ...
J
| Did you bootstrap using itself?
|
| no, that is the pb. Sigbjorn Finne gave the explaination:
|
| GHCi doesn't load the RTS package (nor GMP),
| as they're both baked into the binary. My guess is that
| you've built ghci
% ghci
[...]
Loading package std ... linking ... /usr/lib/ghc-5.02.2/HSstd.o: unknown symbol
`stg_gc_l1'
ghc-5.02.2: panic! (the `impossible' happened, GHC version 5.02.2):
can't load package `std'
[...]
(it seems) it should load package rts before std, but (it seems) it doesn't:
%
: Pixel [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 26, 2002 08:07
Subject: ghci panic (unknown symbol stg_gc_l1)
% ghci
[...]
Loading package std ... linking ... /usr/lib/ghc-5.02.2/HSstd.o: unknown
symbol `stg_gc_l1'
ghc-5.02.2: panic! (the `impossible' happened, GHC version
Sigbjorn Finne [EMAIL PROTECTED] writes:
GHCi doesn't load the RTS package (nor GMP),
as they're both baked into the binary. My guess is that
you've built ghci using 5.02.1; you need to use 5.02.2
(i.e., do two stage build.) The missing symbol was
introduced in 5.02.2's RTS.
cool,