[Bug go/48407] libgo/configure --without-libffi doesn't work
joel at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sun Apr 3 20:25:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48407
--- Comment #3 from Joel Sherrill <joel at gcc dot gnu.org> 2011-04-03 20:25:18 UTC ---
Sorry.. it was submitted before I was finished...
I have this in my local tree. I recall Ian and I discussing that since
Go and GCJ both need libffi, the logic should be smarter. But this works.
I submitted patches to libffi for m68k and mips. I recall Go built and worked
on at least i386, sparc, mips, powerpc, and arm. So libffi is OK to enable.
If libffi doesn't support a particular architecture, then Go and GCJ are not
available on that architecture.
Index: configure.ac
===================================================================
--- configure.ac (revision 170678)
+++ configure.ac (working copy)
@@ -618,7 +618,8 @@
;;
*-*-rtems*)
skipdirs="${skipdirs} target-libiberty"
- noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+ # noconfigdirs="$noconfigdirs target-libgloss ${libgcj}"
+ noconfigdirs="$noconfigdirs target-libgloss"
;;
# The tpf target doesn't support gdb yet.
*-*-tpf*)
More information about the Gcc-bugs
mailing list