svn commit: r307227 - in head: include lib/libc/stdlib lib/libc/tests/stdlib

Andrew Reilly areilly at bigpond.net.au
Mon Nov 7 00:45:23 UTC 2016


Hi Ed,

Thanks for pointing me back to src.conf.  I added this when I was an “early adopter” of clang, and it was necessary.  I suspect that now that we are all-clang all the time, this is redundant.  Would this have overridden the system build process?

my /etc/src.conf:
CC=clang
CXX=clang++
CPP=clang-cpp
WITH_LIBCPLUSPLUS=yes

The upgrade from 10.x was uneventful, which was great.  It was only after that, in my weekly builds of updates along stable/11 that I noticed the build system commenting that the system compiler and the src tree compiler seemed to be the same, so it would not bother building it.  (Sorry, I don’t have a recorded trace to copy in the exact phrasing.)

Now that my system is happy again, I probably won’t be able to reproduce the problem.

For the record, I usually do delete /usr/obj/* before doing a build, at least for the first one of the month, as this was.

My weekly build script starts:
cd /usr/src
make -s buildworld kernel

and it clearly didn’t get as far as kernel, on this occasion.

I’ll see how we go without src.conf, for the next one.  Being more “standard” is a good recipe for tripping over fewer edge cases, in my experience.

Cheers,

— 
Andrew


> On 6 Nov. 2016, at 20:13, Ed Schouten <ed at nuxi.nl> wrote:
> 
> Hi Andrew,
> 
> 2016-11-06 1:30 GMT+01:00 Andrew Reilly <areilly at bigpond.net.au>:
>> Hi there,
>> 
>> Re: https://lists.freebsd.org/pipermail/svn-src-head/2016-October/092694.html
>> 
>> In a rebuild of stable/11 today (and yesterday), the build stops in lib/libc/tests/stdlib:
>> 
>> /usr/src/lib/libc/tests/stdlib/tsearch_test.c:37:20: error: unknown type name 'posix_tnode'
> 
> I just checked out the latest copy of stable/11 and things seem to
> build all right, even on a 10.x system. Do you have anything special
> in src.conf? How did you invoke 'make buildworld' exactly? What
> happens if you delete /usr/obj prior to starting the build?
> 
> Best regards,
> -- 
> Ed Schouten <ed at nuxi.nl>
> Nuxi, 's-Hertogenbosch, the Netherlands
> KvK-nr.: 62051717



More information about the svn-src-head mailing list