gccgo on sparc

Ian Lance Taylor iant@google.com
Mon Aug 22 17:19:00 GMT 2011


Maciej Bliziński <maciej@opencsw.org> writes:

> type Iovec_len_t int32
>   type Iovec struct { Base _caddr_t; Len Iovec_len_t; }
>   type Msghdr_controllen_t
>   type Msghdr struct { Name *byte; Namelen uint32; Iov *Iovec; Iovlen
> int32; msg_accrights _caddr_t; msg_accrightslen int32; }
>
> The first observation is that on sparc there's nothing after the
> Msghdr_controllen_t.  Does anyone have an advice where to look to make
> it build?

Which version of gcc are you building?  Best to stick with mainline for
this.

If you are using mainline, then what does the definition of "struct
msghdr" look like in <sys/socket.h> (it may be defined in some header
file #included by <sys/socket.h>)?

Also, look for "type _msghdr" in gen-sysinfo.go.  What does the type
look like?

The definition of Msghdr_controllen_t is generated by the shell script
mksysinfo.sh.  Something is going wrong there.

Ian



More information about the Gcc-help mailing list