Re: Problems building FreeBSD 9.2 on FreeBSD 10

From: Warner Losh <imp_at_bsdimp.com>
Date: Wed, 18 Jun 2014 22:49:35 -0600
On Jun 18, 2014, at 4:32 PM, Craig Rodrigues <rodrigc_at_FreeBSD.org> wrote:

> On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric <dim_at_freebsd.org> wrote:
>> 
>> See r257658 which had fixed this, but it was reverted by Warner,
>> unfortunately.  This was one of the uses of the EARLY_BUILD flag which
>> was *not* redundant. :-/
> 
> 
> Warner,
> 
> Is there a way to bring back the behavior of r257658 but without
> the way it was implemented with the EARLY_BUILD flag?
> It would be handy, as we can see by this thread discussion.

The EARLY_BUILD flag tightly coupled the bsd.*.mk files to the build system,
so I’l like to see it stay dead. 9.x assumes that by defining it, it can affect
the system installed .mk files in a specific way. This is an unwise assumption,
as this thread demonstrates.

The real problem, imho, is that the construct in bsd.prog.mk is generating a
dependency on the wrong C++ standard library. Why is it generating for the
g++ library when the compiler is clang? That seems like the real bug here.

I’ll also note that building release X-2 on head isn’t generally supported by
the project, but having said that, I’ll see what I can do. Surprisingly, I don’t
have a good -current environment setup on my fast build boxes, so I’ll
setup a quick jail and see if I can recreate.

Warner


Received on Thu Jun 19 2014 - 02:49:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:50 UTC