From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 95222 invoked by alias); 14 Aug 2015 13:19:07 -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 95200 invoked by uid 89); 14 Aug 2015 13:19:06 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mail-ob0-f179.google.com Received: from mail-ob0-f179.google.com (HELO mail-ob0-f179.google.com) (209.85.214.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Fri, 14 Aug 2015 13:19:05 +0000 Received: by obbhe7 with SMTP id he7so61060771obb.0; Fri, 14 Aug 2015 06:19:03 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.182.81.98 with SMTP id z2mr1643048obx.70.1439558343816; Fri, 14 Aug 2015 06:19:03 -0700 (PDT) Received: by 10.60.58.41 with HTTP; Fri, 14 Aug 2015 06:19:03 -0700 (PDT) Date: Fri, 14 Aug 2015 13:19:00 -0000 Message-ID: Subject: Re: [patch,libgfortran,toplevel] Use libbacktrace in libgfortran From: Uros Bizjak To: "gcc-patches@gcc.gnu.org" Cc: Fortran List , FX Coudert Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-08/txt/msg00786.txt.bz2 Hello! > Use libbacktrace (instead of our own unwind-based code) to display backtraces from libgfortran > upon error or user request. > > 1. In toplevel Makefile.def, make libgfortran depend on libbacktrace (needs global reviewer > approval) > 2. In gcc/fortran/config-lang.in, add libbacktrace to target_libs > 3. In libgfortran, we remove our own code and substitute calls to libbacktrace > > Bootstrapped and regtested on x86_64-pc-linux-gnu (which has full libbacktrace support) and > x86_64-apple-darwin14 (which has minimal libbacktrace support). OK to commit to trunk? backtrace.ChangeLog is unreadable for me ... Uros.