From owner-freebsd-hackers@FreeBSD.ORG Sun Jul 15 13:39:13 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 60316106564A for ; Sun, 15 Jul 2012 13:39:13 +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 39CA88FC17 for ; Sun, 15 Jul 2012 13:39:12 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1SqP2Q-0008IL-Jv for freebsd-hackers@freebsd.org; Sun, 15 Jul 2012 06:39:06 -0700 Date: Sun, 15 Jul 2012 06:39:06 -0700 (PDT) From: Jakub Lach To: freebsd-hackers@freebsd.org Message-ID: <1342359546590-5727055.post@n5.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: 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 13:39:13 -0000 Hello. While this is old "bug" upstream: http://llvm.org/bugs/show_bug.cgi?id=8611 http://llvm.org/bugs/show_bug.cgi?id=8630 Here, (FreeBSD clang version 3.1 (branches/release_31 156863) 20120523 Target: x86_64-unknown-freebsd9.0) Passing -g during linking (which lot's of projects do by including CFLAGS in linking) I still get "clang: warning: argument unused during compilation: '-g'" -- View this message in context: http://freebsd.1045724.n5.nabble.com/Clang-g-unused-warnings-in-FreeBSD-linking-tp5727055.html Sent from the freebsd-hackers mailing list archive at Nabble.com.