Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Mar 2012 18:52:19 -0500
From:      Brandon Falk <falkman@gamozo.org>
To:        freebsd-hackers@freebsd.org
Subject:   Re: [clang] Build error on r232474 (and a few before, don't know exactly which)
Message-ID:  <4F52AEB3.4090907@gamozo.org>
In-Reply-To: <4F52ADF1.7010606@gamozo.org>
References:  <4F52AA30.2030600@gamozo.org> <20120303234051.GA42750@dan.emsphone.com> <4F52ADF1.7010606@gamozo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F52AEB3.4090907>