From owner-freebsd-current@FreeBSD.ORG Mon Dec 24 15:41:48 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7BDF924A for ; Mon, 24 Dec 2012 15:41:48 +0000 (UTC) (envelope-from dim@FreeBSD.org) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) by mx1.freebsd.org (Postfix) with ESMTP id 317618FC19 for ; Mon, 24 Dec 2012 15:41:47 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7:0:e8f8:3644:6741:6f04] (unknown [IPv6:2001:7b8:3a7:0:e8f8:3644:6741:6f04]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 99DE35C5A; Mon, 24 Dec 2012 16:41:40 +0100 (CET) Message-ID: <50D877B2.60006@FreeBSD.org> Date: Mon, 24 Dec 2012 16:41:38 +0100 From: Dimitry Andric Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:18.0) Gecko/20121128 Thunderbird/18.0 MIME-Version: 1.0 To: "O. Hartmann" Subject: Re: clang/llvm 3.2: -ccc-host-triple: References: <50D8739F.4040306@zedat.fu-berlin.de> In-Reply-To: <50D8739F.4040306@zedat.fu-berlin.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Cc: Current FreeBSD X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Dec 2012 15:41:48 -0000 On 2012-12-24 16:24, O. Hartmann wrote: > I try to compile a piece of software which uses LLVM as a backend (it is > POCL, PortableOpenCL library). On a 10.0-CURRENT r244650M, the software > fails du to an issued clang option -ccc-host-triple, which works well on > FreeBSD 9.1-PRE, which uses still LLVM/CLANG 3.1. What is the exact reason the software wants to use this (rather undocumented) option? > On the net, I find confusing informations about this option. It seems to > be still in 3.1, but 3.2 doesn't accept it anymore. Use -target instead. But beware that cross-compilation does not work out of the box on FreeBSD.