Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 22:49:35 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Craig Rodrigues <rodrigc@FreeBSD.org>
Cc:        Brooks Davis <brooks@freebsd.org>, Dimitry Andric <dim@freebsd.org>, "Simon J. Gerraty" <sjg@juniper.net>, Glen Barber <gjb@freebsd.org>, freebsd-current Current <freebsd-current@freebsd.org>, Marcel Moolenaar <marcel@freebsd.org>
Subject:   Re: Problems building FreeBSD 9.2 on FreeBSD 10
Message-ID:  <43B2B358-75C9-4D40-A48B-450A0CA4D8F3@bsdimp.com>
In-Reply-To: <CAG=rPVfanU=FVWPd768_G5NjXRHnUH5o05%2BKwFeLaTQqU3Ux8w@mail.gmail.com>
References:  <CAG=rPVct-HzOksM2KQvPuOdf4zgZo__=Oannh0x%2B_JVHEzQyyw@mail.gmail.com> <CAG=rPVfkGa7=n-TSqcnP574ry0Au2THbqvAZJfKD5OK9a1FBNw@mail.gmail.com> <20140617200551.07542580A1@chaos.localdomain> <CAG=rPVeBgWS=vMGxSmX8O4QWW77XC2mqDgaiNrFsGrzg47UQYQ@mail.gmail.com> <20140617211436.GI1248@hub.FreeBSD.org> <CAG=rPVezMsPCP%2BB1ePw_Mh=Cv6qx07ordsWQ3cF4a_ytLWeCEQ@mail.gmail.com> <CAG=rPVd4evnkJoz1rVeMjP7YNKOW0BWF0MvSrFQ3u2xCiVEtmw@mail.gmail.com> <690CE378-D7D9-49A6-BC20-13FD540E63A2@FreeBSD.org> <CAG=rPVfanU=FVWPd768_G5NjXRHnUH5o05%2BKwFeLaTQqU3Ux8w@mail.gmail.com>

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

[-- Attachment #1 --]

On Jun 18, 2014, at 4:32 PM, Craig Rodrigues <rodrigc@FreeBSD.org> wrote:

> On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric <dim@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


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJTomvfAAoJEGwc0Sh9sBEAJgQP/2pG4E/88QlUFIw/VwNbY3o/
9Gcy3hH7GGw+wVMhu3uL+vdtMbh7IfhOLB7EZMK2rXo02AMudj8AtVz3ZHsfPfyU
6RvgGFO+GCtcSQ7TQbguHuJ90l+A1qnW8JdiSy4478Atw6YXyZH2ZQo+Uj5BFXzX
IxCXnh0fk3FRgXPkgPOag8ZM3IC5SyOPGbF0gGP0KZ7RTuo0rhgUsHSToK9cXMiX
NFv9RZGUF4H7tOqqXCPP7JkPzW85/3PJ2hBOUVRDgIG353Ret7Ap7NYQrEO89Y5Z
UKEYUqxdapyWG0BhtkF+Yd7rGEs3zoFNXAMqSd0sivw0o8LxJDCNYcinKT59yZfG
ZbjjWHX0JzXBkoLEplyN0kO7lL0DQgRUJp2Xb/FrfuTzH+5RQlP90zohqr+Beudl
oNi2TL8O/HpsqUwszfXOT/qrSYCif/iBzPofkpi79qbyvJp0EvmV4a4ek8srXDmb
+vLWVHtFg/ktSe7SPIYT/xp0+xLfd/rtDTWrz7LzAYBJlZp3nepFcfLZ6Jidwoff
K/ANFdRTa7RN400mnI0Nu9wptajASjgSkazmHoPsoJvMZinB+YJEZW9H9FAlz5JC
xltjdb1VHzpREoBCJlaxwS2KMmnpuZ8QNhuDuZ1+Ez6zfkx7J6fZOcoz7o2N+DJC
Ib62mMSe6rLVUx9GsXVz
=l9Fg
-----END PGP SIGNATURE-----

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43B2B358-75C9-4D40-A48B-450A0CA4D8F3>