From owner-freebsd-hackers@FreeBSD.ORG Thu Dec 13 20:05:15 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5768DB88 for ; Thu, 13 Dec 2012 20:05:15 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-ie0-f171.google.com (mail-ie0-f171.google.com [209.85.223.171]) by mx1.freebsd.org (Postfix) with ESMTP id 184918FC0A for ; Thu, 13 Dec 2012 20:05:13 +0000 (UTC) Received: by mail-ie0-f171.google.com with SMTP id 17so4648224iea.16 for ; Thu, 13 Dec 2012 12:05:07 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=wx0AcZ1lCTvGyx13RVM1s0n9xKoI8Op/m6RiKI6gRmE=; b=Es0et+e93bUWyD7boNlcEVURcMAW/+d6cWzMKuKfcAWa/7aWw7QZr0x8CxvxVULBnF 5QtSDASgePkvvAL/rFY7N+6OHSYFfFKAzpk+ZMR5BI5Q/eYalaqknIArRFjh2d/wGdFW CeRg740kNdW2CVPePfaikelc7FHNXR02P3UjsJPRvzObg7tNoihGDJNo+Ve7Y9E8k98+ gw4WXfq2EFgu87XHDEeAqhhXDEVo9CI85OcMLWsdvfchD2RNATfk/sEcvwvunnpx8TpE fX69Sd8K8KrWNV7LXaqoUOWvyGgwMNwSOVGFHklqrWRy70rk6toTEUYR5FHHErmC/OgA lqMQ== MIME-Version: 1.0 Received: by 10.50.15.138 with SMTP id x10mr18180041igc.16.1355429107013; Thu, 13 Dec 2012 12:05:07 -0800 (PST) Sender: carpeddiem@gmail.com Received: by 10.50.151.135 with HTTP; Thu, 13 Dec 2012 12:05:06 -0800 (PST) In-Reply-To: <20121213185431.GH71906@kib.kiev.ua> References: <20121213160847.GA78448@sandvine.com> <20121213185431.GH71906@kib.kiev.ua> Date: Thu, 13 Dec 2012 15:05:06 -0500 X-Google-Sender-Auth: l7nYcOoYJm7ekcyIXQNkUPzQU54 Message-ID: Subject: Re: [PATCH] Shared library debug .symbols files From: Ed Maste To: Konstantin Belousov Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Dec 2012 20:05:15 -0000 On 13 December 2012 13:54, Konstantin Belousov wrote: > On Thu, Dec 13, 2012 at 04:08:47PM +0000, Ed Maste wrote: ... >> This patch enables .symbols files for shared libraries when DEBUG_FLAGS >> is set. Future changes will be needed to address static libraries and >> base system binaries, and the release build bits. > You cannot strip static libraries, at least if you want the result > to be useful for the consequent use. Right, presumably I can use --strip-debug on static libraries and not --strip-all (assuming that objcopy still leaves the required parts).