From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 125769 invoked by alias); 31 Jan 2020 18:37:23 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 125760 invoked by uid 89); 31 Jan 2020 18:37:23 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-delivery-1.mimecast.com (HELO us-smtp-1.mimecast.com) (205.139.110.120) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 31 Jan 2020 18:37:22 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1580495840; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=KPgjUd/bxBVFnOiYPbCx5BK4ytAMysgXbY9Vai7ncOY=; b=Amz92aE6RBy6C3eLuAX1OrUI9nilydc2pfDXu03UQkdRLd2juN9dHHQ74RVsKJZEKQE0Fy B+hD1hC5OCIKc0p1rVPyC53QF9ozGZl+ZcZHnBMTo7LYUXuL31ADQ+zrwy8AZVUgrZ20KR nSJEGndlnVFg2GhVRbZ9NGC9l9oAlRE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-272-75BB0ObBOL-L3E0VEtugtg-1; Fri, 31 Jan 2020 13:37:14 -0500 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 5D8761005512; Fri, 31 Jan 2020 18:37:12 +0000 (UTC) Received: from localhost (unused-10-15-17-196.yyz.redhat.com [10.15.17.196]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4F5367794B; Fri, 31 Jan 2020 18:37:11 +0000 (UTC) From: Sergio Durigan Junior To: Eli Zaretskii Cc: brobecker@adacore.com, simark@simark.ca, gdb-patches@sourceware.org, tom@tromey.com Subject: Re: [RFA/gdb-9-branch] Abort configure immediately if building GDB in tree References: <20200105073000.1012-1-brobecker@adacore.com> <4d350c75-6e52-5c4c-5901-4c391970b643@simark.ca> <20200117181554.GB7007@adacore.com> <20200117183203.GC7007@adacore.com> <87imksmz79.fsf@redhat.com> <834kwcm63u.fsf@gnu.org> Date: Fri, 31 Jan 2020 21:02:00 -0000 In-Reply-To: <834kwcm63u.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 31 Jan 2020 09:34:45 +0200") Message-ID: <87r1zflbft.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2020-01/txt/msg01004.txt.bz2 On Friday, January 31 2020, Eli Zaretskii wrote: >> From: Sergio Durigan Junior >> Cc: Simon Marchi , gdb-patches@sourceware.org, Tom T= romey >> Date: Thu, 30 Jan 2020 16:06:18 -0500 >>=20 >> $ ./src-release.sh -x gdb >> =3D=3D> Cleaning sources. >> =3D=3D> Making gdb-9.0.90.20200130/ >> =3D=3D> configure --target=3Di386-pc-linux-gnu --disable-binutils >> --disable-gas --disable-gold --disable-gprof --disable-ld >> --enable-gdb --enable-libctf --enable-libdecnumber --enable-readline >> --enable-sim >> configure: error: GDB must be configured and built in a directory sepa= rate from its sources. >> ... >>=20 >> I'm wondering what to do here. I think I found a hacky and ugly >> solution here, but I'm trying to see if there's a better approach. > > A special command-line switch to 'configure', to be used by > src-release.sh? A quick attempt here didn't really work. The script is able to finish the build and create a tarball, but for some reason the gdb directory is not configured/built. Thanks, --=20 Sergio GPG key ID: 237A 54B1 0287 28BF 00EF 31F4 D0EB 7628 65FC 5E36 Please send encrypted e-mail if possible http://sergiodj.net/