Go patch committed: Implement new syscall package

Ian Lance Taylor iant@google.com
Tue Dec 20 18:49:00 GMT 2011


Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> writes:

> * There's a redefinition of IPMreq now:
>
> sysinfo.go:3089:6: error: redefinition of 'IPMreq'
> /vol/gcc/src/hg/trunk/local/libgo/go/syscall/socket_irix.go:81:6: note: previous definition of 'IPMreq' was here
>
>   For some reason, sysinfo.go now gets the right definition, so the one
>   in socket_irix.go isn't necessary any longer.

It changed because mksysinfo.sh now unconditionally defines IPMreq.  I
did that because it is needed in order to compile the net package, and
RTEMS doesn't define it at all.  We can get away with this on Irix
because the definition is pretty much the same on all systems.

I committed your patch to socket_irix.go.

Thank.

Ian



More information about the Gcc-patches mailing list