On 02 Jan 2014, at 01:11, Dimitry Andric <d...@freebsd.org> wrote:
> On 01 Jan 2014, at 23:37, Warner Losh <i...@bsdimp.com> wrote:
>> I'd add to the list the upgrade path (from 9.x, 10.x and current) as well, 
>> just to make sure they all still work... If there are problems with the 9.x 
>> upgrade path, we'll need to call them out since 10.0 hasn't been released 
>> yet and there's still a lot of 9.x boxes in the wild...
> 
> Ah yes, I already found one issue when building head on 9-STABLE:
> 
> In file included from contrib/llvm/lib/Support/Signals.cpp:30:
> contrib/llvm/lib/Support/Unix/Signals.inc:22:11: fatal error: 'execinfo.h' 
> file not found
> # include <execinfo.h>         // For backtrace().
>          ^
> 
> This is of course a detection from autoconf which finds execinfo.h on
> -current.  So I will need to make that __FreeBSD_version dependent.

I have fixed this particular problem, new patch is here:

http://www.andric.com/freebsd/clang/head-r260112-clang34-2.diff.xz
SHA256 (head-r260112-clang34-2.diff.xz) = 
4c602b42e890f82cbf5f7ee4aecb91a77ce3dcaacc01c210953e1cdd29d1ac21

This will only use execinfo.h and backtrace() for the world stage of the
build, when the libraries that supply them have already been built.

With this diff, I have successfully built head on 9.2-STABLE with gcc as
the base compiler.  I will also test it on 10.0-RC4, but I foresee no
problems there.

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

Reply via email to