This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java 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: Many Failures In libjava Testsuite!


Tom Tromey wrote:

Bryce> I looked at this but wasn't able to come up with a clean fix
Bryce> yet. So, for now, I've reverted the patches.

I think the very best fix would be in autoconf.  That might be a hard
sell, as I recall Akim purposely implemented things this way --
automake had already been through this and provided a way to turn off
the defines it added.

There's always adding #undefs to libjava/include/boehm-gc.h. This is
gross, but we don't use those defines, are unlikely to in the future.



Yes, I think that should be an acceptable fix for now, especially since we should only need to do it in one place. It would be really nice if libjava had no compile-time dependencies on the GC's configuration, however - ie GC_malloc() should call the right version depending on how the GC is configured, that way libjava wouldn't have to include any configuration from the GC.


Regards

Bryce


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