libgo patch committed: Solaris portability patches

Ian Lance Taylor
Mon Feb 11 19:03:00 GMT 2013

This patch from Rainer Orth in PR 56171 fixes some Solaris portability
problems in libgo.

* Check for nanosleep in -lrt.
* Pass $(LIBS) when testing so that the tests use -lrt as needed.
* Make sure that AF_LOCAL is defined.

Bootstrapped and ran Go testsuite on x86_64-unknown-linux-gnu.
Committed to mainline.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1469 bytes
Desc: patch
URL: <>

More information about the Gcc-patches mailing list