From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 15:52:13 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 567AD4A8 for ; Mon, 18 May 2015 15:52:13 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 363E51BCD for ; Mon, 18 May 2015 15:52:13 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4IFqDsb002277 for ; Mon, 18 May 2015 15:52:13 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4IFqD5V002276; Mon, 18 May 2015 15:52:13 GMT (envelope-from daemon-user) Date: Mon, 18 May 2015 15:52:13 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Request, 9 lines] D2576: Update crunch bootstrapping test Message-ID: X-Priority: 3 Thread-Topic: D2576: Update crunch bootstrapping test X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Thread-Index: YWY2NTBkM2E1NzFkMTI0ZTRmZTY3YzVhOWFl Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_01841f4abada87523af2eddb3007b20a" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 15:52:13 -0000 --b1_01841f4abada87523af2eddb3007b20a Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit emaste created this revision. emaste added a reviewer: imp. emaste added a subscriber: freebsd-toolchain. REVISION SUMMARY - r277259 crunchide: Correct 64-bit section header offset - r281674 crunchide: always include both 32- and 64-bit ELF support With built-in cross-size support we also no longer need a special case for cross-build crunchide. REVISION DETAIL https://reviews.freebsd.org/D2576 AFFECTED FILES Makefile.inc1 CHANGE DETAILS diff --git a/Makefile.inc1 b/Makefile.inc1 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1297,7 +1297,9 @@ _lex= usr.bin/lex .endif -.if ${BOOTSTRAPPING} < 1001507 +# r277259 crunchide: Correct 64-bit section header offset +# r281674 crunchide: always include both 32- and 64-bit ELF support +.if ${BOOTSTRAPPING} < 1100071 _crunch= usr.sbin/crunch .endif @@ -1466,11 +1468,6 @@ _btxld= usr.sbin/btxld .endif .endif -.if ${TARGET_ARCH} != ${MACHINE_ARCH} -.if ${MK_RESCUE} != "no" -_crunchide= usr.sbin/crunch/crunchide -.endif -.endif # If we're given an XAS, don't build binutils. .if ${XAS:M/*} == "" EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste, imp Cc: freebsd-toolchain --b1_01841f4abada87523af2eddb3007b20a Content-Type: text/x-patch; charset=utf-8; name="D2576.5456.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D2576.5456.patch" ZGlmZiAtLWdpdCBhL01ha2VmaWxlLmluYzEgYi9NYWtlZmlsZS5pbmMxCi0tLSBhL01ha2VmaWxl LmluYzEKKysrIGIvTWFrZWZpbGUuaW5jMQpAQCAtMTI5Nyw3ICsxMjk3LDkgQEAKIF9sZXg9CQl1 c3IuYmluL2xleAogLmVuZGlmCiAKLS5pZiAke0JPT1RTVFJBUFBJTkd9IDwgMTAwMTUwNworIyBy Mjc3MjU5IGNydW5jaGlkZTogQ29ycmVjdCA2NC1iaXQgc2VjdGlvbiBoZWFkZXIgb2Zmc2V0Cisj IHIyODE2NzQgY3J1bmNoaWRlOiBhbHdheXMgaW5jbHVkZSBib3RoIDMyLSBhbmQgNjQtYml0IEVM RiBzdXBwb3J0CisuaWYgJHtCT09UU1RSQVBQSU5HfSA8IDExMDAwNzEKIF9jcnVuY2g9CXVzci5z YmluL2NydW5jaAogLmVuZGlmCiAKQEAgLTE0NjYsMTEgKzE0NjgsNiBAQAogX2J0eGxkPQkJdXNy LnNiaW4vYnR4bGQKIC5lbmRpZgogLmVuZGlmCi0uaWYgJHtUQVJHRVRfQVJDSH0gIT0gJHtNQUNI SU5FX0FSQ0h9Ci0uaWYgJHtNS19SRVNDVUV9ICE9ICJubyIKLV9jcnVuY2hpZGU9CXVzci5zYmlu L2NydW5jaC9jcnVuY2hpZGUKLS5lbmRpZgotLmVuZGlmCiAKICMgSWYgd2UncmUgZ2l2ZW4gYW4g WEFTLCBkb24ndCBidWlsZCBiaW51dGlscy4KIC5pZiAke1hBUzpNLyp9ID09ICIiCgo= --b1_01841f4abada87523af2eddb3007b20a-- From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 19:30:20 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2FAF2333 for ; Mon, 18 May 2015 19:30:20 +0000 (UTC) Received: from mail-ig0-f181.google.com (mail-ig0-f181.google.com [209.85.213.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE03E18D5 for ; Mon, 18 May 2015 19:30:19 +0000 (UTC) Received: by igbsb11 with SMTP id sb11so56581007igb.0 for ; Mon, 18 May 2015 12:30:19 -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:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=GkvJW+pyJ313pczw2qLl5Vl271Sc8SD/yVgMJ58vdlU=; b=CPHjRuLI+34IpMtPK+5EUglHI1OemED/iE25ivrjcN+0cxAoG1+St1Mb9HFgsHAUEP N0ZVVPPaBjKMju38aRhoKCxYQct240nV+rfL+JXeiS3yyaSRqNdaOTUpPH6Cvd+W6u+8 Po5cbjXOfngTyWp5KXRsl6X1H5HCBcIeGa4nbUkhN+YE4CywdtShONt4whrmOy+PJ+I+ 7HTDBPdYyJmVsFc9bMZC17SPWxSNtEdU4a2RAD6IzYiAjLhHjuUGW5II/eH1doXICLDb Jlhsy+dGVpL+kgB5Ki0gF07RGdh3hO3xxUZs2D9TpdDRlpknpklVyQjt10lAekQrhJ/n xEvQ== X-Gm-Message-State: ALoCoQkNyU+sOla8Tt1yPhWa3q8sk/+pg3DZXGYQDI1NlOnbiwflYSBg1XkpCt5TKM+Hv6TEplF6 X-Received: by 10.43.65.19 with SMTP id xk19mr37504374icb.20.1431977418996; Mon, 18 May 2015 12:30:18 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id u26sm7339889iou.18.2015.05.18.12.30.17 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 May 2015 12:30:17 -0700 (PDT) Sender: Warner Losh Subject: Re: External toolchain build failing due to missing --sysroot Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_6EEA661F-16F9-4B39-BD14-C7E653BCAD1A"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Warner Losh In-Reply-To: Date: Mon, 18 May 2015 13:30:16 -0600 Cc: freebsd-toolchain@freebsd.org, "freebsd-testing@freebsd.org" , George Neville-Neil Message-Id: <146A0A16-F33B-42AF-A8D5-B1D16775A409@bsdimp.com> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 19:30:20 -0000 --Apple-Mail=_6EEA661F-16F9-4B39-BD14-C7E653BCAD1A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On Mar 20, 2015, at 2:10 PM, Craig Rodrigues = wrote: >=20 > Warner, >=20 > I can't get the external toolchain build of CURRENT to work, > because --sysroot seems to be missing in some places. I don=92t believe that this has actually never worked, or if it did = appear to work, it was only by accident. We have no ability to generate a proper sysroot in the tree today, though we do come close at points. Sean Bruno has been reporting issues with libgcc and external toolchains for months, and I=92ve not had the time to track those issues to ground. > See: >=20 > = https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-March/001452.ht= ml >=20 > gnn@ said you might know where this can be fixed. > Any idea of a patch that can fix this? No. I don=92t. While I handle many of the build issues, I haven=92t been looking at this one and it is likely beyond the time I have available at the moment. Also, the URL resolves to file not found for the logs. Warner --Apple-Mail=_6EEA661F-16F9-4B39-BD14-C7E653BCAD1A 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 iQIcBAEBCgAGBQJVWj3IAAoJEGwc0Sh9sBEAlw8P/A3xuHC94XnQ1F9JYOAmcoQB Gm1xuDmAMTKAWy15JIirqnTmJbnKADyMaVn0npPdBEHTjGoh/gpTof+ji1trW+9W SmDAFmuySmeiBz+TQkb0iSMnROXarxVt+GhQMXjVbmu0Mt9y0Z0fu5eUtv7DackF ahyGumO03JLMHmXwLbTZZUmWMq96VBY7SGboKRUZDpCAA590HnGRXAXQ2OonKUHv AX542e7tBNp14/ifPBoCFU6LB8xHrHzwdBlQiUVP73QA0NyMPmiU/a2xciUaXqY5 JbBKAgSRsYt3G+cKmbD4VUwMI9FG9n/LG73z1pl+vvqGq5MIBHYvp3F7cJ3FrFzc NZKT/sykpAUgsLn6M/egE8Iscp1BxG3+AZml/xlX3L7WDc0k1bLlTadRPNthThRa dAaSpd43RH//sQ0nj6NszVHiJTnC7P9kkBzTVZ6GUqR/7vQFXaW+EbCouVpNZbqi 4IOOUBSk0RHmkZ9liTig+osPksVtqepL4ayY6gMBKRPYhxaqBTmfG//PvRf5Oimn 5Fe7b3L/0YT3JGzKtm1XvcUj4luGoeNl7Q1Fio87iZ9YbF23EqYoE824bNIcTswy oAFew+S0o28YY3zJ3f/71ktXB2HOYfUET7+w5hoW+oD07uZVh7Ea/tprcucnATcC zrQgnrrtqxVJ2YzflRTl =qJwi -----END PGP SIGNATURE----- --Apple-Mail=_6EEA661F-16F9-4B39-BD14-C7E653BCAD1A-- From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 20:02:19 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 9EC02F88; Mon, 18 May 2015 20:02:19 +0000 (UTC) Received: from mail-la0-x230.google.com (mail-la0-x230.google.com [IPv6:2a00:1450:4010:c03::230]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 225AF1D87; Mon, 18 May 2015 20:02:19 +0000 (UTC) Received: by lagr1 with SMTP id r1so154399575lag.0; Mon, 18 May 2015 13:02:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=8Ap5BqAJ71PuWkQwYSb+nCJ+XKBFkKQzFHGRna7Dfsg=; b=C+bfPlH4hHMyw09XEVCkSDXgdl4yBCXDT3CDcBWygyoc/nn5DBD2eV0uJYjRrhOjyn QmRHl4gIPsDfQRrxHqlB7mDkXKXEi5Z47XN0KLUGia8As2fwaSwjKWChmgNFkGYqxNdc 0SXf1cCTZSefUutMKteHSZeszp0xi7/oPV5PVvTOuFJjNKXBTg2sgDHHecFuegU3cv3n bhzn/5oVxGLMaf0Lszs4Zet/jwDjhfrqxH6qfuFZTKB3iaTDyELo9HBGmHocYYgZiwyn Q1dwVdfp3+kDcRNSFW/eo211B1wQrFHZDtuHT0ETBY0GyX2ooBOV3WqA5YeC+SDwpQDT m+PA== MIME-Version: 1.0 X-Received: by 10.152.23.66 with SMTP id k2mr16569516laf.89.1431979337194; Mon, 18 May 2015 13:02:17 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.164.38 with HTTP; Mon, 18 May 2015 13:02:17 -0700 (PDT) In-Reply-To: <146A0A16-F33B-42AF-A8D5-B1D16775A409@bsdimp.com> References: <146A0A16-F33B-42AF-A8D5-B1D16775A409@bsdimp.com> Date: Mon, 18 May 2015 13:02:17 -0700 X-Google-Sender-Auth: pdyOiq1SCa8xaWfX5NzOcvCuzs8 Message-ID: Subject: Re: External toolchain build failing due to missing --sysroot From: Craig Rodrigues To: Warner Losh Cc: FreeBSD Toolchain , "freebsd-testing@freebsd.org" , George Neville-Neil Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:02:19 -0000 On Mon, May 18, 2015 at 12:30 PM, Warner Losh wrote: > > > On Mar 20, 2015, at 2:10 PM, Craig Rodrigues > wrote: > > > > Warner, > > > > I can't get the external toolchain build of CURRENT to work, > > because --sysroot seems to be missing in some places. > > I don't believe that this has actually never worked, or if it did appear > to work, it was only by accident. We have no ability to generate a > proper sysroot in the tree today, though we do come close at points. > Sean Bruno has been reporting issues with libgcc and external > toolchains for months, and I've not had the time to track those > issues to ground. > It seems to work now. See: https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-April/001660.html -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 20:24:27 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E88EC47D for ; Mon, 18 May 2015 20:24:27 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CEB4B1FFF for ; Mon, 18 May 2015 20:24:27 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4IKOR6W089060 for ; Mon, 18 May 2015 20:24:27 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4IKORrZ089059; Mon, 18 May 2015 20:24:27 GMT (envelope-from daemon-user) Date: Mon, 18 May 2015 20:24:27 +0000 To: freebsd-toolchain@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Accepted] D2576: Update crunch bootstrapping test Message-ID: <2e4b65c099c2f63a628efda135b0d7a5@localhost.localdomain> X-Priority: 3 Thread-Topic: D2576: Update crunch bootstrapping test X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: YWY2NTBkM2E1NzFkMTI0ZTRmZTY3YzVhOWFlIFVaSns= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , , MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:24:28 -0000 imp accepted this revision. imp added a comment. This revision has a positive review. matches my memory, but I didn't verify the R numbers as correct. I assume Ed did, so I'm good with this in... REVISION DETAIL https://reviews.freebsd.org/D2576 EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste, imp Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 20:27:41 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id E882E50D for ; Mon, 18 May 2015 20:27:40 +0000 (UTC) Received: from mail-ig0-f180.google.com (mail-ig0-f180.google.com [209.85.213.180]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B1C29102E for ; Mon, 18 May 2015 20:27:40 +0000 (UTC) Received: by igbpi8 with SMTP id pi8so90202252igb.0 for ; Mon, 18 May 2015 13:27:40 -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:subject:mime-version:content-type:from :in-reply-to:date:cc:message-id:references:to; bh=I6rxQ9qta0AFOcnx89LlOgWPorQ275ly5sbYCctwkMU=; b=Fv4X74V/ke68cmmg5o1i52FXxPYu6Npd+ASLoy3m04dsYJJO+MT14NJz/8gRX5JbH6 +pbPbY7bcugRnslTumdmzufEUvk+3OUvXDWiYGmLi/hkTwqxkGOtPZzlwvfG/GmATt0u AEOtaV6dSI8yqX9ypVmKrod0grBgXEcywy7RZJO0BdHOOgHUMvU1L5hdTgbdxzd4I6t2 auV6jFNgDQojg2MUhy0TefwV+JkXQXHTK4l0jQoL9O1SSUbrvEKsWBzTIB6ju8J8qUz6 YQAYBoMThVhLjLrqiUcm14jFQEjMdgzgN7NfR9+8oQ50x1ohq9KssHLSpY91ajcAIPrB /6QA== X-Gm-Message-State: ALoCoQl7Tj2UdFk3j1nI4PekuisfCvT3Mmgyd66RArNxU6htUF7XsRsvzFCqEoVp5FE7eSgzdS2C X-Received: by 10.107.3.166 with SMTP id e38mr4997352ioi.50.1431980859945; Mon, 18 May 2015 13:27:39 -0700 (PDT) Received: from netflix-mac-wired.bsdimp.com ([50.253.99.174]) by mx.google.com with ESMTPSA id rr5sm6291755igb.7.2015.05.18.13.27.38 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 18 May 2015 13:27:39 -0700 (PDT) Sender: Warner Losh Subject: Re: External toolchain build failing due to missing --sysroot Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) Content-Type: multipart/signed; boundary="Apple-Mail=_4808186F-87DF-45F1-9675-93B64BFA284E"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Pgp-Agent: GPGMail 2.5b6 From: Warner Losh In-Reply-To: Date: Mon, 18 May 2015 14:27:37 -0600 Cc: FreeBSD Toolchain , "freebsd-testing@freebsd.org" , George Neville-Neil Message-Id: References: <146A0A16-F33B-42AF-A8D5-B1D16775A409@bsdimp.com> To: Craig Rodrigues X-Mailer: Apple Mail (2.2098) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 20:27:41 -0000 --Apple-Mail=_4808186F-87DF-45F1-9675-93B64BFA284E Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 > On May 18, 2015, at 2:02 PM, Craig Rodrigues = wrote: >=20 > On Mon, May 18, 2015 at 12:30 PM, Warner Losh wrote: >=20 > > On Mar 20, 2015, at 2:10 PM, Craig Rodrigues = wrote: > > > > Warner, > > > > I can't get the external toolchain build of CURRENT to work, > > because --sysroot seems to be missing in some places. >=20 > I don=92t believe that this has actually never worked, or if it did = appear > to work, it was only by accident. We have no ability to generate a > proper sysroot in the tree today, though we do come close at points. > Sean Bruno has been reporting issues with libgcc and external > toolchains for months, and I=92ve not had the time to track those > issues to ground. >=20 > It seems to work now. See: > = https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-April/001660.ht= ml It is quite fragile though. It looks like you are using it in one of the configurations that work (hence my accidental comment). But working in some configurations is better than it has been in the past... Warner --Apple-Mail=_4808186F-87DF-45F1-9675-93B64BFA284E 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 iQIcBAEBCgAGBQJVWks5AAoJEGwc0Sh9sBEAIwkP/3bBbqJVSEBNJavgvhnHplM/ YL/d+O5uTQO9ecXsu/BepQBsyksrRT9UK5aukMLrz6muIzlM6u4mYbGDg1akhFfl SKsCMYKYHKxkjaAUyNNVxpXwpZwNeq5OUTFaru5q3/l3rqXBiC96TslXX+EG7wjC C1rN/uDbuCtDLq8h68EiApMACvuUCAQvTCyfTiAY9gBBfU93VKJS1h/3RN2eMEwb qML4cudRLv6gcL5fjIHD+glrrYIbqTU/Es9kQxVDAKxZgX97PiJDW+TW2TcxfivK NIJje4aiYNGaEQw8c4nZU/eM2Njgf3F9/7nbqXjJe9yg2kHVK3R6H5JWj0vGYpAL W2FUcWpYM20oYZKPY0YPXKi+OCLI7yLNMzKybOe1JiH3sEvj+WV21SKGD+f+Nl4V xWiGwTQvvIrZa3pL6thhG/gOaoqk26Wmo4BFjIACoS1ZC/3ZlzzHvJ5EuylAl3HF xv0Hue6hzMUnu3++u5hJ+04ZTDWbt6NNY2Hr6SAVVe6LK1KJb68NtxNeo2wycBuL e5rxn+MSJnr/PhTJGhHiWzx0/RtpjvPV9PJsiZcc0u9CCk7bnGQAelRFPoTpfUDu xT+wXpVfyN0pTs5E4eT3BENahXGUrjaNpzpTOKyANmmuDgAvy0FW35kN+UOgeQca jf13+Lv5jhkkGY1rbXYX =UgpV -----END PGP SIGNATURE----- --Apple-Mail=_4808186F-87DF-45F1-9675-93B64BFA284E-- From owner-freebsd-toolchain@FreeBSD.ORG Mon May 18 22:34:06 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 828B0D72; Mon, 18 May 2015 22:34:06 +0000 (UTC) Received: from mail-qk0-x22e.google.com (mail-qk0-x22e.google.com [IPv6:2607:f8b0:400d:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3C64B1F32; Mon, 18 May 2015 22:34:06 +0000 (UTC) Received: by qkgw4 with SMTP id w4so79028960qkg.3; Mon, 18 May 2015 15:34:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=RB4kw1FPLSWwPLcDcORmg1hU/JPWGp59lPukjfygyZw=; b=Uxvju7xR0/zh/MKCrR0UGXcjSg+gthF1jLzz62T5M0nkSsPvMswf8uxA1ErNgVj1Z8 K/0yuY5qi+Ps07Qlytdr3b2Obo/l+CQcwnxVM3PvBkWAxSiyGo6nxHJnsN6Fuw9u9LeM 0bZAdXyOYWnlQFOdctjkRd+HZvt9ooOnuse+b2b/Aaw4UMKt151VWgCKpsirOQ4X4TFX h5CFzKnNMVjf6LgvQO+CIq2R4gd62gaNlcwwtsHTaFopM31ft7z8+4l3XaBzNmM045vq o4RbPj2qsXJx3+xiJVwus4SPRFP34iyivxqm0vSX1ji95jI0ZzbI7uSu3twVt2zmryi2 nhyg== MIME-Version: 1.0 X-Received: by 10.229.122.138 with SMTP id l10mr33584855qcr.26.1431988445195; Mon, 18 May 2015 15:34:05 -0700 (PDT) Received: by 10.140.98.73 with HTTP; Mon, 18 May 2015 15:34:05 -0700 (PDT) In-Reply-To: References: <146A0A16-F33B-42AF-A8D5-B1D16775A409@bsdimp.com> Date: Mon, 18 May 2015 15:34:05 -0700 Message-ID: Subject: Re: External toolchain build failing due to missing --sysroot From: NGie Cooper To: Warner Losh Cc: Craig Rodrigues , George Neville-Neil , FreeBSD Toolchain , "freebsd-testing@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 22:34:06 -0000 On Mon, May 18, 2015 at 1:27 PM, Warner Losh wrote: > >> On May 18, 2015, at 2:02 PM, Craig Rodrigues wrote= : >> >> On Mon, May 18, 2015 at 12:30 PM, Warner Losh wrote: >> >> > On Mar 20, 2015, at 2:10 PM, Craig Rodrigues wro= te: >> > >> > Warner, >> > >> > I can't get the external toolchain build of CURRENT to work, >> > because --sysroot seems to be missing in some places. >> >> I don=E2=80=99t believe that this has actually never worked, or if it di= d appear >> to work, it was only by accident. We have no ability to generate a >> proper sysroot in the tree today, though we do come close at points. >> Sean Bruno has been reporting issues with libgcc and external >> toolchains for months, and I=E2=80=99ve not had the time to track those >> issues to ground. >> >> It seems to work now. See: >> https://lists.freebsd.org/pipermail/freebsd-toolchain/2015-April/001660.= html > > It is quite fragile though. It looks like you are using it in one of the > configurations that work (hence my accidental comment). But working > in some configurations is better than it has been in the past... I'm dealing with this to some extent at $work. Hardcoding paths to libraries proved to be a painpoint, along with some of the linker script stuff that was introduced recently: $ ls -l /usr/lib/libnv.so lrwxr-xr-x 1 root wheel 15 Apr 9 12:45 /usr/lib/libnv.so -> /lib/libnv.= so.0 $ cat /usr/lib/libc.so /* $FreeBSD$ */ GROUP ( /lib/libc.so.7 /usr/lib/libc_nonshared.a /usr/lib/libssp_nonshared.= a ) These paths are extremely fixed because they're hardcoded... You can sort of kind of use --sysroot=3D, but there's a lot of gymnastics I'm having to go through reinventing the wheel from past experience with embedded Linux... Thanks, -NGie From owner-freebsd-toolchain@FreeBSD.ORG Tue May 19 14:05:21 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3E7FCD6F for ; Tue, 19 May 2015 14:05:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [IPv6:2001:4f8:3:ffe0:406a:0:50:2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1B83E1FDD for ; Tue, 19 May 2015 14:05:21 +0000 (UTC) Received: from phabric-backend.isc.freebsd.org (phabric-backend.isc.freebsd.org [127.0.1.5]) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9) with ESMTP id t4JE5KfQ037305 for ; Tue, 19 May 2015 14:05:20 GMT (envelope-from daemon-user@phabric-backend.isc.freebsd.org) Received: (from daemon-user@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t4JE5K3X037304; Tue, 19 May 2015 14:05:20 GMT (envelope-from daemon-user) Date: Tue, 19 May 2015 14:05:20 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Closed] D2576: Update crunch bootstrapping test Message-ID: <11c0b950d97a880750add419f113dda5@localhost.localdomain> X-Priority: 3 Thread-Topic: D2576: Update crunch bootstrapping test X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: YWY2NTBkM2E1NzFkMTI0ZTRmZTY3YzVhOWFlIFVbQyA= Precedence: bulk X-Phabricator-Sent-This-Message: Yes X-Mail-Transport-Agent: MetaMTA X-Auto-Response-Suppress: All X-Phabricator-Mail-Tags: , MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="b1_11c0b950d97a880750add419f113dda5" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2015 14:05:21 -0000 --b1_11c0b950d97a880750add419f113dda5 Content-Type: text/plain; charset = "utf-8" Content-Transfer-Encoding: 8bit This revision was automatically updated to reflect the committed changes. Closed by commit rS283108: Update crunch bootstrapping test for recent fixes (authored by emaste). CHANGED PRIOR TO COMMIT https://reviews.freebsd.org/D2576?vs=5456&id=5476#toc REPOSITORY rS FreeBSD src repository REVISION DETAIL https://reviews.freebsd.org/D2576 AFFECTED FILES head/Makefile.inc1 CHANGE DETAILS diff --git a/head/Makefile.inc1 b/head/Makefile.inc1 --- a/head/Makefile.inc1 +++ b/head/Makefile.inc1 @@ -1297,7 +1297,9 @@ _lex= usr.bin/lex .endif -.if ${BOOTSTRAPPING} < 1001507 +# r277259 crunchide: Correct 64-bit section header offset +# r281674 crunchide: always include both 32- and 64-bit ELF support +.if ${BOOTSTRAPPING} < 1100071 _crunch= usr.sbin/crunch .endif @@ -1466,11 +1468,6 @@ _btxld= usr.sbin/btxld .endif .endif -.if ${TARGET_ARCH} != ${MACHINE_ARCH} -.if ${MK_RESCUE} != "no" -_crunchide= usr.sbin/crunch/crunchide -.endif -.endif # If we're given an XAS, don't build binutils. .if ${XAS:M/*} == "" EMAIL PREFERENCES https://reviews.freebsd.org/settings/panel/emailpreferences/ To: emaste, imp Cc: freebsd-toolchain --b1_11c0b950d97a880750add419f113dda5 Content-Type: text/x-patch; charset=utf-8; name="D2576.5476.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="D2576.5476.patch" ZGlmZiAtLWdpdCBhL2hlYWQvTWFrZWZpbGUuaW5jMSBiL2hlYWQvTWFrZWZpbGUuaW5jMQotLS0g YS9oZWFkL01ha2VmaWxlLmluYzEKKysrIGIvaGVhZC9NYWtlZmlsZS5pbmMxCkBAIC0xMjk3LDcg KzEyOTcsOSBAQAogX2xleD0JCXVzci5iaW4vbGV4CiAuZW5kaWYKIAotLmlmICR7Qk9PVFNUUkFQ UElOR30gPCAxMDAxNTA3CisjIHIyNzcyNTkgY3J1bmNoaWRlOiBDb3JyZWN0IDY0LWJpdCBzZWN0 aW9uIGhlYWRlciBvZmZzZXQKKyMgcjI4MTY3NCBjcnVuY2hpZGU6IGFsd2F5cyBpbmNsdWRlIGJv dGggMzItIGFuZCA2NC1iaXQgRUxGIHN1cHBvcnQKKy5pZiAke0JPT1RTVFJBUFBJTkd9IDwgMTEw MDA3MQogX2NydW5jaD0JdXNyLnNiaW4vY3J1bmNoCiAuZW5kaWYKIApAQCAtMTQ2NiwxMSArMTQ2 OCw2IEBACiBfYnR4bGQ9CQl1c3Iuc2Jpbi9idHhsZAogLmVuZGlmCiAuZW5kaWYKLS5pZiAke1RB UkdFVF9BUkNIfSAhPSAke01BQ0hJTkVfQVJDSH0KLS5pZiAke01LX1JFU0NVRX0gIT0gIm5vIgot X2NydW5jaGlkZT0JdXNyLnNiaW4vY3J1bmNoL2NydW5jaGlkZQotLmVuZGlmCi0uZW5kaWYKIAog IyBJZiB3ZSdyZSBnaXZlbiBhbiBYQVMsIGRvbid0IGJ1aWxkIGJpbnV0aWxzLgogLmlmICR7WEFT Ok0vKn0gPT0gIiIKCg== --b1_11c0b950d97a880750add419f113dda5-- From owner-freebsd-toolchain@FreeBSD.ORG Wed May 20 22:41:02 2015 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8F4E6816; Wed, 20 May 2015 22:41:02 +0000 (UTC) Received: from mail-lb0-x22a.google.com (mail-lb0-x22a.google.com [IPv6:2a00:1450:4010:c04::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 17DCB11A1; Wed, 20 May 2015 22:41:02 +0000 (UTC) Received: by lbbzk7 with SMTP id zk7so5305467lbb.0; Wed, 20 May 2015 15:41:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=120kR3D4j9LS0MW5ktqEVrdhjGX9+JAtM2v95MiyQGE=; b=0+WcrHEqdFvjnbRMOE8lyUplmx3FFoEd4R8T8VGI2K8C91DjpteT9InaSezrAVkgiY rlVdY4b+1WNBb92c07HPXsiyCwtfL6X2a+7kZrxyaaQo2cwVY8zu/m9hJjxDytNqgLah d476DEDd0zVI1AZWe0Qp+7sYjT5WBtgFo/v6UfnauTzaE1GY33NY2mv98zsD/Df30cAS pW5dgZRKaVI8C1EUMMtkIBCz7EEmWG/WasP8+Lopb5TvLYCBM2t8/6YcR/syj32Xibq6 VM6GGsqVCTyD5/osEh7WMoIOKXAJoAw3qFOY/xrHcTEPQbbOCR5YU+17MQNh4EtMOk1Z sshQ== MIME-Version: 1.0 X-Received: by 10.152.20.170 with SMTP id o10mr21918253lae.26.1432161660155; Wed, 20 May 2015 15:41:00 -0700 (PDT) Sender: crodr001@gmail.com Received: by 10.112.164.38 with HTTP; Wed, 20 May 2015 15:41:00 -0700 (PDT) Date: Wed, 20 May 2015 15:41:00 -0700 X-Google-Sender-Auth: 242LOawXleQkkNTWc6Icwk1VCIc Message-ID: Subject: devel/amd64-xtoolchain-gcc out of date? From: Craig Rodrigues To: FreeBSD Toolchain , Baptiste Daroussin Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 May 2015 22:41:02 -0000 Hi, On a FreeBSD 10.1-RELEASE system I just did: pkg install devel/amd64-gcc pkg install devel/amd64-toolchain-gcc pkg info -o -g '*gcc*' amd64-gcc-4.9.2_1 devel/amd64-gcc amd64-xtoolchain-gcc-0.1 devel/amd64-xtoolchain-gcc The devel/amd64-toolchain-gcc package installs this file: /usr/local/share/toolchains/gcc.mk: XCC=/usr/local/bin/x86_64-portbld-freebsd10.0-gcc XCXX=/usr/local/bin/x86_64-portbld-freebsd10.0-g++ XCPP=/usr/local/bin/x86_64-portbld-freebsd10.0-cpp CROSS_BINUTILS_PREFIX=/usr/local/x86_64-freebsd/bin/ X_COMPILER_TYPE=gcc However, the devel/amd64-gcc package installs binaries which are: /usr/local/bin/x86_64-portbld-freebsd10.1-c++ /usr/local/bin/x86_64-portbld-freebsd10.1-cpp /usr/local/bin/x86_64-portbld-freebsd10.1-g++ /usr/local/bin/x86_64-portbld-freebsd10.1-gcc /usr/local/bin/x86_64-portbld-freebsd10.1-gcc-4.9.2 /usr/local/bin/x86_64-portbld-freebsd10.1-gcc-ar /usr/local/bin/x86_64-portbld-freebsd10.1-gcc-nm /usr/local/bin/x86_64-portbld-freebsd10.1-gcc-ranlib So an attempt to cross-compile fails because XCPP is not pointing to a binary which does not exist. When will this get fixed in the package repository? Thanks. -- Craig