[patch] boehm-gc remove darwin hack

Andreas Tobler toa@pop.agri.ch
Sat Dec 20 14:54:00 GMT 2003


Andreas Tobler wrote:

> Hi all,
> 
> Geoffrey Keating implemented the proper fix for a header issue on darwin.
> 
> http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01716.html

Sorry, referenced the wrong message, here the right one:

http://gcc.gnu.org/ml/gcc-patches/2003-12/msg01675.html

Andreas
> 
> Now the hack below is no longer needed.
> 
> We fell into this hole with gcc up to yesterday. Apple's gcc does not 
> suffer this problem.
> 
> Boehm-gc is built by default on darwin from 3.4 on. When 3.4 is released 
> it contains the fix above and we can build boehm-gc either with apple 
> gcc or with 'the latest' fsf gcc.
> 
> Ok for mainline? Bootstrap & test on powerpc-darwin7.2.0, results posted 
>  saturday morning.
> 
> Andreas
> 
> 2003-12-20  Andreas Tobler  <a.tobler@schweiz.ch>
> 
>     * dyn_load.c (GC_register_dynamic_libraries): Remove ifdef
>     conditional for darwin. Fixed by fixinclude now.
> 
> 
> Index: dyn_load.c
> ===================================================================
> RCS file: /cvs/gcc/gcc/boehm-gc/dyn_load.c,v
> retrieving revision 1.21
> diff -u -r1.21 dyn_load.c
> --- dyn_load.c  30 Jul 2003 17:42:28 -0000      1.21
> +++ dyn_load.c  20 Dec 2003 14:25:34 -0000
> @@ -980,13 +980,7 @@
> 
>  #ifdef DARWIN
> 
> -#ifndef __private_extern__
> -#define __private_extern__ extern
>  #include <mach-o/dyld.h>
> -#undef __private_extern__
> -#else
> -#include <mach-o/dyld.h>
> -#endif
>  #include <mach-o/getsect.h>
> 
>  /*#define DARWIN_DEBUG*/
> 
> 
> 




More information about the Java-patches mailing list