svn commit: r200797 - head/lib/libc/stdtime

M. Warner Losh imp at bsdimp.com
Sat Dec 26 08:28:40 UTC 2009


In message: <4B3129CD.20908 at FreeBSD.org>
            Doug Barton <dougb at FreeBSD.org> writes:
: M. Warner Losh wrote:
: > We really need newer binutils in the tree.
: > 
: > And we need a way to compiler gplv3 binutils into the system for folks
: > that can do that without consequences...  But many modern processors
: > need to have the gplv3 version of binutils and that will be a
: > continuing problem.  One advantage of FreeBSD is its integration,
: > rather than having to play version whack-a-mole like you do with
: > embedded Linux.
: 
: When "we" last had the gplv3 discussion there were two lines of
: thought that were proposed. One is "import llvm/clang" and the other
: was "improve the infrastructure to support toolchains from ports." I
: know that the llvm/clang project is moving forward, and I think that's
: a great long-term direction.

Assuming that it supports the architectures we need well, which at the
present time it isn't clear that it will...

: In the short term I think we are well served on all fronts to modify
: the build architecture to better support compilers from ports. This
: would actually help with the llvm/clang testing too, and sidestep the
: problems of gplv3 stuff being in the base. TMK there has been no work
: on this direction at all, which is disappointing.

The problem is that it really isn't a terribly viable solution, so why
waste a bunch of time on it?  Does the build-world stop in the middle
and rebuild stuff?  Right now we have finely matched libraries and
compilers, how does one address that problem with the compiler out in
the ports?  You'll need a matched set of binutils as well (well,
matched meaning known compatible here), and the build system has a
strong bias towards the compiler knowing which ones to use..  These
problems can all be surmounted, but it just feels like a big kludge.

: I know that there is a huge cultural bias towards shipping "a complete
: system," and don't get me wrong, I am fully supportive of that. I am
: NOT suggesting that we dike out the existing toolchain. Just that we
: make it easier to use toolchains from ports.

Agreed.  I'll likely be working in this area soon.  Last time I tried,
it was possible, but very difficult and error-prone to do it by
hand...

Warner


More information about the svn-src-head mailing list