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]

For now, last libjava alpha*-*-freebsd* configuration patch


I have posted and applied all boehm-gc (simple) and libffi (trivial,
configuration enablement only) patches required for alpha*-*-freebsd*.

Ignoring, for the moment, the remaining FP issue on FreeBSD/alpha that
we have discussed over on the java list.  Most of the actual
configuration for *-*-freebsd* and alpha*-*-* in libjava is generic
enough to work as is.  This remaining trivial patch to address
non-standardization in the location and contents of <.../pal.h>
appears to be all required to allow bootstrap.  Even with the FP issue
hanging over this port, I propose to apply this patch since I believe
it is correct on its own.  After that, I will test all of the recent
*-*-freebsd* patches on the 3.1 branch and request to move them.

Fails to bootstrap alpha*-*-freebsd[45]* without patch.

	* include/posix-threads.h: Support <.../pal.h> on FreeBSD/alpha.

Index: include/posix-threads.h
===================================================================
RCS file: /cvs/gcc/gcc/libjava/include/posix-threads.h,v
retrieving revision 1.21
diff -c -r1.21 posix-threads.h
*** posix-threads.h	2002/03/10 03:53:12	1.21
--- posix-threads.h	2002/03/26 09:13:53
***************
*** 244,250 ****
--- 244,255 ----
  
  #ifdef __alpha__
  
+ #ifdef __FreeBSD__
+ #include <machine/pal.h>
+ #define PAL_rduniq PAL_rdunique
+ #else
  #include <asm/pal.h>
+ #endif
  
  typedef unsigned long _Jv_ThreadId_t;
  


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