Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2013 16:49:37 +0000
From:      David Chisnall <theraven@FreeBSD.org>
To:        "O. Hartmann" <ohartman@zedat.fu-berlin.de>
Cc:        Current FreeBSD <freebsd-current@FreeBSD.org>, Ports FreeBSD <freebsd-ports@FreeBSD.org>
Subject:   Re: LLVM 3.2: official stable port is still LLVM 3.1. Basesystem missing important LLVM pieces!
Message-ID:  <34476030-BDBF-46C4-8E7D-60FDC53B076A@FreeBSD.org>
In-Reply-To: <50E97457.7050809@zedat.fu-berlin.de>
References:  <50E97457.7050809@zedat.fu-berlin.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On 6 Jan 2013, at 12:55, O. Hartmann wrote:

> 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?

The issue is the same as the issue for anything in the FreeBSD base =
system, which is: what level of compatibility do we want to provide?

In general, we aim to provide a backwards-compatible ABI across an =
entire 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 packages installed.

In contrast, LLVM changes the ABI (and API!) significantly between point =
releases.  We therefore don't want to encourage anything outside of the =
base system to link against these libraries, because doing so would =
prevent us from importing a new LLVM release every six months - we'd =
either need to ship 4 copies of LLVM by an x.3 release, or stick with =
the one that we shipped in x.0.

There is no problem with other base-system tools linking against the =
base system LLVM libraries, but in this case llvm-config does not need =
to be installed (and neither do the LLVM headers), because such tools =
will be built as part of the base system itself.

David=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34476030-BDBF-46C4-8E7D-60FDC53B076A>