[ ghc-Bugs-764602 ] ghc failed to build ghc

SourceForge.net noreply at sourceforge.net
Wed Jul 16 11:08:41 EDT 2003


Bugs item #764602, was opened at 2003-07-02 14:03
Message generated for change (Comment added) made by simonmar
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=764602&group_id=8032

Category: Compiler
Group: 6.0
>Status: Closed
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: ghc failed to build ghc

Initial Comment:
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 at hotmail.com



----------------------------------------------------------------------

>Comment By: Simon Marlow (simonmar)
Date: 2003-07-16 15:08

Message:
Logged In: YES 
user_id=48280

Bug closed; caused by glibc mismatch.

----------------------------------------------------------------------

Comment By: Sven Panne (spanne)
Date: 2003-07-03 11:43

Message:
Logged In: YES 
user_id=50298

This looks strange: __ctype_b is related to the stuff in
<ctype.h> on some platforms, and splitRtsFlags uses isspace.
But I have never heard of any problems in this area. Can you
compile and link a trivial C program using isspace? Does
your libc contain __ctype_b (do a 'nm' and 'grep' the output
for __ctype_b)?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=108032&aid=764602&group_id=8032



More information about the Glasgow-haskell-bugs mailing list