From owner-freebsd-hackers@FreeBSD.ORG Tue Dec 4 08:24:49 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 A003B48B for ; Tue, 4 Dec 2012 08:24:49 +0000 (UTC) (envelope-from litherum@gmail.com) Received: from mail-wi0-f174.google.com (mail-wi0-f174.google.com [209.85.212.174]) by mx1.freebsd.org (Postfix) with ESMTP id 2E1BB8FC12 for ; Tue, 4 Dec 2012 08:24:48 +0000 (UTC) Received: by mail-wi0-f174.google.com with SMTP id hm9so425635wib.13 for ; Tue, 04 Dec 2012 00:24:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:x-google-sender-auth:message-id :subject:to:content-type; bh=ntCsSe4HcqoAc1dbpbVVWQTtWOhTNnTYjWb0LI2FCi4=; b=g+3pAMDU+BABXG8nNEytKJ3NdmFSPN6tE4KL9L8u+qr7bE9rtCjBw3XFSl7ryhC1/U xtIhjRKpZkqcpotRxTApOYRPj4w2jxsbvHfI2ByzX6yG0imKHRodl2JZPr0vqlPIvYs/ kFmIq4DwdaeyljTkCHwcgjKpXsaRnjxC6whEaQOdUgoorrii5J26ZmCx3bzhhi2oxLod +LWP7T+HHlmvaKDgMnKGoH/uyMZFsmN8IbYHvS6gJ3E7bJuMAnOXpWCzpMbJFsyNIT6X 3LW0n9sYvJWGNV50+KYF5q/AJOIYH6fTuwvc4vrRw7FuKiLp05vL3+4/5qpDzj6HyLHr twgw== Received: by 10.216.82.10 with SMTP id n10mr4382837wee.126.1354609488032; Tue, 04 Dec 2012 00:24:48 -0800 (PST) MIME-Version: 1.0 Sender: litherum@gmail.com Received: by 10.216.71.13 with HTTP; Tue, 4 Dec 2012 00:24:27 -0800 (PST) From: "Myles C. Maxfield" Date: Tue, 4 Dec 2012 00:24:27 -0800 X-Google-Sender-Auth: OJY0Pfi7DuObuo7BRn4-bGKZvvQ Message-ID: Subject: libc with debugging symbols? To: freebsd-hackers@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Tue, 04 Dec 2012 08:24:49 -0000 Hello, all, I'm interested in learning about the internals of how libc works, so I was hoping to link a test application with a version of libc that has debugging symbols (reading the raw sources only gets me so far). The version of libc that comes with FreeBSD doesn't have debugging symbols (nor should it), so I'm wondering if there is a way to install / compile my own. I have very na=EFvely checked out libc from /base/head at svn.freebsd.org, crossed my fingers, and ran 'make', but that didn't work (for many reasons, I'm sure). This leads me to the following questions: 1. Is it possible to check out the sources of libc (and possibly other libraries) as they were when the FreeBSD 9.0 release was being compiled (since that's what I'm running)? Is there a way to map this to a particular SVN revision? 2. Is there a listing of the tools and versions used to compile libc at that time? 3. Many other unix-like distributions have something like a libc-dbg package in their package manager. Do you think this would be worthwhile or even acceptable for me to try to create something similar in the ports database? (I couldn't find anything that already exists) Thanks, Myles C. Maxfield