From owner-freebsd-current@FreeBSD.ORG Mon Dec 24 22:45:31 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 E4407D09; Mon, 24 Dec 2012 22:45:31 +0000 (UTC) (envelope-from ohartman@zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 9646D8FC0A; Mon, 24 Dec 2012 22:45:31 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1TnGm2-000zJA-MO>; Mon, 24 Dec 2012 23:45:30 +0100 Received: from e178019043.adsl.alicedsl.de ([85.178.19.43] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TnGm2-001961-Iw>; Mon, 24 Dec 2012 23:45:30 +0100 Message-ID: <50D8DB09.7090104@zedat.fu-berlin.de> Date: Mon, 24 Dec 2012 23:45:29 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/17.0 Thunderbird/17.0 MIME-Version: 1.0 To: Dimitry Andric Subject: Re: clang/llvm 3.2: -ccc-host-triple: References: <50D8739F.4040306@zedat.fu-berlin.de> <50D877B2.60006@FreeBSD.org> In-Reply-To: <50D877B2.60006@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig871E72B33B6A23CE2653C2DB" X-Originating-IP: 85.178.19.43 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 22:45:32 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig871E72B33B6A23CE2653C2DB Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 12/24/12 16:41, schrieb Dimitry Andric: > 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 softwar= e >> 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. >=20 > What is the exact reason the software wants to use this (rather > undocumented) option? Obviously, the make environment sets this in a couple of files. >=20 >=20 >> 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. >=20 > Use -target instead. But beware that cross-compilation does not work > out of the box on FreeBSD. The target is POCL, and as OpenCL naturally acts like, it is cross compiling. Thank you for the hint. I tried to follow some threads about this option and they seem to confuse it with --ccc-target-triple. --------------enig871E72B33B6A23CE2653C2DB Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iQEcBAEBAgAGBQJQ2NsKAAoJEOgBcD7A/5N8BVkIAKgr1AH2hj6SSqUOwlAz+OhQ /vORXsB8bk9VKhNCbXQR1lauTd2oVZP8NGjOMba2SfyjmpiOyZsmUSkNtKd1u42x kdT4AOSeRDum38Nl8TtvJgYlil2c9koeYgQGAnzBMIZPx9GEEXJgndxmxpwyD+lN q9h3i5Bo9RBf+BxsB4o1x2q6EUmQXGqJ4qp831EtGga+iNgVUtzunppajRRcB8hG 8sgJpJ70gEYUreRYJqcp1vFzJSG7ELOAW3MiqzXafUJOC/v0AzjPfq4A7vdh9G4p vXjuljId28r7i2naV7k9zcbprC+P79fcK3eRjoHYtj//xnx0X7vI3tmbrcuEjVY= =EbnX -----END PGP SIGNATURE----- --------------enig871E72B33B6A23CE2653C2DB--