From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 15 19:04:36 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 739FE1065760 for ; Sun, 15 Jul 2012 19:04:36 +0000 (UTC) (envelope-from jakub_lach@mailplus.pl) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) by mx1.freebsd.org (Postfix) with ESMTP id 4A3C48FC12 for ; Sun, 15 Jul 2012 19:04:36 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SqU7P-0002Ah-8t for freebsd-hackers@freebsd.org; Sun, 15 Jul 2012 12:04:35 -0700 Date: Sun, 15 Jul 2012 12:04:35 -0700 (PDT) From: Jakub Lach To: freebsd-hackers@freebsd.org Message-ID: <1342379075269-5727113.post@n5.nabble.com> In-Reply-To: <20120715180839.GK2338@deviant.kiev.zoral.com.ua> References: <1342359546590-5727055.post@n5.nabble.com> <5002FEB3.3040708@FreeBSD.org> <20120715180839.GK2338@deviant.kiev.zoral.com.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: Clang '-g' unused warnings in FreeBSD (linking) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Jul 2012 19:04:36 -0000 Thanks, both replies were very informative! Regarding > one could argue that passing '-g' to the link stage is nonsensical, > since ld cannot add debug information, it can only remove it (via the '-s' > flag). Is precisely why I was asking If this was conscious decision on FreeBSD part. -- View this message in context: http://freebsd.1045724.n5.nabble.com/Clang-g-unused-warnings-in-FreeBSD-linking-tp5727055p5727113.html Sent from the freebsd-hackers mailing list archive at Nabble.com.