This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
disable ppc64 multilib on powerpc-darwin8 for 4.0?
- From: gkeating at apple dot com (Geoffrey Keating)
- To: gcc-patches at gcc dot gnu dot org, mark at codesourcery dot com, shebs at apple dot com, mrs at apple dot com
- Date: Fri, 25 Mar 2005 15:39:46 -0800 (PST)
- Subject: disable ppc64 multilib on powerpc-darwin8 for 4.0?
At present, the 4.0 branch doesn't bootstrap on powerpc-darwin8,
because libffi & libjava haven't been ported to ppc64 yet.
Mike has done some work on the port, but it's not done yet, and even
if it was I don't know that it should go on the 4.0 branch before the
4.0.0 release.
So, in the meantime, I propose this patch for the 4.0 branch.
I considered disabling java instead, but that seems to be worse, for
three reasons:
- it involves changing configury that affects every darwin target, not
just darwin8
- I think that people using FSF GCC are more likely to want to use gcj
than 64-bit, since they can use Apple's compiler for 64-bit but not
for gcj
- java worked for 3.4, but ppc64 didn't.
What do people think? What about mainline?
--
- Geoffrey Keating <geoffk@apple.com>
===File ~/patches/gcc-40-noppc64.patch======================
2005-03-25 Geoffrey Keating <geoffk@apple.com>
* config/rs6000/t-darwin8: Comment out ppc64 multilib.
Index: config/rs6000/t-darwin8
===================================================================
RCS file: /cvs/gcc/gcc/gcc/config/rs6000/t-darwin8,v
retrieving revision 1.2
diff -u -p -u -p -r1.2 t-darwin8
--- config/rs6000/t-darwin8 16 Feb 2005 21:54:47 -0000 1.2
+++ config/rs6000/t-darwin8 25 Mar 2005 23:24:48 -0000
@@ -1,3 +1,5 @@
# 64-bit libraries can only be built in Darwin 8.x or later.
-MULTILIB_OPTIONS = m64
-MULTILIB_DIRNAMES = ppc64
+# Unfortunately, though, libjava and libffi haven't been ported to -m64
+# yet.
+# MULTILIB_OPTIONS = m64
+# MULTILIB_DIRNAMES = ppc64
============================================================