From owner-freebsd-arch@FreeBSD.ORG Tue Jun 22 18:38:02 2010 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 14A6A106567B; Tue, 22 Jun 2010 18:38:02 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-iw0-f182.google.com (mail-iw0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 6C1348FC1B; Tue, 22 Jun 2010 18:38:01 +0000 (UTC) Received: by iwn7 with SMTP id 7so6056081iwn.13 for ; Tue, 22 Jun 2010 11:38:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:sender:received :in-reply-to:references:date:x-google-sender-auth:message-id:subject :from:to:cc:content-type; bh=eDH5KThs84GFuPXptE/QF86UzA5JXopoy59sogFCKzE=; b=Fn7Xmd9rG2iwsr+DLc+9fLv2BWBCQW4J5KzTmL9+weHsisCOeZJ+QcSuwgqJrcJxVn kHVr7/0x25rFDAMUqRA/QbAF0EFsddBPVY+84qghKQf4zbOHBmavtdPNWD/yMdrcPk/P fRElpYTRudw/HsozsZNz/c3WlVWfvGK6gxp00= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=j604EqBsf47pqhYnbByKTsydknAIMyDoGsxOhSLm+qhlncs0BLnxmMA3yPvTXTaiqs XOeo8I7LV6JwsciTF/hGGk0aHZW8ZP5Xek0IUGQYkaQYm5LoooE2plwd9089MQSdYWAD kL0ZDXlCBSPqKfXLETnwalKOEAsQ/yuAXBCVY= MIME-Version: 1.0 Received: by 10.231.120.100 with SMTP id c36mr6725448ibr.77.1277230197761; Tue, 22 Jun 2010 11:09:57 -0700 (PDT) Sender: yanegomi@gmail.com Received: by 10.231.117.201 with HTTP; Tue, 22 Jun 2010 11:09:57 -0700 (PDT) In-Reply-To: References: <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org> <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> Date: Tue, 22 Jun 2010 11:09:57 -0700 X-Google-Sender-Auth: Rm_BQBmhsNFNCU3UoZMOhvXrWtA Message-ID: From: Garrett Cooper To: Adrian Chadd Content-Type: text/plain; charset=ISO-8859-1 Cc: arch@freebsd.org, Fabien Thomas Subject: Re: Time to stop stripping binaries? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jun 2010 18:38:02 -0000 On Tue, Jun 22, 2010 at 2:32 AM, Adrian Chadd wrote: > On 21 June 2010 14:41, Fabien Thomas wrote: > >> Having base symbols will help if you do PMC on the system for example. >> I'm always building with DONTSTRIP=1 to have it at the moment. > > ISTR someone pointing out that there's a "magical" (ie, I don't > understand it) way to optionally have debugging symbols as extra > file(s), rather than having to ship extremely large shared libraries > by default. See this link: http://old.nabble.com/-gcc--separate-debug-infos-td21591416.html . It's similar to what I've seen some internal groups do before in the past. > On another hand, the Linux box I'm using oprofile on has a libc6-dbg > package which includes the extra symbols in libraries which populate > /usr/lib/debug/ . I haven't the foggiest clue how the linker (and > opreport) know how to use which and when. Cheers, -Garrett