On Mon, Apr 30, 2012 at 10:28 AM, Ian Lance Taylor <i...@google.com> wrote: > This patch to libgo fixes the build on MIPS GNU/Linux. I haven't been > able to fully test gccgo, as the MIPS64 machine in the GCC compile farm > is running a version of glibc that is too old--it does not support > makecontext and friends. However, this patch at least gets past the > immediate build problem reported in PR 52586. Bootstrapped and ran Go > testsuite on x86_64-unknown-linux-gnu. Committed to mainline and 4.7 > branch.
I tested the trunk after this patch on mips64-linux-gnu (with glibc 2.15) and the testsuite looks good. === go tests === Running target unix//-march=octeon+/-mabi=64 FAIL: go.test/test/nilptr.go execution, -O2 -g === go Summary for unix//-march=octeon+/-mabi=64 === # of expected passes 3291 # of unexpected failures 1 # of expected failures 4 # of untested testcases 6 Running target unix//-march=octeon+/-mabi=n32 FAIL: go.test/test/nilptr.go execution, -O2 -g === go Summary for unix//-march=octeon+/-mabi=n32 === # of expected passes 3291 # of unexpected failures 1 # of expected failures 4 # of untested testcases 6 Running target unix//-march=octeon2/-mabi=64 FAIL: go.test/test/nilptr.go execution, -O2 -g === go Summary for unix//-march=octeon2/-mabi=64 === # of expected passes 3291 # of unexpected failures 1 # of expected failures 4 # of untested testcases 6 Running target unix//-march=octeon2/-mabi=n32 FAIL: go.test/test/nilptr.go execution, -O2 -g === go Summary for unix//-march=octeon2/-mabi=n32 === # of expected passes 3291 # of unexpected failures 1 # of expected failures 4 # of untested testcases 6 === go Summary === # of expected passes 13164 # of unexpected failures 4 # of expected failures 16 # of untested testcases 24 /home/apinski/src/gcc-fsf/local/gcc/objdir/gcc/testsuite/go/../../gccgo version 4.8.0 20120501 (experimental) [trunk revision 187009] (GCC) === libgo tests === Running target unix FAIL: runtime FAIL: net/http FAIL: text/template === libgo Summary for unix === # of expected passes 120 # of unexpected failures 3 Running target unix/-mabi=64 FAIL: net/http === libgo Summary for unix/-mabi=64 === # of expected passes 122 # of unexpected failures 1 === libgo Summary === # of expected passes 242 # of unexpected failures 4 /home/apinski/src/gcc-fsf/local/gcc/objdir/./gcc/gccgo version 4.8.0 20120501 (experimental) [trunk revision 187009] (GCC) Thanks, Andrew Pinski > > Ian >