From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95913 invoked by alias); 30 Nov 2016 10:53:17 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 95904 invoked by uid 89); 30 Nov 2016 10:53:16 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-4.8 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=20161130 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Nov 2016 10:53:06 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 30A865455F; Wed, 30 Nov 2016 10:53:04 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-204-100.brq.redhat.com [10.40.204.100]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id uAUAr2xl027162 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 30 Nov 2016 05:53:03 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id uAUAr01E024200; Wed, 30 Nov 2016 11:53:00 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id uAUAquFe023751; Wed, 30 Nov 2016 11:52:56 +0100 Date: Wed, 30 Nov 2016 10:53:00 -0000 From: Jakub Jelinek To: Richard Biener Cc: Matthias Klose , Andreas Schwab , GCC Patches , Andrew Pinski , Nicola Pero , Jeff Law Subject: Re: [patch] boehm-gc removal and libobjc changes to build with an external bdw-gc Message-ID: <20161130105256.GO3541@tucnak.redhat.com> Reply-To: Jakub Jelinek References: <98216026-e0e2-f253-0346-94071d7dc5c7@ubuntu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg03007.txt.bz2 On Wed, Nov 30, 2016 at 11:17:32AM +0100, Richard Biener wrote: > On Wed, Nov 30, 2016 at 11:06 AM, Matthias Klose wrote: > > On 30.11.2016 09:29, Andreas Schwab wrote: > >> configure: error: no --with-target-bdw-gc options and no bdw-gc pkg-config module found > >> make[1]: *** [Makefile:19775: configure-target-libobjc] Error 1 > >> > >> Andreas. > > > > that's a bit terse. Could you send the complete output for the configuration of > > the libobjc subdir and the config.log? > > > > I assume that is a configuration with --enable-objc-gc and then the pkg-config > > module cannot be found. Are gc/gc.h and libgc.so in standard paths without > > having the bdw-gc pkg-config module available? Which libgc version is installed? > > I see the same failure with just > > ../configure --enable-languages=objc > > usually we disable languages (with a diagnostic) if requirements > cannot be fulfilled. > > But it seems the default chosen is bad somehow... (and breaks my bootstraps with > default languages). I'm now testing the default (no --enable-objc-gc, --enable-objc-gc=*, --disable-objc-gc) with. Ok for trunk if it succeeds? 2016-11-30 Jakub Jelinek * configure.ac (--enable-objc-gc): If not given, default to enable_objc_gc=no. * configure: Regenerated. --- libobjc/configure.ac.jj 2016-11-30 08:57:26.000000000 +0100 +++ libobjc/configure.ac 2016-11-30 11:47:33.085828683 +0100 @@ -203,7 +203,7 @@ gt_BITFIELD_TYPE_MATTERS AC_ARG_ENABLE(objc-gc, [AS_HELP_STRING([--enable-objc-gc], [enable use of Boehm's garbage collector with the - GNU Objective-C runtime])]) + GNU Objective-C runtime])],,enable_objc_gc=no) AC_ARG_WITH([target-bdw-gc], [AS_HELP_STRING([--with-target-bdw-gc=PATHLIST], [specify prefix directory for installed bdw-gc package. --- libobjc/configure.jj 2016-11-30 08:57:26.000000000 +0100 +++ libobjc/configure 2016-11-30 11:47:44.720680375 +0100 @@ -11509,6 +11509,8 @@ $as_echo "#define HAVE_BITFIELD_TYPE_MAT # Check whether --enable-objc-gc was given. if test "${enable_objc_gc+set}" = set; then : enableval=$enable_objc_gc; +else + enable_objc_gc=no fi Jakub