From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3816 invoked by alias); 30 Nov 2016 11:37:38 -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 1258 invoked by uid 89); 30 Nov 2016 11:37:37 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=20161130 X-HELO: mail-wj0-f173.google.com Received: from mail-wj0-f173.google.com (HELO mail-wj0-f173.google.com) (209.85.210.173) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 30 Nov 2016 11:37:27 +0000 Received: by mail-wj0-f173.google.com with SMTP id xy5so171149526wjc.0 for ; Wed, 30 Nov 2016 03:37:27 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=40xoM1oM7lqMWB//sHsC5OUXH0yUQbB2rDS9qlW0/ns=; b=mFBddxfIaLCQX//nxaooX8PxDcRvxaYqAJunfSayQqpCmJKiL6tiGKiZtkxSmr8dUK qT0m5OAVNM8yg1FTX/BPPD9brZBgWbjfrp5+A1w56dVJIa/Uq0YUBhMPyyDWPGjmsB2J hnOhdFkoB12bFEKi0jPjz/sMWp+HbRRSpL71KeMiHBqyhn7aHZUWkoCvrA4mYZZuesfN sWCQ0oSp2j99PsR3Vlks5YlGC0DHXFtnZBGLRMEc9Z0akXoJAphzmZRP3lG/17GnkaOW PnIyIJO1SHQhm6nIWKNTL7/O5+LWB7acyrQuyEqMP+u56t/ArwPDNozcQO4C0Zg/u9EB LFSw== X-Gm-Message-State: AKaTC00ZjT/EXBcGViu/12j6/9uieRutAwhVuUoNQJXcPNdBaLEywJOThVZZut7fOLfSpY3EIWUp0ic1XWed/g== X-Received: by 10.194.171.66 with SMTP id as2mr32997811wjc.77.1480505845636; Wed, 30 Nov 2016 03:37:25 -0800 (PST) MIME-Version: 1.0 Received: by 10.28.137.2 with HTTP; Wed, 30 Nov 2016 03:37:25 -0800 (PST) In-Reply-To: <20161130105256.GO3541@tucnak.redhat.com> References: <98216026-e0e2-f253-0346-94071d7dc5c7@ubuntu.com> <20161130105256.GO3541@tucnak.redhat.com> From: Richard Biener Date: Wed, 30 Nov 2016 11:37:00 -0000 Message-ID: Subject: Re: [patch] boehm-gc removal and libobjc changes to build with an external bdw-gc To: Jakub Jelinek Cc: Matthias Klose , Andreas Schwab , GCC Patches , Andrew Pinski , Nicola Pero , Jeff Law Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-11/txt/msg03013.txt.bz2 On Wed, Nov 30, 2016 at 11:52 AM, Jakub Jelinek wrote: > 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? Ok. Thanks, Richard. > 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