From owner-freebsd-sparc64@FreeBSD.ORG Fri Dec 12 00:48:22 2014 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id F10BA3E9; Fri, 12 Dec 2014 00:48:21 +0000 (UTC) Received: from mx.bsdtec.net (mx.bsdtec.net [174.34.171.65]) by mx1.freebsd.org (Postfix) with ESMTP id AD3A4E99; Fri, 12 Dec 2014 00:48:21 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 92FBD489875; Fri, 12 Dec 2014 00:48:15 +0000 (UTC) Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10032) with ESMTP id ITezRlHgQ0Hn; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 8ED5E489898; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) X-Virus-Scanned: amavisd-new at bsdtec.net Received: from mx.bsdtec.net ([172.16.32.2]) by localhost (mx.bsdtec.net [172.16.32.2]) (amavisd-new, port 10026) with ESMTP id 8msvaP_GD1FW; Fri, 12 Dec 2014 00:48:14 +0000 (UTC) Received: from [192.168.1.111] (bsdtec.plus.com [84.92.41.141]) by mx.bsdtec.net (Postfix) with ESMTPSA id D2DFB489875; Fri, 12 Dec 2014 00:48:13 +0000 (UTC) Message-ID: <1418345292.3561.10.camel@atlas.lerwick.hopto.org> Subject: Re: RFT: Please help testing the llvm/clang 3.5.0 import From: Craig Butler To: freebsd-sparc64@freebsd.org Date: Fri, 12 Dec 2014 00:48:12 +0000 In-Reply-To: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> References: <8598B1D4-5485-426F-B6D6-22BF26AC5FE1@FreeBSD.org> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Cc: Dimitry Andric X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Dec 2014 00:48:22 -0000 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