This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: 4.0.0->4.0.1 regression: Can't use 64-bit shared libs on powerpc-apple-darwin8.1.0


On Wednesday, June 15, 2005, at 06:37 PM, Bradley Lucier wrote:
The reasons given for disabling ppc64 multilib instead of java on darwin were

I think it might be possible to use GNU make to setup the MULTILIB options depending upon wether or not LANGUAGES (CONFIG_LANGUAGES) includes java. Include java, no multilib, don't include it, and multilib. Please try something like:


Doing diffs in .:
--- ./config/rs6000/t-darwin8.~1~ 2005-04-07 15:58:23.000000000 -0700
+++ ./config/rs6000/t-darwin8 2005-06-15 23:14:38.000000000 -0700
@@ -1,5 +1,10 @@
# 64-bit libraries can only be built in Darwin 8.x or later.
# Unfortunately, though, libjava and libffi haven't been ported to -m64
# yet.
+ifneq (,$(findstring java, $(CONFIG_LANGUAGES)))
# MULTILIB_OPTIONS = m64
# MULTILIB_DIRNAMES = ppc64
+else
+MULTILIB_OPTIONS = m64
+MULTILIB_DIRNAMES = ppc64
+endif
--------------


and let me know if it works. Quick testing indicates it should. I'll test the java version of it to ensure that it doesn't break the bootstrap. If both builds work, we can ask if anyone else knows of a reason the above would be bad. If not, we can put this into mainline. From there, we can push for it to make it into 4.0.x.

Sound ok?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]