From owner-freebsd-arch@FreeBSD.ORG Fri Oct 30 19:58:00 2009 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 6A5091065670 for ; Fri, 30 Oct 2009 19:58:00 +0000 (UTC) (envelope-from gonzo@bluezbox.com) Received: from core.tav.kiev.ua (tavex.colocall.com [62.149.10.42]) by mx1.freebsd.org (Postfix) with ESMTP id 040768FC08 for ; Fri, 30 Oct 2009 19:57:59 +0000 (UTC) Received: from [76.77.86.2] (helo=[10.80.5.136]) by core.tav.kiev.ua with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.52 (FreeBSD)) id 1N3x5P-0007C3-SX for arch@freebsd.org; Fri, 30 Oct 2009 21:24:36 +0200 Message-ID: <4AEB3D63.4080608@bluezbox.com> Date: Fri, 30 Oct 2009 12:24:19 -0700 From: Oleksandr Tymoshenko User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: arch@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Core-Spam-Level: / X-Core-Spam-Report: Spam detection software, running on the system "core.tav.kiev.ua", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see The administrator of that system for details. Content preview: Trying to build kld for MIPS I stumbled upon some controversy with LDFLAGS: Through all share/mk/bsd.*.mk files it is consistently used with CC, but in sys/conf/kmod.mk it's used directly with LD and in cobination with flags like -Wl, -foo it causes errors. So is usage of LDFLAGS in sys/conf/kmod.mk correct? [...] Content analysis details: (-0.6 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.8 ALL_TRUSTED Passed through trusted hosts only via SMTP 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% [score: 0.5954] 1.2 AWL AWL: From: address is in the auto white-list Cc: Subject: LDFLAGS usage 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: Fri, 30 Oct 2009 19:58:00 -0000 Trying to build kld for MIPS I stumbled upon some controversy with LDFLAGS: Through all share/mk/bsd.*.mk files it is consistently used with CC, but in sys/conf/kmod.mk it's used directly with LD and in cobination with flags like -Wl,-foo it causes errors. So is usage of LDFLAGS in sys/conf/kmod.mk correct?