public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
To: Eric Gallager <egall@gwmail.gwu.edu>
Cc: Jakub Jelinek <jakub@redhat.com>,  Andrew Haley <aph@redhat.com>,
	 Ian Lance Taylor <ian@airs.com>,
	 Marek Polacek <polacek@redhat.com>,
	 gcc-patches@gcc.gnu.org
Subject: Re: [PATCH] Fix bootstrap with --enable-languages=all,go
Date: Fri, 30 Sep 2016 23:52:00 -0000	[thread overview]
Message-ID: <yddoa35av9n.fsf@CeBiTec.Uni-Bielefeld.DE> (raw)
In-Reply-To: <CAMfHzOuW+8WnP_n596HtnDkdtmj1pMRYxQ2gznYn0aGgWWVG1w@mail.gmail.com>	(Eric Gallager's message of "Fri, 30 Sep 2016 15:52:12 -0400")

[-- Attachment #1: Type: text/plain, Size: 860 bytes --]

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  <ro@CeBiTec.Uni-Bielefeld.DE>

	* configure.ac (target_libraries): Readd target-boehm-gc.
	Restore --enable-objc-gc handling.
	* configure: Regenerate.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: eog.patch --]
[-- Type: text/x-patch, Size: 1246 bytes --]

--- configure.ac.pre-bgc	2016-09-30 23:20:44.000000000 +0200
+++ configure.ac	2016-09-30 23:28:35.952184178 +0200
@@ -161,6 +161,7 @@ target_libraries="target-libgcc \
 		target-libssp \
 		target-libquadmath \
 		target-libgfortran \
+		target-boehm-gc \
 		target-libffi \
 		target-libobjc \
 		target-libada \
@@ -2054,6 +2055,28 @@ for dir in $configdirs $build_configdirs
   fi
 done
 
+# Check for Boehm's garbage collector
+AC_ARG_ENABLE(objc-gc,
+[AS_HELP_STRING([--enable-objc-gc],
+		[enable use of Boehm's garbage collector with the
+		 GNU Objective-C runtime])],
+[case ,${enable_languages},:${enable_objc_gc}:${noconfigdirs} in
+  *,objc,*:*:yes:*target-boehm-gc*)
+    AC_MSG_ERROR([Boehm's garbage collector was requested yet not supported in this configuration])
+    ;;
+esac])
+
+# Make sure we only build Boehm's garbage collector if required.
+case ,${enable_languages},:${enable_objc_gc} in
+  *,objc,*:yes)
+    # Keep target-boehm-gc if requested for Objective-C.
+    ;;
+  *)
+    # Otherwise remove target-boehm-gc.
+    noconfigdirs="$noconfigdirs target-boehm-gc"
+    ;;
+esac
+
 # Disable libcilkrts, libitm, libsanitizer, libvtv, liboffloadmic if we're not building C++
 case ,${enable_languages}, in
   *,c++,*)

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]


-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University

  reply	other threads:[~2016-09-30 22:16 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-05 15:29 [PATCH] Delete GCJ Andrew Haley
2016-09-05 15:31 ` Matthias Klose
2016-09-05 15:32   ` Andrew Haley
2016-09-05 18:38   ` Eric Gallager
2016-09-05 15:55 ` Matthew Fortune
     [not found] ` <FB08E20B-5ED1-45BA-BFA0-11E7807840D2@gmail.com>
2016-09-05 16:26   ` Andrew Haley
2016-09-06  9:08     ` Richard Biener
2016-09-06  9:11       ` Jakub Jelinek
2016-09-06 21:24         ` Jeff Law
2016-09-07 11:52           ` Richard Earnshaw (lists)
2016-09-09 11:47       ` Ian Lance Taylor
2016-09-05 16:35 ` Gerald Pfeifer
2016-09-05 18:58   ` Eric Gallager
2016-09-30 16:11   ` Andrew Haley
2017-01-22 18:00     ` Gerald Pfeifer
2017-01-22 18:42       ` Per Bothner
2017-01-23  9:03         ` Andrew Haley
2017-01-23  9:10           ` Jakub Jelinek
2017-01-23 13:04             ` Per Bothner
2017-01-23 13:49               ` Jakub Jelinek
2017-01-23 15:05                 ` Andrew Haley
2017-01-22 18:41     ` Gerald Pfeifer
2016-09-10 12:22 ` NightStrike
2016-09-11 13:03   ` Andrew Haley
2016-09-30 10:42     ` Marek Polacek
2016-09-30 13:11       ` Andrew Haley
2016-09-30 19:08         ` [PATCH] Fix bootstrap with --enable-languages=all,go Jakub Jelinek
2016-09-30 20:06           ` Eric Gallager
2016-09-30 23:52             ` Rainer Orth [this message]
2016-10-01  7:58               ` Andrew Haley
2016-10-03 12:53                 ` Rainer Orth
2016-10-04 15:28                   ` Jeff Law
2016-10-04  9:23               ` Jakub Jelinek
2016-10-19 12:14                 ` Rainer Orth
2016-10-24 18:51                   ` Jeff Law
2016-10-27 12:02                     ` Rainer Orth
2016-10-27 12:02                     ` Rainer Orth
2016-10-27 12:02                     ` Rainer Orth
2016-10-27 16:00                       ` Jeff Law
2016-10-27 12:02                     ` Rainer Orth
2016-09-30 23:54           ` Ian Lance Taylor
2016-10-02 13:27         ` [PATCH] Delete GCJ Andreas Schwab
2016-10-02 16:51           ` Andrew Haley
2016-10-02 19:59           ` [C++ PATCH] Delete GCJ - C++ part Jakub Jelinek
2016-10-04 15:20             ` Jason Merrill
2016-10-05  9:04             ` Andreas Schwab
2016-10-05  9:07               ` Jakub Jelinek
2016-10-05 16:22                 ` Jeff Law
2016-10-28 20:57           ` [PATCH] Delete GCJ Eric Botcazou
2017-01-22 23:06           ` Gerald Pfeifer
2016-10-03 23:12 ` Matthias Klose
2016-10-04  8:40   ` Rainer Orth
2016-10-04  8:41     ` Andrew Haley
2016-10-04 17:23       ` Mike Stump
2016-10-04 17:25         ` Andrew Pinski
2016-10-04 18:40         ` Iain Sandoe
2016-10-05 16:28           ` Jeff Law
     [not found]             ` <2b5de569-1efd-f407-49c2-c9fa84cc5315@ubuntu.com>
2016-10-06 16:16               ` Matthias Klose
2016-10-06 16:43                 ` Rainer Orth
2016-10-06 16:47                   ` Iain Sandoe
2016-10-06 16:54                     ` Matthias Klose
2016-10-06 16:56                       ` Rainer Orth
2016-10-06 17:10                         ` Iain Sandoe
2016-10-06 18:01                         ` Mike Stump
2016-10-06 23:59                           ` Matthias Klose
2016-10-07  8:31                             ` Iain Sandoe
2016-10-10  4:03                               ` Matthias Klose
2016-10-10  7:58                                 ` Iain Sandoe
2016-11-20 20:42                                   ` Matthias Klose
2016-11-21  5:34                                     ` Sandra Loosemore
2016-11-21 10:24                                     ` Iain Sandoe
2016-11-21 12:57                                       ` Matthias Klose
2016-11-21 16:23                                         ` Sandra Loosemore
2016-11-21 16:40                                           ` Matthias Klose
2016-11-21 17:16                                             ` Peter Bergner
2016-11-21 17:16                                             ` Rainer Orth
2016-11-21 23:23                                               ` Matthias Klose
2016-11-22 17:13                                                 ` Sandra Loosemore
2016-11-29 21:23                                                 ` Jeff Law
2016-11-30  1:11                                                   ` Remove stray '@' from install.texi (was Re: [PATCH] Delete GCJ) David Malcolm
2016-11-30  1:20                                                     ` Sandra Loosemore
2016-11-30  1:26                                                       ` David Malcolm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yddoa35av9n.fsf@CeBiTec.Uni-Bielefeld.DE \
    --to=ro@cebitec.uni-bielefeld.de \
    --cc=aph@redhat.com \
    --cc=egall@gwmail.gwu.edu \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=ian@airs.com \
    --cc=jakub@redhat.com \
    --cc=polacek@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).