[Fedora-haskell-list] ghc doesn't build under gcc43

Jens Petersen petersen at redhat.com
Fri Feb 15 07:22:08 UTC 2008


Yesterday I tried rebuilding ghc-6.8.2 for rawhide with gcc-4.3.

It got all the way to the network libray before hitting:

Socket.hsc: In function 'main':
Socket.hsc:1144: error: invalid application of 'sizeof' to incomplete 
type 'struct ucred'
Socket.hsc:1144: error: invalid application of 'sizeof' to incomplete 
type 'struct ucred'
Socket.hsc:1144: error: invalid application of 'sizeof' to incomplete 
type 'struct ucred'
Socket.hsc:1150: error: invalid use of undefined type 'struct ucred'
Socket.hsc:1151: error: invalid use of undefined type 'struct ucred'
Socket.hsc:1152: error: invalid use of undefined type 'struct ucred'
Socket.hsc:2419: error: 'NI_MAXHOST' undeclared (first use in this function)
Socket.hsc:2419: error: (Each undeclared identifier is reported only once
Socket.hsc:2419: error: for each function it appears in.)
Socket.hsc:2420: error: 'NI_MAXSERV' undeclared (first use in this function)
compiling dist/build/Network/Socket_hsc_make.c failed

The full buildlog is 
<http://koji.fedoraproject.org/koji/getfile?taskID=425959&name=build.log>.

I sent a mail to glasgow-haskell-users asking if anyone else has tried 
already.  Otherwise we need to fix it for f9.

Jens




More information about the Fedora-haskell-list mailing list