Date: Mon, 10 Aug 2015 21:32:52 +0100 From: Craig Butler <craig001@lerwick.hopto.org> To: freebsd-sparc64@freebsd.org Subject: [call for help] to build a later clang-trunk src Message-ID: <1439238772.3964.19.camel@atlas.lerwick.hopto.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1439238772.3964.19.camel>