libgo patch committed: Permit building without libffi

Ian Lance Taylor iant@google.com
Tue Feb 14 21:10:00 GMT 2012


This patch to libgo permits building libgo when using --without-libffi.
This is mainly to aid porting.  The resulting libgo has some
limitations.  Finalizers use libffi, and finalizers are used to arrange
for the garbage collector to close open files when they are garbage
collected.  So using libgo built this way means that you must be careful
to explicitly close any open files.  Also the reflect.Call function will
not work; it is used by things like the net/rpc package.

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

Ian

-------------- next part --------------
A non-text attachment was scrubbed...
Name: foo.patch
Type: text/x-diff
Size: 1260 bytes
Desc: patch
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20120214/8d22f0e9/attachment.bin>


More information about the Gcc-patches mailing list