From owner-freebsd-arch@FreeBSD.ORG Mon Jun 21 07:10:29 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 C6D54106564A for ; Mon, 21 Jun 2010 07:10:29 +0000 (UTC) (envelope-from thomas.fabien@gmail.com) Received: from mail-ww0-f54.google.com (mail-ww0-f54.google.com [74.125.82.54]) by mx1.freebsd.org (Postfix) with ESMTP id 596438FC1B for ; Mon, 21 Jun 2010 07:10:29 +0000 (UTC) Received: by wwg30 with SMTP id 30so3045611wwg.13 for ; Mon, 21 Jun 2010 00:10:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:mime-version :content-type:from:in-reply-to:date:cc:content-transfer-encoding :message-id:references:to:x-mailer; bh=sWplT4BmxKNnJIIRK6nh7QozPAqQ7rUnRpETx8hz65Q=; b=GgOKmZSTEJ7qFPXQFTZeIVF6VN6D+wYDCUATXPvdUbmVGvSHSO7lC4i8MeYR8Vo9I3 xFIwF51Ccp5zT59j6qFHnHhfxMAn3mS1Dxr/yDrih/rhVthCNrjnwiqieUnVed2pRII9 rgYlDvXdiKx+VV0YvxUXS+LQWF13Whi6g/AgE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:mime-version:content-type:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; b=XLUubAzQ0+cbZf0vFCr1m+611eNTY3eth/sVaH4kBqdPnG78cM7gXTalx2LaD1d7BF E4HFhIjkXCGCqgq5cVPaB2QW622U6iN9frp/U30A7WX9qwz3tbTS+rbYeuSkOH8Jn5gp g2lagmkzhbeY+kNgqnFkMd7lzVVMNfIjHyEe4= Received: by 10.216.93.2 with SMTP id k2mr3075612wef.56.1277102466210; Sun, 20 Jun 2010 23:41:06 -0700 (PDT) Received: from [192.168.0.1] (81-66-209-242.rev.numericable.fr [81.66.209.242]) by mx.google.com with ESMTPS id n50sm3554801weq.9.2010.06.20.23.41.04 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 20 Jun 2010 23:41:05 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Fabien Thomas In-Reply-To: <20100618201737.T41916@delplex.bde.org> Date: Mon, 21 Jun 2010 08:41:04 +0200 Content-Transfer-Encoding: 7bit Message-Id: <1D395333-64E2-4B2D-9E90-B4958FBA6583@gmail.com> References: <20100617.143334.584432776655157077.imp@bsdimp.com> <20100618201737.T41916@delplex.bde.org> To: Bruce Evans X-Mailer: Apple Mail (2.1081) 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: Mon, 21 Jun 2010 07:10:29 -0000 On 18 juin 2010, at 12:24, Bruce Evans wrote: > On Thu, 17 Jun 2010, M. Warner Losh wrote: > >> Now that disks are big, can we stop stripping binaries by default? > > Symbols aren't very useful unless they are full debugging symbols, but > with full debugging symbols the unstripped binaries would be _very_ large. > > With only non-debugging symbols, the symbols' size in most shared > executables is small since most symbols are in libraries. However, > all libraries may need to be compiled with full symbols irrespective > of the default policy for stripping installed binaries, so that you > can debug [non-installed] binaries. 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. Fabien