From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28778 invoked by alias); 8 Feb 2016 09:41:07 -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 28754 invoked by uid 89); 8 Feb 2016 09:41:06 -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-f170.google.com Received: from mail-lb0-f170.google.com (HELO mail-lb0-f170.google.com) (209.85.217.170) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Mon, 08 Feb 2016 09:41:05 +0000 Received: by mail-lb0-f170.google.com with SMTP id dx2so79572497lbd.3 for ; Mon, 08 Feb 2016 01:41:05 -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:from:date:message-id:subject:to :content-type; bh=eNXpbbLJoZXYyw+eSVghWfqMvkncKDUN5IKZ1070XiY=; b=RyJ3fb7UGM5rsZnMFgQ2ctOfbPDIHRVOlajgTIY2LOXph+HGilIk8TQu+aRBK6t34r WeBBL87VULCLpU08q/eqiXEYNqEg19dLLMI4HHjgpCMb2ZJxL6IAzYNA4ftloDsKQsvH C2DzaCX+dupPW7EaHSpGYpyIafhdZ2ITemK8z3rqLrRs/Zu5AU9yXQM8jDGduyY5FMWc Jq57DJB9+EOisJyL6/qeME82N5xiBrxnmdZ+niMMKPN4CgqGCvQ5rvb28v/1vCBtzFYb bjBgaVdYgxIZ9+U2rAzhNvXNY4e5kVCC9fc1Vc+NJnyQQIUdxjouIGMSskQtr9xfhHwJ ZMmg== X-Gm-Message-State: AG10YOSWIhwc6UtD1PhORpdD5MbwKPywmXagzci59aPhjPP1eT3lChsn1cNuLR8G22inA7XZJj8K0i746RFtuw== X-Received: by 10.112.161.104 with SMTP id xr8mr11117166lbb.29.1454924462684; Mon, 08 Feb 2016 01:41:02 -0800 (PST) MIME-Version: 1.0 Received: by 10.25.155.77 with HTTP; Mon, 8 Feb 2016 01:40:43 -0800 (PST) From: Thomas De Schampheleire Date: Mon, 08 Feb 2016 09:41:00 -0000 Message-ID: Subject: Building toolchain libraries with debugging symbols To: crossgcc maillist Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-02/txt/msg00006.txt.bz2 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. Thanks, Thomas -- For unsubscribe information see http://sourceware.org/lists.html#faq