From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-il1-x131.google.com (mail-il1-x131.google.com [IPv6:2607:f8b0:4864:20::131]) by sourceware.org (Postfix) with ESMTPS id E9F0F383F84E for ; Sun, 31 May 2020 20:30:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E9F0F383F84E Received: by mail-il1-x131.google.com with SMTP id v11so7506508ilh.1 for ; Sun, 31 May 2020 13:30:24 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=DLDIOh5dQvk3+59yFNS1BwMrRjqw9Qql4P1FuZLqmgM=; b=saQWfstaeuKm0BaWCcSs4eOyhfXRSzIkPRq2M0pncIRfOj5Y6092a2aWpk6BzUmH2N RfekSwEviKkHjgzQM+c9VOunSfnRmRpO+Ph1Y5VyBg6qJgMBhNN2ECi59rmmdoQxlRJF 6G3hhwZkaJO7BRESsF7mg9oXvgQ3ZC/CjsGh+uOuoQYJwB1Elv73VwdXN/oNdNVPxyGp 7wvp+LpKvkkTRvEJ2anyPBb3/EKdGMR6PCE5ml8/Dn/lXHzN1W9+gvZOeAPsgewVF3/D fpuKYLniwfORHNOmpV5Xalg/g/3ku9dTfgefl+unbllFHd7Cxey64c1A1QP95gX8aFJL peSA== X-Gm-Message-State: AOAM5327hZCy0kgq48iIxC0Y8g1KXEdI6cvveB58T9WbksWJEIsxTYqm waBwlMXddRvC0q3F4MMvPXWEV0g+HsS7I6RNciI= X-Google-Smtp-Source: ABdhPJycZm1TjNYgYJP7PIXwja6D/GqTObNStjJ1Ky2jF8PzwhnP1Oxo2AV0Zakf6goX0ctYyLN0serwsUJjdrhnwNQ= X-Received: by 2002:a92:cf46:: with SMTP id c6mr18566898ilr.4.1590957024530; Sun, 31 May 2020 13:30:24 -0700 (PDT) MIME-Version: 1.0 References: <61ade9a5-4252-9b6d-5aed-9451404111d4@gmx.ch> <5d574283-2ca2-8c10-3c3e-21f2db4aae07@gmx.ch> <4c4e0c44-922d-df87-3d65-6a8b1d38b446@gmx.ch> In-Reply-To: <4c4e0c44-922d-df87-3d65-6a8b1d38b446@gmx.ch> From: Jonathan Wakely Date: Sun, 31 May 2020 21:30:13 +0100 Message-ID: Subject: Re: Debugging ICE in GCC To: Manfred Schwarb Cc: gcc-help Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: gcc-help@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-help mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 31 May 2020 20:30:26 -0000 On Sun, 31 May 2020 at 14:45, Manfred Schwarb wrote: > > Am 31.05.20 um 01:46 schrieb Manfred Schwarb: > > Am 30.05.20 um 09:39 schrieb Jonathan Wakely: > >> On Sat, 30 May 2020 at 02:01, Manfred Schwarb wrote: > > >>> > >>> I built GCC with > >>> #> ../configure --enable-checking=yes,extra i686-linux > >>> #> make BOOT_CFLAGS="-O2 -ggdb" bootstrap2-lean > >>> > > OK, I found it. I was perhaps a bit too clever: while "bootstrap2" > really speeds up things a lot, it seems to hamper debugability. > So if I bootstrap with "bootstrap", my backtraces show up as they should. You can just do "make" and not ask for any bootstrap targets. The default is a normal bootstrap, which would have worked fine. > BTW: is bootstrapping with BOOT_CFLAGS="-Og -g" meant to work? Yes. > With "-Og" I get multiple errors of the category "-Werror=maybe-uninitialized" > and "-Werror=format-whatever" and bootstrap fails. --disable-werror