Skip to content

ghc failed to build ghc

I tried building the ghc v6.0 source using ghc and it
failed. I tried both ghc v6.0 and ghc v5.04.2 compilers.

Platform: Linux RedHat v9.0
Memory: 194MB
CPU: Celeron 466
GHC Compiler: v6.0 (Linux binary tar)
                          v5.04.2 (Linux RedHat RPM)
GNU tool chain: Default RH v9.0 installation.

Configure options: --with-x --enable-src-tree-haddock
--enable-objectio

The compilation died while linking ghc-pkg.bin

The error message is:

libHSrts.a (RtsFlags.o) (.text + 0xf1): In function
'splitRtsFlags': 
    undefined reference to '__ctype_b'

Both v6.0 and v5.04.2 compilers gave the same error
message. 

Regards

Tee Teoh
tty4@hotmail.com

Trac metadata
Trac field Value
Version 6.0
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution ResolvedNoReason
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information