logo       

[ ghc-Bugs-764602 ] ghc failed to build ghc: msg#00006

lang.haskell.glasgow.bugs

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

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

Category: Compiler
Group: 6.0
Status: Open
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@xxxxxxxxxxx



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

>Comment By: Sven Panne (spanne)
Date: 2003-07-03 13: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


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise