From owner-freebsd-current@FreeBSD.ORG Thu Jun 19 04:49:44 2014 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id D1B4EA8 for ; Thu, 19 Jun 2014 04:49:44 +0000 (UTC) Received: from mail-pa0-f48.google.com (mail-pa0-f48.google.com [209.85.220.48]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 979FF24BB for ; Thu, 19 Jun 2014 04:49:44 +0000 (UTC) Received: by mail-pa0-f48.google.com with SMTP id et14so1488739pad.21 for ; Wed, 18 Jun 2014 21:49:38 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:message-id:references:to; bh=VutzWi/qoNe8jLIHZuSKUcopFr6ztHWgyePqyfth7ww=; b=EI/ADvHuqWCS3tLznq8yKmNPKa3fnbzSc5uURW39lQuXnvrDCu9wAYOYWioY2zKFU9 fWjdFcJnwp3Oj4g5pg/cQU9sN4IwKsV9gmrm785tM75Sd9/t2fqLazXAbvY1i6xE5BIt EkjjNVxi7NY4dKSI1bfJajKOVxOGeYrryxzmcj7vvhYxPI9It9ljYrcCB/xMXA19Vy+o j5s3EZq2d1nn6zvcdP3Y2Dz9Ob3vwB4dgL0gTwsXTEPMpeSYNMgVE7rh/MeUPh+KfYKK Gyj1c6cpFE0FR4ggyvcuXvzBSQK0BIhL/HVPPznNq5nymaw2jtv5OEMFhxE4LX6OWZQK fthQ== X-Gm-Message-State: ALoCoQlcwWHZpamKF2tylMjJt6K/U1Q8xBY5vYWniiyG8iY9jGli25VD/H0VDkbWhq2T/JwbEN4n X-Received: by 10.66.161.4 with SMTP id xo4mr2731510pab.36.1403153378469; Wed, 18 Jun 2014 21:49:38 -0700 (PDT) Received: from netflix-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id kn1sm6194125pbd.13.2014.06.18.21.49.36 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Wed, 18 Jun 2014 21:49:37 -0700 (PDT) Sender: Warner Losh Content-Type: multipart/signed; boundary="Apple-Mail=_08D4E914-F80E-4A23-ACCA-838BA0CF73AB"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: Problems building FreeBSD 9.2 on FreeBSD 10 From: Warner Losh In-Reply-To: Date: Wed, 18 Jun 2014 22:49:35 -0600 Message-Id: <43B2B358-75C9-4D40-A48B-450A0CA4D8F3@bsdimp.com> References: <20140617200551.07542580A1@chaos.localdomain> <20140617211436.GI1248@hub.FreeBSD.org> <690CE378-D7D9-49A6-BC20-13FD540E63A2@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.1878.2) Cc: Brooks Davis , Dimitry Andric , "Simon J. Gerraty" , Glen Barber , freebsd-current Current , Marcel Moolenaar X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Jun 2014 04:49:44 -0000 --Apple-Mail=_08D4E914-F80E-4A23-ACCA-838BA0CF73AB Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Jun 18, 2014, at 4:32 PM, Craig Rodrigues = wrote: > On Tue, Jun 17, 2014 at 11:59 PM, Dimitry Andric = wrote: >>=20 >> 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. :-/ >=20 >=20 > Warner, >=20 > 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=92l 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=92ll also note that building release X-2 on head isn=92t generally = supported by the project, but having said that, I=92ll see what I can do. = Surprisingly, I don=92t have a good -current environment setup on my fast build boxes, so I=92ll setup a quick jail and see if I can recreate. Warner --Apple-Mail=_08D4E914-F80E-4A23-ACCA-838BA0CF73AB Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----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----- --Apple-Mail=_08D4E914-F80E-4A23-ACCA-838BA0CF73AB--