From owner-freebsd-current@FreeBSD.ORG Fri Nov 2 20:29:13 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 52BD616A419 for ; Fri, 2 Nov 2007 20:29:13 +0000 (UTC) (envelope-from avleeuwen@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.224]) by mx1.freebsd.org (Postfix) with ESMTP id 1AB9D13C4B9 for ; Fri, 2 Nov 2007 20:29:11 +0000 (UTC) (envelope-from avleeuwen@gmail.com) Received: by nz-out-0506.google.com with SMTP id l8so687351nzf for ; Fri, 02 Nov 2007 13:28:50 -0700 (PDT) Received: by 10.115.106.7 with SMTP id i7mr1902466wam.1194011134767; Fri, 02 Nov 2007 06:45:34 -0700 (PDT) Received: by 10.114.131.10 with HTTP; Fri, 2 Nov 2007 06:45:34 -0700 (PDT) Message-ID: Date: Fri, 2 Nov 2007 14:45:34 +0100 From: "Arjan van Leeuwen" To: "current@freebsd.org" MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Size of C++ debug binaries with gcc 4.2.1 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: avleeuwen@piwebs.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Nov 2007 20:29:13 -0000 Hi, Since updating to FreeBSD 7.0, the size of my C++ binaries with debug symbols has quadrupled (on a specific binary I have to work with a lot, it increased from around 200MB to 860MB). If I use gcc 4.1 from ports, the debug size is only a bit bigger than what I used to have with gcc 3.4 on FreeBSD 6. The big size slows me down: linking is a lot slower, and loading the file into the debugger also takes a lot more time. - Why is there such a big difference in size between gcc 4.1 and gcc 4.2? What extra information is included? - How do I turn it off, so I can go back to fast linking and stop fiddling my thumbs a few minutes every time I want to start the debugger? Thanks, Arjan