From owner-freebsd-current@FreeBSD.ORG Sun Jan 6 17:25:30 2013 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id AE64B81D; Sun, 6 Jan 2013 17:25:30 +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 42E84A8A; Sun, 6 Jan 2013 17:25:29 +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 <1TrtyS-000H2R-CF>; Sun, 06 Jan 2013 18:25:28 +0100 Received: from e178035121.adsl.alicedsl.de ([85.178.35.121] helo=thor.walstatt.dyndns.org) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1TrtyS-002WL2-8Q>; Sun, 06 Jan 2013 18:25:28 +0100 Message-ID: <50E9B385.9060104@zedat.fu-berlin.de> Date: Sun, 06 Jan 2013 18:25:25 +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: David Chisnall Subject: Re: LLVM 3.2: official stable port is still LLVM 3.1. Basesystem missing important LLVM pieces! References: <50E97457.7050809@zedat.fu-berlin.de> <34476030-BDBF-46C4-8E7D-60FDC53B076A@FreeBSD.org> In-Reply-To: <34476030-BDBF-46C4-8E7D-60FDC53B076A@FreeBSD.org> X-Enigmail-Version: 1.4.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigA526349AD859E1AE0F9E4874" X-Originating-IP: 85.178.35.121 Cc: Current FreeBSD , Ports 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: Sun, 06 Jan 2013 17:25:30 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigA526349AD859E1AE0F9E4874 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Am 01/06/13 17:49, schrieb David Chisnall: > On 6 Jan 2013, at 12:55, O. Hartmann wrote: >=20 >> Having a crippled LLVM aboard AND the need having installed a port is = a >> kind of none-sense. Why should I install port devel/llvm to have a >> working LLVM backend? >=20 > The issue is the same as the issue for anything in the FreeBSD base sys= tem, which is: what level of compatibility do we want to provide? >=20 > In general, we aim to provide a backwards-compatible ABI across an enti= re major release. This means that anything that runs on 9.0 should work = on 9.1 and so on. It should also work on 10.x with the relevant compat p= ackages installed. >=20 > In contrast, LLVM changes the ABI (and API!) significantly between poin= t releases. We therefore don't want to encourage anything outside of the= base system to link against these libraries, because doing so would prev= ent us from importing a new LLVM release every six months - we'd either n= eed to ship 4 copies of LLVM by an x.3 release, or stick with the one tha= t we shipped in x.0. Indeed, this is a serious point and the developer of LLVM has to be blamed for that. >=20 > There is no problem with other base-system tools linking against the ba= se system LLVM libraries, but in this case llvm-config does not need to b= e installed (and neither do the LLVM headers), because such tools will be= built as part of the base system itself. llvm-config is simply as an example. It shows up the first when the build of POCL fails, so I have chossen it to be checked for as the relevant dependency - it was a hunch for the port Makefile I intend to provide. Since I was more focused on having POCL running for my OpenCL moveon on FreeBSD, I wasn't very careful about choosing what to check against. I will change this before I will send the port to be reviewed and revised. >=20 > David > _______________________________________________ --------------enigA526349AD859E1AE0F9E4874 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) iQEcBAEBAgAGBQJQ6bOHAAoJEOgBcD7A/5N8FzsIAIsW0yvH86ww2TbR39HGfkQJ L8RijWC2MJLSDfd2iZQy3pKm/ejMLRMyyYBsIx1uD6wEuPOVHmAtRaFTqpGJ+mlN dtodo58uG3Iw+/g0sLbx7HMi8Kc+Lv2xMHSRnsZJvib4vvH7ofN0fNUfeedVczut 000lkM2z8mOcq4LDWORJPRmlVBqJAWGDUgKe76aMDnYpZrU2Gwv+GKj0EwX+U2VU sulyYx8PL0Sk4Sa5VwiJTtrNsKEx3nwhAzN95Q2SQwVV6EDLx5T8b9lWSvn9CB/u n7gO+aa+T5qK4gQEaVqDCSzsiSLHdB70J/UOJ464szKNyhLtLtIM396KLGExmvc= =Rk8T -----END PGP SIGNATURE----- --------------enigA526349AD859E1AE0F9E4874--