From owner-freebsd-arch@FreeBSD.ORG Tue Jun 22 09:56:37 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 3C30E106564A for ; Tue, 22 Jun 2010 09:56:37 +0000 (UTC) (envelope-from adrian.chadd@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 013A98FC14 for ; Tue, 22 Jun 2010 09:56:36 +0000 (UTC) Received: by iwn7 with SMTP id 7so5515253iwn.13 for ; Tue, 22 Jun 2010 02:56:36 -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=clrT9vWcW27z6N+hTrvRGBvvlQLhuMkRy+6aPm3ah0Y=; b=jWQbp/AmA6siSlsM2cBV0t76yYo/hLRAWE4FhBfNMwsO40KMKRIwPB3FYGU/oGkPSN MHJ5egLv9hoD+3/OnONkWCqWqhfbc3R1ewloZkXqUOeIUowsFviwpae9PI2V31DvDIfV 5hZDRu7X05SOAsKxmnKITwH1CoMPqGkcO6XFg= 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=p/Zoydwu2Zv+OHGgrlLa9xjvvA5UZ8J2MQ7pZs0WCHIIUdHuvG4UZJhROTL8nxFgzz 35hBRu8a+VzqGu7XZQczRwnaeRBaPgQZNjBLraI+A02S2SenN+EFAlRZRIeUvmxOSMy+ balNEybbk8yaaYz3CEE6tYCaVaawuMCH8MW70= MIME-Version: 1.0 Received: by 10.231.35.195 with SMTP id q3mr7045865ibd.14.1277199144749; Tue, 22 Jun 2010 02:32:24 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.231.158.68 with HTTP; Tue, 22 Jun 2010 02:32:24 -0700 (PDT) In-Reply-To: <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> References: <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org> <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> Date: Tue, 22 Jun 2010 17:32:24 +0800 X-Google-Sender-Auth: 1I_Gkdpsz_iIB5ZGbpgpG5mErWY Message-ID: From: Adrian Chadd To: Fabien Thomas Content-Type: text/plain; charset=ISO-8859-1 Cc: arch@freebsd.org 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 09:56:37 -0000 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. 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. Adrian