This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [libgo] Replace wait4 by waitpid (PR go/47515)
- From: Rainer Orth <ro at CeBiTec dot Uni-Bielefeld dot DE>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org, gofrontend-dev at googlegroups dot com
- Date: Thu, 31 Mar 2011 17:54:05 +0200
- Subject: Re: [libgo] Replace wait4 by waitpid (PR go/47515)
- References: <yddfwqf83hh.fsf@manam.CeBiTec.Uni-Bielefeld.DE> <mcrei5ous4c.fsf@google.com>
Ian Lance Taylor <iant@google.com> writes:
> Thanks for the patch, but I wasn't entirely happy with the approach
> because it removes the os.Waitmsg.Rusage field. That field is
> inherently system dependent but I would rather not get rid of it. I
> wrote this patch instead, which I hope will also solve the problem.
> Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
> Committed to mainline.
I'll give it a try on IRIX, but the machine is slow (full
bootstrap/regtest takes ca. 44 hours) and I can't yet include Go in the
regular bootstraps over the weekend since the 64-bit libgo doesn't build
due to an additional field in struct timeval:
http://gcc.gnu.org/ml/gcc-patches/2011-03/msg02146.html
Rainer
--
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University