From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 3 08:00:53 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 58A7ECE1; Tue, 3 Mar 2015 08:00:53 +0000 (UTC) Received: from mail-la0-x236.google.com (mail-la0-x236.google.com [IPv6:2a00:1450:4010:c03::236]) (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 CE43BF8D; Tue, 3 Mar 2015 08:00:52 +0000 (UTC) Received: by labgf13 with SMTP id gf13so11090833lab.10; Tue, 03 Mar 2015 00:00:50 -0800 (PST) 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:cc:content-type; bh=sVlENJHG97f2UeYs13/Up2Ov6XSkxSAb+dk/Lxks0jE=; b=KzliA5sZ9GRDY62umzs6fPS6IeAnPwRx3hl0F0xa9xh53Eo32rfHTrLd2pS7xHXdAX Fx9Wq9Ci+Q3EtlQi5AR3P+cIUzqgnkh1jswafYQnRzbXmvS284Jq76NAAShpiQE/yDWP j7WhCHvJAcwXpY7k6Rl1UP7KVB6H/fXTRVWPnYPFTFlmpIp93Ueto210at5+UXnorE5c VU46EbT676Moj2S3kilsxOqCYtgGL8UWy3JJG9Lk1gvJ7WUwzP2mfI3A8K7T8kotBnjA iKAtmR2Y7vjZzv/ZQYRSsGvxv4n3GZpaFz4zImNDmcoGI/5GKUejXFQxb0j9fFoBRgxw A7wA== MIME-Version: 1.0 X-Received: by 10.152.184.39 with SMTP id er7mr27602135lac.116.1425369650857; Tue, 03 Mar 2015 00:00:50 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Tue, 3 Mar 2015 00:00:50 -0800 (PST) Date: Tue, 3 Mar 2015 00:00:50 -0800 X-Google-Sender-Auth: PY-cwaNOwnDDNJuZw2lHsy9IXl0 Message-ID: Subject: Failed to build with external toolchain From: Craig Rodrigues To: Baptiste Daroussin Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 08:00:53 -0000 Hi, Based on this mail: https://lists.freebsd.org/pipermail/freebsd-current/2014-November/053577.html I created this script to build HEAD with amd64-gcc: https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-build.sh However, when I ran the script, I got this error: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/6/console Any ideas what the problem might be? -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 3 16:45:40 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 8FB4D3FF for ; Tue, 3 Mar 2015 16:45:40 +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 70FC6674 for ; Tue, 3 Mar 2015 16:45:40 +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 t23Gjenb022654 for ; Tue, 3 Mar 2015 16:45:40 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t23GjedZ022653; Tue, 3 Mar 2015 16:45:40 GMT (envelope-from root) Date: Tue, 3 Mar 2015 16:45:40 +0000 To: freebsd-toolchain@freebsd.org From: "emaste (Ed Maste)" Subject: [Differential] [Request, 11 lines] D2003: Do not strip crunched binary; it will be done by install Message-ID: X-Priority: 3 Thread-Topic: D2003: Do not strip crunched binary; it will be done by install X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: Thread-Index: ZTA5OTg1YmM4MDUzZTZlOTkyNTE4MmU1NTJl 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.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 16:45:40 -0000 emaste created this revision. emaste added reviewers: andrew, imp. emaste added a subscriber: freebsd-toolchain. REVISION SUMMARY In cross-build cases it is possible we won't have a cross-strip during the the rescue build. Binaries are already stripped on install anyhow, so there is no need to strip during the build. REVISION DETAIL https://reviews.freebsd.org/D2003 AFFECTED FILES Makefile.inc1 sys/sys/param.h usr.sbin/crunch/crunchgen/crunchgen.c To: emaste, andrew, imp Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 3 17:18:06 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 53892E33; Tue, 3 Mar 2015 17:18:06 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 0B4BFA6A; Tue, 3 Mar 2015 17:18:06 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::b141:884c:aab7:f173] (unknown [IPv6:2001:7b8:3a7:0:b141:884c:aab7:f173]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id D65975C47; Tue, 3 Mar 2015 18:18:00 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Tue, 3 Mar 2015 18:17:55 +0100 Message-Id: References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 17:18:06 -0000 --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 03 Mar 2015, at 09:00, Craig Rodrigues wrote: >=20 > Based on this mail: >=20 > = https://lists.freebsd.org/pipermail/freebsd-current/2014-November/053577.h= tml >=20 > I created this script to build HEAD with amd64-gcc: > = https://github.com/freebsd/freebsd-ci/blob/master/scripts/build/cross-buil= d.sh >=20 > However, when I ran the script, I got this error: >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/6/cons= ole >=20 > Any ideas what the problem might be? Hi Craig, This is a bad interaction between gcc 4.9.1 and one of libc++'s headers. I am not yet sure whether it is a problem in libc++ or in gcc, so I have asked upstream to take a look at it [1]. Meanwhile, as a quick hack/workaround, you can define _LIBCPP_HAS_NO_ADVANCED_SFINAE in CXXFLAGS to attempt to make the build continue. E.g., add: CXXFLAGS+=3D -D_LIBCPP_HAS_NO_ADVANCED_SFINAE to the make.conf file you use for building. -Dimitry [1] http://llvm.org/PR22771 --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96 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----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT17McACgkQsF6jCi4glqPIGwCaAp5uem3RS810PzROIdT2M8qV j7oAnRQOK4oQG/B6xqp2k8euzmOiWLf4 =mSuT -----END PGP SIGNATURE----- --Apple-Mail=_181A63D6-9FFE-409A-A8B3-28BAC263DB96-- From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 3 22:58:01 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 0080A9AC for ; Tue, 3 Mar 2015 22:58:00 +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 D2EDB8A4 for ; Tue, 3 Mar 2015 22:58:00 +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 t23Mw0Ks005512 for ; Tue, 3 Mar 2015 22:58:00 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t23Mw0Ug005511; Tue, 3 Mar 2015 22:58:00 GMT (envelope-from root) Date: Tue, 3 Mar 2015 22:58:00 +0000 To: freebsd-toolchain@freebsd.org From: "imp (Warner Losh)" Subject: [Differential] [Accepted] D2003: Do not strip crunched binary; it will be done by install Message-ID: <695f5b30b268267ecd80f630abb43e11@localhost.localdomain> X-Priority: 3 Thread-Topic: D2003: Do not strip crunched binary; it will be done by install X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTA5OTg1YmM4MDUzZTZlOTkyNTE4MmU1NTJlIFT2PHg= 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.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 22:58:01 -0000 imp accepted this revision. imp added a comment. This revision is now accepted and ready to land. Looks good to me. REVISION DETAIL https://reviews.freebsd.org/D2003 To: emaste, andrew, imp Cc: freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Tue Mar 3 23:56:22 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 222A8574 for ; Tue, 3 Mar 2015 23:56:22 +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 00DFEEAC for ; Tue, 3 Mar 2015 23:56: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 t23NuLvI065997 for ; Tue, 3 Mar 2015 23:56:21 GMT (envelope-from root@phabric-backend.isc.freebsd.org) Received: (from root@localhost) by phabric-backend.isc.freebsd.org (8.14.9/8.14.9/Submit) id t23NuLdG065996; Tue, 3 Mar 2015 23:56:21 GMT (envelope-from root) Date: Tue, 3 Mar 2015 23:56:21 +0000 To: freebsd-toolchain@freebsd.org From: "rpaulo (Rui Paulo)" Subject: [Differential] [Changed Subscribers] D2003: Do not strip crunched binary; it will be done by install Message-ID: <5a2832b016e2c07ec88b338c48bc258d@localhost.localdomain> X-Priority: 3 Thread-Topic: D2003: Do not strip crunched binary; it will be done by install X-Herald-Rules: none X-Phabricator-To: X-Phabricator-To: X-Phabricator-To: X-Phabricator-Cc: X-Phabricator-Cc: In-Reply-To: References: Thread-Index: ZTA5OTg1YmM4MDUzZTZlOTkyNTE4MmU1NTJlIFT2SiU= 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.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Mar 2015 23:56:22 -0000 rpaulo added a subscriber: rpaulo. rpaulo added a comment. How is install(1) executed? What controls "stripping" via install(1) is the STRIP make variable, so if I set that to null, won't that also avoid stripping crunched binaries? Is that expected? REVISION DETAIL https://reviews.freebsd.org/D2003 To: emaste, andrew, imp Cc: rpaulo, freebsd-toolchain From owner-freebsd-toolchain@FreeBSD.ORG Wed Mar 4 08:48:14 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 C4EC8D89; Wed, 4 Mar 2015 08:48:14 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (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 52649DC6; Wed, 4 Mar 2015 08:48:14 +0000 (UTC) Received: by lams18 with SMTP id s18so42988811lam.13; Wed, 04 Mar 2015 00:48:12 -0800 (PST) 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=Y74ItZwHkiLdPQYe0KshX/MYW0kMXLWjqFNykA5CEgU=; b=ET66Q/HKN6dLhy6A6oxvShXPTlI5hDwPwQi/t/y1jbR07dkBGzMLY0DAz3ojfbyLS8 3kqymKAMMrox6GluVlZ7Pc0whNChKi+x+Hp9grH51IXQu/gAf+SiTge5iAZK0cJMyRs7 KIGD2httL0qMswAQkc4MrWsMumKmvpM3oSTe7E7TaWKDdzN7+Tkr1NvV9YilHtC8vrAW Ub5GszRFm/lsrffBtMEeefNWinybSIU6G819FV9M/DNC3YTOJE7XVjXdBF3aET4ErAUX rb8P22Mwaap/fLpMXNxTyY4/nOdShxe0/+Z8Dyii8yiZkNh67Wai8FHpQbOvYicC2KKn vhPA== MIME-Version: 1.0 X-Received: by 10.112.223.7 with SMTP id qq7mr2346427lbc.81.1425458892313; Wed, 04 Mar 2015 00:48:12 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Wed, 4 Mar 2015 00:48:12 -0800 (PST) In-Reply-To: References: Date: Wed, 4 Mar 2015 00:48:12 -0800 X-Google-Sender-Auth: M_vxYil7J3iTIsQhJpBB14Z4Fig Message-ID: Subject: Re: Failed to build with external toolchain From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Mar 2015 08:48:14 -0000 On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric wrote: > On 03 Mar 2015, at 09:00, Craig Rodrigues wrote: > CXXFLAGS+= -D_LIBCPP_HAS_NO_ADVANCED_SFINAE > > to the make.conf file you use for building. > Thanks for the tip. I added that to make.conf, but now I am getting a different error involving unknown compiler flags: https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/13/console Any ideas? Thanks. -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Wed Mar 4 20:36:59 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 3CA4997D; Wed, 4 Mar 2015 20:36:59 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [IPv6:2001:7b8:3a7:1:2d0:b7ff:fea0:8c26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7106D25; Wed, 4 Mar 2015 20:36:58 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::ad8c:3fcc:9718:e182] (unknown [IPv6:2001:7b8:3a7:0:ad8c:3fcc:9718:e182]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id AE97E5C47; Wed, 4 Mar 2015 21:36:49 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Wed, 4 Mar 2015 21:36:43 +0100 Message-Id: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> References: To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 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, 04 Mar 2015 20:36:59 -0000 --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA Content-Type: multipart/mixed; boundary="Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A" --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 04 Mar 2015, at 09:48, Craig Rodrigues wrote: >=20 > On Tue, Mar 3, 2015 at 9:17 AM, Dimitry Andric = wrote: >=20 >> On 03 Mar 2015, at 09:00, Craig Rodrigues = wrote: >> CXXFLAGS+=3D -D_LIBCPP_HAS_NO_ADVANCED_SFINAE >>=20 >> to the make.conf file you use for building. >>=20 >=20 > Thanks for the tip. I added that to make.conf, but now > I am getting a different error involving unknown compiler flags: >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/13/con= sole >=20 > Any ideas? Yes, this is due to a custom -mno-align-long-strings flag, which is only supported by gcc in base. I've conditionalized it in r279598, so please try again after that. You will also need this patch I just posted to freebsd-current [1] for libnv: gcc reports the same error about an ambiguous operator<< for one of its ATF tests. -Dimitry [1] = https://lists.freebsd.org/pipermail/freebsd-current/2015-March/054935.html= --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A Content-Disposition: attachment; filename=libnv-fix-tests-cxx11-1.diff Content-Type: application/octet-stream; name="libnv-fix-tests-cxx11-1.diff" Content-Transfer-Encoding: 7bit Index: lib/libnv/tests/dnv_tests.cc =================================================================== --- lib/libnv/tests/dnv_tests.cc (revision 279596) +++ lib/libnv/tests/dnv_tests.cc (working copy) @@ -450,7 +450,7 @@ nvl = nvlist_create(0); actual_val = dnvlist_take_nvlist(nvl, "123", NULL); - ATF_REQUIRE_EQ(actual_val, NULL); + ATF_REQUIRE_EQ(actual_val, static_cast(NULL)); free(actual_val); nvlist_destroy(nvl); --Apple-Mail=_5752E152-AF01-4B4F-A617-A3E9D812008A-- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA 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----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT3bOAACgkQsF6jCi4glqM8PgCeNjSgeOX95kbUclPM1azEiWHq dPwAn3uUXNbn7025cxcdBcdYGG6osft1 =Yurs -----END PGP SIGNATURE----- --Apple-Mail=_6E9B09CC-3F0A-4A4A-AF74-9541DE389ECA-- From owner-freebsd-toolchain@FreeBSD.ORG Sat Mar 7 20:12:55 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 AC379ACC; Sat, 7 Mar 2015 20:12:55 +0000 (UTC) Received: from mail-la0-x22a.google.com (mail-la0-x22a.google.com [IPv6:2a00:1450:4010:c03::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 3CDA9E8F; Sat, 7 Mar 2015 20:12:55 +0000 (UTC) Received: by lamq1 with SMTP id q1so587lam.12; Sat, 07 Mar 2015 12:12:52 -0800 (PST) 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=/zKX21BHuvbWKg5NYFfQ5Ew+eQ5Fb0HN7jwpvX+//fk=; b=QJeE3as3YxyEdiHviCrCXyDHnOqnAv3ekaB6onwEp3T8xyPlyuPZ7ecn7T5XebfiOz gtpZbf1ROtqnnWmjJo14pHqgodtgEiOF1kERIfBMssfrqR8P7+Sz3lW8TxR8hQJ7XC1h Wxsr3NzfdhTq+0QEz7biuMC0VzlE0LpJ0xyXdmzNKVQZS80M+sMc1lgKaDl/80iiBAkE WRZdhS5K+qCNFEiKcUEE6+QXX070O/mbP3faTHpt2/d4UHGncl3yLhaMNX35LvV2k21n aOL7f/SEeJPw6R/LZeDmQhm5Bzd+4LBUUDj2ezeQojyoX+iQzt5IF6ofOz+xwcbvI3Bd IhOg== MIME-Version: 1.0 X-Received: by 10.112.141.34 with SMTP id rl2mr18634257lbb.26.1425759172600; Sat, 07 Mar 2015 12:12:52 -0800 (PST) Sender: crodr001@gmail.com Received: by 10.112.82.164 with HTTP; Sat, 7 Mar 2015 12:12:52 -0800 (PST) In-Reply-To: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> Date: Sat, 7 Mar 2015 12:12:52 -0800 X-Google-Sender-Auth: AgqVdzJtA1ZwxFINfY_dSwfIPq4 Message-ID: Subject: Re: Failed to build with external toolchain From: Craig Rodrigues To: Dimitry Andric Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.18-1 Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 20:12:55 -0000 Hi, I ran the build again and this time I am getting errors about undefined symbol utimensat(): https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/console Any ideas? -- Craig From owner-freebsd-toolchain@FreeBSD.ORG Sat Mar 7 20:36:22 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 579F839F; Sat, 7 Mar 2015 20:36:22 +0000 (UTC) Received: from mail-pa0-x22c.google.com (mail-pa0-x22c.google.com [IPv6:2607:f8b0:400e:c03::22c]) (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 18BDB14E; Sat, 7 Mar 2015 20:36:22 +0000 (UTC) Received: by padet14 with SMTP id et14so64605581pad.0; Sat, 07 Mar 2015 12:36:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :message-id:references:to; bh=vkm5KeWYHEcj46qaGFy2Hv5VfqIcH2RzLDrMSujg7eI=; b=b2NcqW9XKYwdMKN37sBzgaJbjy5g8zaDu52VSX2HbuNUyGIJ8vys5jO8F5frYZ7qNp 1p/cRCQmETwBxQBttNMB/20xkZguIzmp61kmkd0fY91nuJN56zFoqWEBapr9FXHvaHX4 fF4ch0y3DqamcR1UN48ZpfzvqxPzY0rEYIrpFfcQyirIowZkyP24ruHv8XWNHEkMmGab S6rP9PZMYAvy5y7rxrsDtihiO6L5YzRVg7I5rbkbSuw+krG71Mur+w3d8SfQzsD3I7cG H16GjyM2C6PkaQdKQpGXRIaARJX9nUYm4jxq3LDxpxJbjTYNCD9tAB6wY4a41ZH2+KRS PiCQ== X-Received: by 10.66.219.130 with SMTP id po2mr36834241pac.98.1425760581630; Sat, 07 Mar 2015 12:36:21 -0800 (PST) Received: from ?IPv6:2601:8:ab80:7d6:487e:52a:85bc:11ba? ([2601:8:ab80:7d6:487e:52a:85bc:11ba]) by mx.google.com with ESMTPSA id hr3sm13133556pbb.13.2015.03.07.12.36.20 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 07 Mar 2015 12:36:20 -0800 (PST) Content-Type: multipart/signed; boundary="Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) Subject: Re: Failed to build with external toolchain From: Garrett Cooper In-Reply-To: Date: Sat, 7 Mar 2015 12:36:18 -0800 Message-Id: References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.1878.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org, Dimitry Andric X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 20:36:22 -0000 --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=windows-1252 On Mar 7, 2015, at 12:12, Craig Rodrigues wrote: > Hi, >=20 > I ran the build again and this time I am getting errors about = undefined > symbol utimensat(): >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/con= sole >=20 > Any ideas? You might need to specify more options to gcc to get it to compile in = base. AFAIK we still have all of the =93bootstrap=94 (-sysroot, etc) = customizations checked into base with clang/gcc, so using the tools from = ports might not work in all cases :/. --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6 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 iQEcBAEBCgAGBQJU+2FCAAoJEMZr5QU6S73eIj0IAKc2jwybkW3Msfk75S5/f+aP 8CjrS6JBT9vc/rLAaUIvVR129UmRyA2BofgR1wNYR13whhh26cr2zKCiFTn8fpr9 jB7ZOe/FruDioqZeNquvW3v/RYaBJZ7gZd4c2+Q8dLAqHFP1PCD76Y0NrxUYryzB CXaVppx/0a/pTFhWTuphXQCKlvW6dwLbaqh2SyDskmKZaQqCiRIeSwak887bPuDV WeLKhsVBrKcufNnvWcaA9eoz3EVSx/Y5JY02Nmd/hjQkvmio8hGG9BQGOeq1ZiXH nKUu8c7ArmLdSOSn6KZSVhfwhzsLbLMtZLgGeqwTMXpB4q44R4aiX0/TlUGdeuA= =/DjE -----END PGP SIGNATURE----- --Apple-Mail=_83C4045D-8BFC-4EEB-989A-CD2BF9C937E6-- From owner-freebsd-toolchain@FreeBSD.ORG Sat Mar 7 23:48:47 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 309DAA4D; Sat, 7 Mar 2015 23:48:47 +0000 (UTC) Received: from tensor.andric.com (tensor.andric.com [87.251.56.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tensor.andric.com", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DDF4D777; Sat, 7 Mar 2015 23:48:46 +0000 (UTC) Received: from [IPv6:2001:7b8:3a7::4866:e5b9:91ad:dbf1] (unknown [IPv6:2001:7b8:3a7:0:4866:e5b9:91ad:dbf1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tensor.andric.com (Postfix) with ESMTPSA id 94BDA5C48; Sun, 8 Mar 2015 00:48:37 +0100 (CET) Subject: Re: Failed to build with external toolchain Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\)) Content-Type: multipart/signed; boundary="Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F"; protocol="application/pgp-signature"; micalg=pgp-sha1 X-Pgp-Agent: GPGMail 2.5b5 From: Dimitry Andric In-Reply-To: Date: Sun, 8 Mar 2015 00:48:25 +0100 Message-Id: References: <1857A2A3-0C19-4F52-BCAF-6C72FE7D8DF3@FreeBSD.org> To: Craig Rodrigues X-Mailer: Apple Mail (2.2070.6) Cc: "freebsd-testing@freebsd.org" , freebsd-toolchain@freebsd.org X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Mar 2015 23:48:47 -0000 --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii On 07 Mar 2015, at 21:12, Craig Rodrigues wrote: > I ran the build again and this time I am getting errors about = undefined > symbol utimensat(): >=20 > = https://jenkins.freebsd.org/job/FreeBSD_HEAD_external_toolchain_gcc/14/con= sole >=20 > Any ideas? It's linking against the wrong libc, the one from the FreeBSD-10 host system, which does not have utimensat(): --- cp --- /usr/local/bin/x86_64-portbld-freebsd10.0-gcc -isystem = /builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_extern= al_toolchain_gcc/tmp/usr/include = -L/builds/FreeBSD_HEAD_external_toolchain_gcc/obj/builds/FreeBSD_HEAD_exte= rnal_toolchain_gcc/tmp/usr/lib -O2 -pipe = -DVM_AND_BUFFER_CACHE_SYNCHRONIZED -D_ACL_PRIVATE -std=3Dgnu99 = -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W = -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes = -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch = -Wshadow -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline = -Wnested-externs -Wredundant-decls -Wold-style-definition = -Wno-pointer-sign -o cp cp.o utils.o [...] utils.o: In function `setfile': utils.c:(.text+0x83): undefined reference to `utimensat' utils.c:(.text+0x1ce): undefined reference to `utimensat' utils.c:(.text+0x38c): undefined reference to `utimensat' collect2: error: ld returned 1 exit status There should probably be a --sysroot flag in there, pointing to the ${WORLDTMP} built during the earlier stages. For some reason, this flag is not added for gcc, in Makefile.inc1. No idea why that was done. -Dimitry --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F 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----- Version: GnuPG/MacGPG2 v2.0.26 iEYEARECAAYFAlT7jlQACgkQsF6jCi4glqM1FACgwr5K2XcQR3T76dCSn1KOkHuD 3zgAn2HwMVhcEnJPjztdlErkyBjgE6Fh =HKyP -----END PGP SIGNATURE----- --Apple-Mail=_90EDC6B1-1078-4B56-9B1A-9B4CD4A3850F--