From owner-freebsd-ppc@freebsd.org Sun Jun 19 03:17:51 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 35747A7A0A4 for ; Sun, 19 Jun 2016 03:17:51 +0000 (UTC) (envelope-from apache@li501-133.members.linode.com) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 206922507 for ; Sun, 19 Jun 2016 03:17:51 +0000 (UTC) (envelope-from apache@li501-133.members.linode.com) Received: by freefall.freebsd.org (Postfix) id 1EE3E1179; Sun, 19 Jun 2016 03:17:51 +0000 (UTC) Delivered-To: freebsd-powerpc@localmail.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by freefall.freebsd.org (Postfix) with ESMTP id 1E3051178 for ; Sun, 19 Jun 2016 03:17:51 +0000 (UTC) (envelope-from apache@li501-133.members.linode.com) Received: from li501-133.members.linode.com (li501-133.members.linode.com [176.58.114.133]) (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 C172A2506 for ; Sun, 19 Jun 2016 03:17:50 +0000 (UTC) (envelope-from apache@li501-133.members.linode.com) Received: from li501-133.members.linode.com (localhost [127.0.0.1]) by li501-133.members.linode.com (8.14.7/8.14.7) with ESMTP id u5J2k7ke014516 for ; Sun, 19 Jun 2016 04:46:07 +0200 Received: (from apache@localhost) by li501-133.members.linode.com (8.14.7/8.14.7/Submit) id u5J2k7G3014515; Sun, 19 Jun 2016 04:46:07 +0200 To: freebsd-powerpc@freebsd.org Subject: Delivery Notification, ID 0000186105 X-PHP-Originating-Script: 48:post.php(5) : regexp code(1) : eval()'d code(17) : eval()'d code Date: Sun, 19 Jun 2016 04:46:07 +0200 From: "FedEx SmartPost" Reply-To: "FedEx SmartPost" Message-ID: X-Priority: 3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Content-Filtered-By: Mailman/MimeDel 2.1.22 X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Jun 2016 03:17:51 -0000 Dear Customer, We could not deliver your parcel. Please, open email attachment to print shipment label. Kind regards, Nathan Gates, Operation Agent. From owner-freebsd-ppc@freebsd.org Tue Jun 21 22:11:23 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4FB57AC571A for ; Tue, 21 Jun 2016 22:11:23 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-153.reflexion.net [208.70.211.153]) (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 EB5492B26 for ; Tue, 21 Jun 2016 22:11:22 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12502 invoked from network); 21 Jun 2016 22:11:16 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 21 Jun 2016 22:11:16 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Tue, 21 Jun 2016 18:11:25 -0400 (EDT) Received: (qmail 3426 invoked from network); 21 Jun 2016 22:11:25 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 21 Jun 2016 22:11:25 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 904D51C4079; Tue, 21 Jun 2016 15:11:15 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: RE: WITH_SYSTEM_COMPILER default on Date: Tue, 21 Jun 2016 15:11:18 -0700 Message-Id: <39C98FFD-B0BB-4F25-A1D1-2447A2FDDFBD@dsl-only.net> Cc: freebsd-arm , FreeBSD PowerPC ML To: Bryan Drewery , FreeBSD Current Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Jun 2016 22:11:23 -0000 Bryan Drewery bdrewery at FreeBSD.org wrote on Tue Jun 21 19:03:46 UTC = 2016 : > This feature is where the bootstrap compiler in buildworld is not = built > if the one in /usr/bin/cc matches what would be built. It is very > conservative and requires a complete match of major/minor version and > the compiler revision (__FreeBSD_cc_version). >=20 > The only complaint so far about this feature was that when we bumped = the > compiler revision, too much of clang would rebuild. That was = addressed > in r301277. >=20 > I would like to enable this feature by default in head for 11.0. >=20 > Unless there are any objections I will do so in a few days. >=20 > --=20 > Regards, > Bryan Drewery I've only been using WITH_SYSTEM_COMPILER=3D for system-clang based = builds with the host matching TARGET_ARCH ("self hosted"). For xtoolchain use (self-hosted or not) I've been using in my src.conf = files for such contexts:=20 WITHOUT_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D WITHOUT_BINUTILS_BOOTSTRAP=3D WITHOUT_CLANG_BOOTSTRAP=3D For cross builds (all being amd64 -> something else, such as armv6, = powerpc64, or powerpc) based on using some build of the system clang = 3.8.0 I've been using: WITH_CROSS_COMPILER=3D WITHOUT_SYSTEM_COMPILER=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_CLANG_BOOTSTRAP=3D As I understand the history the paths for finding tools, headers, etc. = built into the clang cross compiler were not necessarily the same as for = the live the system compiler that has paths appropriate specifically to = self-hosting. This helped avoid getting the wrong versions of files = involved. This was true despite the normal clang code generation being able to = target other architectures. As for self-hosted system-clang based builds I've been using: #WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D WITH_BINUTILS_BOOTSTRAP=3D #WITH_CLANG_BOOTSTRAP=3D (So in this case I've left some things implicit in operation.) As stands I'll not notice the SYSTEM_COMPILER default's consequences = because I'm always explicit about WITH vs. WITHOUT for SYSTM_COMPILER. = If you want some sort of experiment(s), let me know. But I only currently have an amd64 context and a rpi2 armv6 context. The = dual-proessor, each dual-core powerpc64 was much faster at self-hosted = xtoolchain builds compared to any self-hosted rpi2 build but I do not = have access to the powerpc family for now. Self-hosted amd64 xtoolchain = builds do not work yet for normal settings: duplicate declarations tend = to stop the builds if one leaves on the warnings-as-errors status for = buildkernel. (At least last that I tried such.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-ppc@freebsd.org Thu Jun 23 08:21:59 2016 Return-Path: Delivered-To: freebsd-ppc@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C8CF8AC653F for ; Thu, 23 Jun 2016 08:21:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-211-153.reflexion.net [208.70.211.153]) (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 8D3D31ACB for ; Thu, 23 Jun 2016 08:21:59 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 12036 invoked from network); 23 Jun 2016 08:21:47 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 23 Jun 2016 08:21:47 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v7.90.3) with SMTP; Thu, 23 Jun 2016 04:22:36 -0400 (EDT) Received: (qmail 24946 invoked from network); 23 Jun 2016 08:22:36 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 23 Jun 2016 08:22:36 -0000 X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network X-No-Relay: not in my network Received: from [192.168.0.105] (ip70-189-131-151.lv.lv.cox.net [70.189.131.151]) by iron2.pdx.net (Postfix) with ESMTPSA id 4182C1C407A; Thu, 23 Jun 2016 01:21:37 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: WITH_SYSTEM_COMPILER default on From: Mark Millard In-Reply-To: <39C98FFD-B0BB-4F25-A1D1-2447A2FDDFBD@dsl-only.net> Date: Thu, 23 Jun 2016 01:21:49 -0700 Cc: freebsd-arm , FreeBSD PowerPC ML Content-Transfer-Encoding: quoted-printable Message-Id: <6C3A4F2A-9583-49FB-B1E7-69A0044B3887@dsl-only.net> References: <39C98FFD-B0BB-4F25-A1D1-2447A2FDDFBD@dsl-only.net> To: Bryan Drewery , FreeBSD Current , FreeBSD Toolchain X-Mailer: Apple Mail (2.3124) X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jun 2016 08:21:59 -0000 On 2016-Jun-21, at 3:11 PM, Mark Millard wrote: > Bryan Drewery bdrewery at FreeBSD.org wrote on Tue Jun 21 19:03:46 UTC = 2016 : >=20 >> This feature is where the bootstrap compiler in buildworld is not = built >> if the one in /usr/bin/cc matches what would be built. It is very >> conservative and requires a complete match of major/minor version and >> the compiler revision (__FreeBSD_cc_version). >>=20 >> The only complaint so far about this feature was that when we bumped = the >> compiler revision, too much of clang would rebuild. That was = addressed >> in r301277. >>=20 >> I would like to enable this feature by default in head for 11.0. >>=20 >> Unless there are any objections I will do so in a few days. >>=20 >> --=20 >> Regards, >> Bryan Drewery >=20 > I've only been using WITH_SYSTEM_COMPILER=3D for system-clang based = builds with the host matching TARGET_ARCH ("self hosted"). >=20 > For xtoolchain use (self-hosted or not) I've been using in my src.conf = files for such contexts:=20 >=20 > WITHOUT_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > WITHOUT_BINUTILS_BOOTSTRAP=3D > WITHOUT_CLANG_BOOTSTRAP=3D >=20 > For cross builds (all being amd64 -> something else, such as armv6, = powerpc64, or powerpc) based on using some build of the system clang = 3.8.0 I've been using: >=20 > WITH_CROSS_COMPILER=3D > WITHOUT_SYSTEM_COMPILER=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_CLANG_BOOTSTRAP=3D >=20 > As I understand the history the paths for finding tools, headers, etc. = built into the clang cross compiler were not necessarily the same as for = the live the system compiler that has paths appropriate specifically to = self-hosting. This helped avoid getting the wrong versions of files = involved. A historical example was cross builds running the live-system's ld when = the use of ld was implicit in a clang/clang++ command instead of being a = direct use of ${XLD}. In other words: such implicit use of ld by /usr/bin/clang and = /usr/bin/clang++ would not go find the ld built by = WITH_BINUTILS_BOOTSTRAP=3D but would instead use /usr/bin/ld (which was = for the wrong TARGET_ARCH). It looks like testing the current handling of such WITH_SYSTEM_COMPILER=3D= issues in a form that allows WITHOUT_CROSS_COMPILER=3D operation = requires building not using WITH_META_MODE=3D : man src.conf says that = WITH_META_MODE=3D enforces WITHOUT_SYSTEM_COMPILER=3D . My normal build procedures now use WITH_META_MODE=3D so such a test = would be special. Let me know if you want my to make such a test. > This was true despite the normal clang code generation being able to = target other architectures. >=20 > As for self-hosted system-clang based builds I've been using: >=20 > #WITH_CROSS_COMPILER=3D > WITH_SYSTEM_COMPILER=3D > WITH_BINUTILS_BOOTSTRAP=3D > #WITH_CLANG_BOOTSTRAP=3D >=20 > (So in this case I've left some things implicit in operation.) >=20 > As stands I'll not notice the SYSTEM_COMPILER default's consequences = because I'm always explicit about WITH vs. WITHOUT for SYSTM_COMPILER. = If you want some sort of experiment(s), let me know. >=20 > But I only currently have an amd64 context and a rpi2 armv6 context. = The dual-proessor, each dual-core powerpc64 was much faster at = self-hosted xtoolchain builds compared to any self-hosted rpi2 build but = I do not have access to the powerpc family for now. Self-hosted amd64 = xtoolchain builds do not work yet for normal settings: duplicate = declarations tend to stop the builds if one leaves on the = warnings-as-errors status for buildkernel. (At least last that I tried = such.) >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net =3D=3D=3D Mark Millard markmi at dsl-only.net