On Sat, Oct 01, 2016 at 12:16:20AM +0200, Rainer Orth wrote:
> Hi Eric,
> 
> >> I haven't tried to readd the boehm-gc objc support that has also been
> >> disabled, don't know about anybody using that.
> >
> > I always configure with --enable-objc-gc. The only reason Apple
> > deprecated garbage collection for Objective C is because they replaced
> > it with Automated Reference Counting in clang, which GCC doesn't
> > support yet. So, until GCC supports Automated Reference Counting,
> > please keep boehm-gc support for objc.
> 
> me too, though mostly to have maximum test coverage (primarily on
> Solaris).  As expected, a x86_64-apple-darwin16 bootstrap with
> --enable-objc-gc just failed for me.  I'm testing the following patch
> (on top of Jakub's).
> 
>       Rainer
> 
> 
> 2016-10-01  Rainer Orth  <r...@cebitec.uni-bielefeld.de>
> 
>       * configure.ac (target_libraries): Readd target-boehm-gc.
>       Restore --enable-objc-gc handling.
>       * configure: Regenerate.

This is incomplete.  I guess it can be committed as is, but should be
followed by re-addition of:
  bfin-*-*)
    noconfigdirs="$noconfigdirs target-boehm-gc"
    ;;
  cris-*-* | crisv32-*-*)
    case "${target}" in
      *-*-linux*)
        ;;
      *) # See PR46792 regarding target-libffi.
        noconfigdirs="$noconfigdirs target-boehm-gc";;
    esac
    ;;
  mmix-*-*)
    noconfigdirs="$noconfigdirs target-boehm-gc"
    ;;
(perhaps in the same case as target-libffi handling).

        Jakub

Reply via email to