Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Nov 2016 10:54:23 +1100
From:      Andrew Reilly <areilly@bigpond.net.au>
To:        Ed Schouten <ed@nuxi.nl>
Cc:        svn-src-head@freebsd.org, "ed@FreeBSD.org" <ed@freebsd.org>
Subject:   Re: svn commit: r307227 - in head: include lib/libc/stdlib lib/libc/tests/stdlib
Message-ID:  <4F77ED5A-6B71-4AA5-BEC9-752A8BA349CE@bigpond.net.au>
In-Reply-To: <CABh_MKn4sYGM%2BZ5Td5-ZeAa4ckhwx_Ls9Sb6aBS=uO2kM8JDuQ@mail.gmail.com>
References:  <B5ED025A-9F83-43A9-A379-639A4C013225@bigpond.net.au> <CABh_MKn4sYGM%2BZ5Td5-ZeAa4ckhwx_Ls9Sb6aBS=uO2kM8JDuQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi Ed,

Thanks for pointing me back to src.conf.  I added this when I was an =
=E2=80=9Cearly adopter=E2=80=9D 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=3Dclang
CXX=3Dclang++
CPP=3Dclang-cpp
WITH_LIBCPLUSPLUS=3Dyes

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=E2=80=99t have a recorded trace to copy in the exact =
phrasing.)

Now that my system is happy again, I probably won=E2=80=99t 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=E2=80=99t get as far as kernel, on this occasion.

I=E2=80=99ll see how we go without src.conf, for the next one.  Being =
more =E2=80=9Cstandard=E2=80=9D is a good recipe for tripping over fewer =
edge cases, in my experience.

Cheers,

=E2=80=94=20
Andrew


> On 6 Nov. 2016, at 20:13, Ed Schouten <ed@nuxi.nl> wrote:
>=20
> Hi Andrew,
>=20
> 2016-11-06 1:30 GMT+01:00 Andrew Reilly <areilly@bigpond.net.au>:
>> Hi there,
>>=20
>> Re: =
https://lists.freebsd.org/pipermail/svn-src-head/2016-October/092694.html
>>=20
>> In a rebuild of stable/11 today (and yesterday), the build stops in =
lib/libc/tests/stdlib:
>>=20
>> /usr/src/lib/libc/tests/stdlib/tsearch_test.c:37:20: error: unknown =
type name 'posix_tnode'
>=20
> 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?
>=20
> Best regards,
> --=20
> Ed Schouten <ed@nuxi.nl>
> Nuxi, 's-Hertogenbosch, the Netherlands
> KvK-nr.: 62051717




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F77ED5A-6B71-4AA5-BEC9-752A8BA349CE>