RFT: Please help testing the llvm/clang 3.5.0 import

Craig Butler craig001 at lerwick.hopto.org
Fri Dec 12 00:48:22 UTC 2014


On Fri, 2014-11-28 at 22:03 +0100, Dimitry Andric wrote:
> Hi,
> 
> We're working on updating llvm, clang and lldb to 3.5.0 in head.  This
> is quite a big update again, and any help with testing is appreciated.
> 
> To try this out, ensure you have good backups or snapshots, then build
> world and kernel from the projects/clang350-import branch [1].  Please
> use a Subversion mirror [2], if you are able to.
> 
> The status of this project branch is as follows:
> 
> * Since llvm/clang 3.5.0 requires C++11 support, you can only build it
>   when your current installation has both clang (>= 3.3) and libc++
>   installed.  E.g., FreeBSD 10.x and later should work out of the box,
>   but for FreeBSD 9.x you should first build libc++ with clang, and
>   install it.  Older versions of FreeBSD will not work.
> * Both the i386 and amd64 arches are expected to work completely, e.g.
>   they should build, install and run without any problems.  For some
>   less-used parts of world and kernel, you might encounter warnings
>   that are not fixed yet.  To ignore those, you can use NO_WERROR, but
>   please create bug reports for them.
> * The different ARM builds still need work, any help would be greatly
>   appreciated there.
> * PowerPC (32 and 64 bit) will most likely not work yet, until we can
>   figure out how to build parts of the tree with clang, other parts with
>   gcc.
> * Sparc64 might work at least partially, but has not been tested on
>   real hardware.
> * A ports exp-run has been requested [3].
> 
> The tentative goal is to be able to import this new version before the
> end of the year, hopefully before Christmas.
> 
> If you encounter issues, please report them in FreeBSD Bugzilla [4],
> unless you think it is better discussed on one of the appropriate
> mailing lists.
> 
> -Dimitry
> 
> [1] svn://svn.freebsd.org/base/projects/clang350-import
> [2] https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/svn.html#svn-mirrors
> [3] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195480
> [4] https://bugs.freebsd.org/submit/
> 

Hello List

Has anybody else tried to get clang 3.5.0 running on a sparc64 box ??

I am not getting very far, make toolchain and buildworld is failing for
me on a 10.1-RELEASE (plus clang34) trying to build a clang350-import
src.  Errors like;

/usr/src/lib/libc/../../include/pthread.h:197:7: error: expected
function body
      after function declarator
                    __requires_exclusive(*__mutex);
                    ^

I am currently working with Roman Divacky on an out of tree llvm/clang
build, also failing at the moment with;

fatal error: error in backend: Invalid register name global variable

Has anyone replicated this, or (hopefully!!) got further ?

Kind Regards

Craig Butler




More information about the freebsd-sparc64 mailing list