From owner-freebsd-sparc64@freebsd.org Mon Aug 10 20:42:04 2015 Return-Path: Delivered-To: freebsd-sparc64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2637599D6A2 for ; Mon, 10 Aug 2015 20:42:04 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from mx.bsdtec.net (bsdtec.plus.com [84.92.41.141]) by mx1.freebsd.org (Postfix) with ESMTP id BFC40B93 for ; Mon, 10 Aug 2015 20:42:03 +0000 (UTC) (envelope-from craig001@lerwick.hopto.org) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id B61871976C for ; Mon, 10 Aug 2015 20:33:03 +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 R5c1Hz_znS42 for ; Mon, 10 Aug 2015 20:32:53 +0000 (UTC) Received: from localhost (mx.bsdtec.net [172.16.32.2]) by mx.bsdtec.net (Postfix) with ESMTP id 9D60B19756 for ; Mon, 10 Aug 2015 20:32:53 +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 W7fR6U8WU3IR for ; Mon, 10 Aug 2015 20:32:53 +0000 (UTC) Received: from [192.168.1.114] (unknown [192.168.1.1]) by mx.bsdtec.net (Postfix) with ESMTPSA id 498DA1973F for ; Mon, 10 Aug 2015 20:32:53 +0000 (UTC) Message-ID: <1439238772.3964.19.camel@atlas.lerwick.hopto.org> Subject: [call for help] to build a later clang-trunk src From: Craig Butler To: freebsd-sparc64@freebsd.org Date: Mon, 10 Aug 2015 21:32:52 +0100 X-Mailer: Evolution 3.10.4-0ubuntu2 Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 20:42:04 -0000 Hello Folks Is there anyone out there with some spare cycles and a fast(ish) sparc64 box ? I have raised a couple of PR's relating to clang builds on sparc64. I am trying to get the latest clang-trunk project built and am hitting some hurdles. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195934 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194473 Can someone please shadow the work and see if the issues are repeatable. I am using sparc64 10.1-RELEASE and rebuilding the 10.1-RELEASE src to give us a clang 3.4 to work with to build the later clang. To do this you need the following set in /etc/src.conf; WITH_CLANG= yes WITH_CLANG_EXTRAS= yes # Build additional clang and llvm tools, such as bugpoint once that completes and make installworld is run clang should be installed. I am then additionally setting in /etc/src.conf; WITH_LIBCPLUSPLUS=yes CC=clang CXX=clang++ CPP=clang-cpp Then make and make install (in order); /usr/src/lib/libcxxrt /usr/src/lib/libc++ That should be clang and the c++ library installed ready for building the clang-trunk. so I move /usr/src and /usr/obj to .old, mkdir /usr/obj, and then... svnlite checkout svn://svn.freebsd.org/base/projects/clang-trunk /usr/src/ then try a make buildworld on the new source....... and that's where it falls over. I have had different errors -- On my first run I was getting clobbered with; /usr/src/lib/libc/../../include/signal.h:84:60: error: expected function body after function declarator int sigwait(const sigset_t * __restrict, int * __restrict) __nonnull_all; Second run got clobbered with; fatal error: 'sys/capsicum.h' file not found I can get a successful build if I use; make buildworld SRCCONF=/dev/null __MAKE_CONF=/dev/null Any help (or repeatable results) would be appreciated. If anyone spots any issue please yell! Not having much luck trying to build with gcc48 either. Regards Craig Butler