|
RE: System/CPUTime.hs hsc2hs-inplace error: msg#00122lang.haskell.glasgow.bugs
On 25 April 2005 11:55, Armin Obersteiner wrote: > hi! > >>> i tried to install 6.4 from source. 6.2 is installed as binary. >>> configure defaults. (everything found exept doc convertion und >>> openal) >>> >>> everything works well up to: >>> >>> make[1]: Entering directory `/home/armin/ghc-6.4/libraries' >>> >> ------------------------------------------------------------------------ >>> ===fptools== Recursively making `boot' in base haskell98 >>> template-haskell unix Cabal parsec haskell-src network QuickCheck >>> HUnit mtl fgl X11 HGL OpenGL GLUT OpenAL stm readline ... PWD = >>> /home/armin/ghc-6.4/libraries >>> >> ------------------------------------------------------------------------ >>> >> ------------------------------------------------------------------------ >>> ==fptools== make boot -wr; >>> in /home/armin/ghc-6.4/libraries/base >>> >> ------------------------------------------------------------------------ >>> ../../ghc/utils/hsc2hs/hsc2hs-inplace -Iinclude >>> -I../../ghc/includes -I. System/CPUTime.hsc make[2]: *** >>> [System/CPUTime.hs] Error 127 >>> make[1]: *** [boot] Error 1 >>> make[1]: Leaving directory `/home/armin/ghc-6.4/libraries' >>> make: *** [build] Error 1 >> >> Could you try this: >> >> $ cd libraries/base >> $ ../../ghc/utils/hsc2hs/hsc2hs-inplace -v -Iinclude >> -I../../ghc/includes -I. System/CPUTime.hsc >> >> and send us the output. > > ~/ghc-6.4/libraries/base> ../../ghc/utils/hsc2hs/hsc2hs-inplace -v > -Iinclude -I../../ghc/includes -I. System/CPUTime.hsc > > Executing: gcc -c -D__GLASGOW_HASKELL__=604 > -I/home/armin/ghc-6.4/ghc/includes -Iinclude -I../../ghc/includes -I. > System/CPUTime_hsc_make.c -o System/CPUTime_hsc_make.o Executing: gcc > System/CPUTime_hsc_make.o -o System/CPUTime_hsc_make > Executing: System/CPUTime_hsc_make >System/CPUTime.hs > > ~/ghc-6.4/libraries/base> ll System/ It looks like the program System/CPUTime_hsc_make is failing for some reason (this program is auto-generated from System/CPUTime.hsc by hsc2hs). Try the hsc2hs command again with the --no-compile option - this will leave System/CPUTime_hsc_make around, so you can debug it. Could you run it under gdb and find out where the failure is? Cheers, Simon
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ ghc-Bugs-1189354 ] GHC dies silently with faulty preprocessor, SourceForge.net |
|---|---|
| Next by Date: | RE: ghc.exe: panic! (the `impossible' happened, GHC version 6.4), Simon Peyton-Jones |
| Previous by Thread: | Re: System/CPUTime.hs hsc2hs-inplace error, Armin Obersteiner |
| Next by Thread: | RE: System/CPUTime.hs hsc2hs-inplace error, Simon Marlow |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |