From owner-freebsd-hackers@FreeBSD.ORG Sat Mar 3 23:52:27 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 12339106564A for ; Sat, 3 Mar 2012 23:52:27 +0000 (UTC) (envelope-from falkman@gamozo.org) Received: from fireblade.netcore2k.net (fireblade.netcore2k.net [92.48.127.72]) by mx1.freebsd.org (Postfix) with ESMTP id 8644C8FC16 for ; Sat, 3 Mar 2012 23:52:26 +0000 (UTC) Received: by fireblade.netcore2k.net with ESMTP id q23NqOCm010962 for ; Sat, 3 Mar 2012 23:52:25 GMT Message-ID: <4F52AEB3.4090907@gamozo.org> Date: Sat, 03 Mar 2012 18:52:19 -0500 From: Brandon Falk User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.2) Gecko/20120216 Thunderbird/10.0.2 MIME-Version: 1.0 To: freebsd-hackers@freebsd.org References: <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org> In-Reply-To: <4F52ADF1.7010606@gamozo.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [clang] Build error on r232474 (and a few before, don't know exactly which) X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Mar 2012 23:52:27 -0000 On 3/3/2012 6:49 PM, Brandon Falk wrote: > On 3/3/2012 6:40 PM, Dan Nelson wrote: >> In the last episode (Mar 03), Brandon Falk said: >>> I'm trying to build r232474 with clang (build environment is >>> 10.0-CURRENT >>> r231589 amd64 with clang), and I fail on `make -j16 buildworld`. I've >>> tried with and without threads. I've built so many builds of clang >>> that I >>> can't even count, so I'm confident my environment is set up >>> properly. I'm >>> building under a virtual machine, although I've never had issues >>> with that >>> before. >> You didn't actually paste an error at all below, but the fact that the >> top-level make reported an error from one of the sub-makes. You'll >> need to >> either capture the entire build log and scroll through it from the >> bottom up >> to find the error message, or build without -j16 so the error is at the >> bottom of the output. >> >>> ---- error ---- >>> >>> ===> gnu/usr.bin/texinfo/doc (all) >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info.texi >>> -o info.info >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/info-stnd.texi >>> -o info-stnd.info >>> ln -fs >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc/texinfo.txi >>> texinfo.texi >>> makeinfo --no-split -I /root/src/gnu/usr.bin/texinfo/doc -I >>> /root/src/gnu/usr.bin/texinfo/doc/../../../../contrib/texinfo/doc >>> texinfo.texi -o texinfo.info >>> gzip -cn info.info> info.info.gz >>> gzip -cn info-stnd.info> info-stnd.info.gz >>> gzip -cn texinfo.info> texinfo.info.gz >>> 1 error >>> *** [everything] Error code 2 >>> 1 error >>> *** [buildworld] Error code 2 >>> 1 error >>> >>> ---- END error ---- >>> >>> ---- Make.conf ---- >>> >>> .if !defined(CC) || ${CC} == "cc" >>> CC=clang >>> .endif >>> .if !defined(CXX) || ${CXX} == "c++" >>> CXX=clang++ >>> .endif >>> .if !defined(CPP) || ${CPP} == "cpp" >>> CPP=clang-cpp >>> .endif >>> >>> NO_WERROR= >>> WERROR= >>> NO_FSCHG= >>> >>> # added by use.perl 2012-03-03 16:12:59 >>> PERL_VERSION=5.12.4 >>> >>> ---- END Make.conf ---- >>> >>> -Brandon >>> > > Oops, I meant to paste the URL for the entire log. You can find it > here: http://www.brandonfa.lk/freebsd-clang/log.gz > > I'll start a build without threads right now. > > -Brandon > I was trying to navigate the log in `edit`. Now that I'm in vim I quickly found the error. lint: cannot exec /usr/obj/root/src/tmp/usr/bin/cc: No such file or directory *** [llib-lposix.ln] Error code 1 This error is repeated in a few places. -Brandon