From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 44722 invoked by alias); 3 Mar 2016 19:26:56 -0000 Mailing-List: contact crossgcc-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: crossgcc-owner@sourceware.org Received: (qmail 44692 invoked by uid 89); 3 Mar 2016 19:26:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=vendors X-HELO: mail-lb0-f180.google.com Received: from mail-lb0-f180.google.com (HELO mail-lb0-f180.google.com) (209.85.217.180) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 03 Mar 2016 19:26:54 +0000 Received: by mail-lb0-f180.google.com with SMTP id bc4so35787590lbc.2 for ; Thu, 03 Mar 2016 11:26:53 -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; bh=8RRHVY9l85x1Kfx/FfjLQtDPcE990tTQKtmWXs4SfSg=; b=Su0ygRNW4vAr5Qbzk5f/jGxDhNLATelqhVIVeVHoADRLTU+WhqNS+UA6OR5vix+HEq ff2l8FBFNa7CsoRWH132Jqi8eR5Ezh21e1J0cyZRmh7hmSU2THPA+YwTAEQ77Pny3fjc LLw91kIwtr4QLd55c0IBZt6kIHUqC/vp/kJVtNMXjjWUYdkR3yEQxeUbEfrHpPYSYZe4 CykryI6K4GAXQQn2HCIDJZaYQ+NadDgBpw2fIZqAaEjFuwIgPFiHkt7QyuyE/1Y2rm5I vaa5vT4V6+tu1T//6Yprw/V8WTaaYnqtkPo2PeFQDl09DxusbPvtvL91UNCNUSRwNYb0 SP7w== X-Gm-Message-State: AD7BkJLJIAFeMyERJp+u6u1qtidtAwaRjBXnNKOwsWo5pzVkEEFyqvfIocNbPFHs9XYAhKOhUxr/X7Zyn7OoJQ== X-Received: by 10.112.137.41 with SMTP id qf9mr1632353lbb.140.1457033210428; Thu, 03 Mar 2016 11:26:50 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.89.142 with HTTP; Thu, 3 Mar 2016 11:26:30 -0800 (PST) In-Reply-To: References: From: Thomas De Schampheleire Date: Thu, 03 Mar 2016 19:26:00 -0000 Message-ID: Subject: Re: Building toolchain libraries with debugging symbols To: crossgcc maillist Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-03/txt/msg00014.txt.bz2 On Mon, Feb 8, 2016 at 10:40 AM, Thomas De Schampheleire wrote: > Hello, > > What is the 'correct' way to make sure that the libraries of the > toolchain (most importantly libc but possibly others) contain > debugging symbols, so that debugging an application linked to these > libraries works as expected? > > Toolchains provided by external vendors are configured as such, but it > seems that crosstool-ng by default does not. > > We did not find a global setting for this. As a workaround we applied > the following: > > CT_LIBC_GLIBC_EXTRA_CFLAGS="-g" > > but it is unclear if this is the 'correct' way or not. > ping? -- For unsubscribe information see http://sourceware.org/lists.html#faq