This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Go patch committed: Implement new syscall package
- From: Ian Lance Taylor <iant at google dot com>
- To: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Tue, 20 Dec 2011 10:18:29 -0800
- Subject: Re: Go patch committed: Implement new syscall package
- References: <mcrbot7jzqu.fsf@dhcp-172-18-216-180.mtv.corp.google.com> <yddehvzjiox.fsf@manam.CeBiTec.Uni-Bielefeld.DE>
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