From owner-freebsd-toolchain@freebsd.org Sun Oct 29 04:45:35 2017 Return-Path: Delivered-To: freebsd-toolchain@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 32AE0E58D9C for ; Sun, 29 Oct 2017 04:45:35 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E41B76ADE1 for ; Sun, 29 Oct 2017 04:45:34 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] by 3c-app-mailcom-lxa12.server.lan (via HTTP); Sun, 29 Oct 2017 05:40:17 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: freebsd-toolchain@freebsd.org Subject: External LLVM toolchain not consistently locating c++ when compiling ports Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 Oct 2017 05:40:17 +0100 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:6ZdejegoinGxp1ehFQB17z4EDJym+Ep8xlnGQzb4Pfm 6f1wZqLdqJ7uqz+R4dd9CWrR5g5TiddWDW5wvZfI+7BlcaBr1Y TQhcuZ55s7Zji91wXM2JkSZwccpy3+SU877eDc4oV+pe7u5GK2 KsFFcIt0GNTFfgzQzSdx4DP29jDEmCahKuh/XAJBefjPczGIZN ZfY655SvTqWtKlwH07qxf9UKnef4ZdD5tIh1yA5Uc8ksJW6WJS d0/MGoU9/4tQbBA3OB+5oNIs/xlKdaY+uVgY1KK46dnCWLOpju nN5zt4= X-UI-Out-Filterresults: notjunk:1;V01:K0:gKqCFS6yvlE=:bZtdAmrhbX+FOITddHErk2 LgiO63JcWz1aI7XPH3e1Pooid4/waVwu6W4DYaXdEDfrAX39f/VVRjheWjrR9oeanyvC1LHrP K419GRkQ++vtfc0x+XztlaLCnLOlwt8YZao0XvxLx94fqurgBZqSE914b17x8u9u1hlTD8c0G 4CYGltQKqDXrdtpqffrfZK0cqKe42HsuIUuoeeD9STY6JgAYlcX4xesoHqr7XDHIyOixEsGNu E0/NZyuGGJaeWLwqytNsB4VF/Uu9OK4NCSenMPXK1hZjIdfWccqPnPLeB8ObU21jY3il9ePWh BId9zLf3uieGpz+//NE2HL5mTyC+61y8SplZWo6eZJWHpQcg+jK7/b4lWg5Uk2TMA8PEi1t7N 1Yt5/fMTHU2du6FP5QXLGrlCgmlI6/WabQFWY/dszQ86+vb0tO2g3lckdcUSEkk9mPtDamNc+ vGNeBZJrJ+N0OI85lle8MaeKPqrL0BfUvVj2zJsPDP965L6dyAzEpwFRwSGsRYwAQiECbl2u4 Qufi4ebwvxkckxt2l3/KyS8TkovP9MRTAzZMTH6L/hQ X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 04:45:35 -0000 In /etc/make.conf, when I use, XCC= /usr/local/bin/clang40 XCXX= /usr/local/bin/clang++40 XCPP= /usr/local/bin/clang-cpp40 for ports that require c++ without clang in the base system, I get the error code make: "/usr/ports/Mk/Uses/compiler.mk" line 112:warning: "c++ -### /dev/null 2>&1" returned non-zero status Base and the kernel builds well with this setting. Compiles that don't need c++ also work with this setting. I've compensated by adding CC= /usr/local/bin/clang40 CXX= /usr/local/bin/clang++40 CPP= /usr/local/bin/clang-cpp40 to the above. While this works for many ports requiring c++, it doesn't work for Rust, and programs that depend on it (Firefox, Thunderbird). It seems that XCXX is supposed to replace CXX fully, considering that XCC replaces CC, and XCPP replaces CPP when compiling other ports. The error message for compiling rust with all of the above (XCC, XCXX, XCPP, CC, CXX, CPP) set is couldn't find required command: "c++" This error happens whether the port option for lang/rust is set to compile with llvm40 or the bundled version. This is affected by /usr/ports/Mk/Uses/compiler.mk and I think this problem affects ports compiled with c++ in the base system as well. Thank you From owner-freebsd-toolchain@freebsd.org Sun Oct 29 06:11:22 2017 Return-Path: Delivered-To: freebsd-toolchain@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 53FFEE5A88F for ; Sun, 29 Oct 2017 06:11:22 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-131.reflexion.net [208.70.210.131]) (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 025846D079 for ; Sun, 29 Oct 2017 06:11:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 7209 invoked from network); 29 Oct 2017 05:11:19 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 29 Oct 2017 05:11:19 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sun, 29 Oct 2017 01:11:19 -0400 (EDT) Received: (qmail 23867 invoked from network); 29 Oct 2017 05:11:19 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Oct 2017 05:11:19 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id CD4AAEC7C1F; Sat, 28 Oct 2017 22:11:18 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports From: Mark Millard X-Priority: 3 In-Reply-To: Date: Sat, 28 Oct 2017 22:11:18 -0700 Cc: freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: References: To: Sid X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 06:11:22 -0000 On 2017-Oct-28, at 9:40 PM, Sid wrote: > In /etc/make.conf, when I use, > XCC=3D /usr/local/bin/clang40 > XCXX=3D /usr/local/bin/clang++40 > XCPP=3D /usr/local/bin/clang-cpp40 > for ports that require c++ without clang in the base system, I get the = error code=20 > make: "/usr/ports/Mk/Uses/compiler.mk" line 112:warning: "c++ -### = /dev/null 2>&1" returned non-zero status Quoting https://wiki.freebsd.org/ExternalToolchain: XCC The XCC approach works with top level build targets (buildworld, = buildkernel, etc) and overrides common make variables such as CC, CXX, = and AS during the cross building portions of the build with values = specified by the XCC, XCPP, XAS, etc variables. This method touches few = files and is relatively easy to understand, but has drawbacks including = the inability to build individual programs easily.=20 END QUOTE. Does ports support "cross building" that would be expected to use XCC, XCXX, XCPP, and the like? To my knowledge there is no cross build environment for ports that can avoid qemu (or an equivalent): cross builds of parts are based on qemu, which use CC, CXX, CPP and the like as far as I know. > Base and the kernel builds well with this setting. Compiles that don't = need c++ also work with this setting. Unlike for ports builds. (That is my understanding.) > I've compensated by adding > CC=3D /usr/local/bin/clang40 > CXX=3D /usr/local/bin/clang++40 > CPP=3D /usr/local/bin/clang-cpp40 > to the above. While this works for many ports requiring c++, it = doesn't work for Rust, and programs that depend on it (Firefox, = Thunderbird). This is what I'd expect for "self hosted" (target=3Dbuild) types of contexts and for being in a qemu context that looks like the target. I'm not aware of another form of cross build for FreeBSD ports. (I'd like to be able to do powerpc64 and powerpc without a system qemu. User qemu does not work for targeting powerpc64 or for powerpc.) > It seems that XCXX is supposed to replace CXX fully, considering that = XCC replaces CC, and XCPP replaces CPP when compiling other ports. Can you provide evidence of this? Does the evidence involve cross building where the X prefix is involved? > The error message for compiling rust with all of the above (XCC, XCXX, = XCPP, CC, CXX, CPP) set is > couldn't find required command: "c++" Does the environment not have a c++ command in a place listed in path? Otherwise it should be found. > This error happens whether the port option for lang/rust is set to = compile with llvm40 or the bundled version. > This is affected by /usr/ports/Mk/Uses/compiler.mk and I think this = problem affects ports compiled with c++ in the base system as well. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sun Oct 29 07:10:35 2017 Return-Path: Delivered-To: freebsd-toolchain@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 1A359E5BC95 for ; Sun, 29 Oct 2017 07:10:35 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D60336EBD9 for ; Sun, 29 Oct 2017 07:10:34 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] by 3c-app-mailcom-lxa12.server.lan (via HTTP); Sun, 29 Oct 2017 08:10:32 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: "Mark Millard" , freebsd-toolchain@freebsd.org Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 Oct 2017 08:10:32 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:CCiYY/sY8iV50a3AGb4Evzwuz54cscBIEpIxb8vez0a 4aQzosxvShtM2h30QynuTUgAFSgfUmNUdWKsxtIuwGnk6lwGZi NFET5H4Qj5udXt3BDOt/1WwxCxNZGnzUZ8WHiFmUhPl+4lCVva r9rNmT18DWHKWxs47RmNL+Cw3rOaOdhLGfHis1sWKsUEDri6kC GKNxxJs3EKmJwpcD0AjuTFbRRotSCm32Fh+RegJeXruNYOF1Nf pFORUb9rZi9a3ArUblRTCh9azoS2EQH85XZE1O2LH+Xn3ei3/Q dUqSyU= X-UI-Out-Filterresults: notjunk:1;V01:K0:c6bz7S+bUJQ=:iI9od10l4ahUS/+Sfg2AH2 tDeL66nV3Rlq7VAzjBcvcSCad2G97a+UKgZguOsBqA2by0ZYcyyUuR2QEAGLY4B4EqY+VxC9W 0iZqUzB/g7uv5YLkB0hEaV7rJPWq+1pfnRs5m9bHkmBtQ0HYV3XXjZmYnqzjGxwkQ8jXWlYFH Q4i3FPPBCzRRugFHBJUFnm4Vz+AN9/3nisxJWOwTZqiB6yzj0h5BkSiSv5IsD7ehN3Lgvglt0 VOUNpEZBPQbXiwTbTvMWhPhpDianCICMW20aWCwvpPEhJ4Z0s5/X4o64eRuvGUpn7hc0q3dR2 JPhMrg1jY2kmIjWalmP6KHmt2I99iPVr1/JBOws9OHLMiwTEL2orad4yDehxYblUh4SMijrU9 Dhs+kwuG20kbq0jTE3GtEOSPRZ2JVDKGpVcecVISwg3GCbxAvVxqR/TCD6WyDzdOFRhX1EHp2 Lk+/xgS+1NTh19gTXiY1pY1Q13aA8eDgqr6VOb/fb5xSpOa4wNYZphL9hHRCLrtBv1orUOqSJ ASYs6g/+yDZn19WMkrhwlVtGBIi4LidlyYRnkXusoTf X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 07:10:35 -0000 Hi, This is not on Qemu, and I'm not cross-building. This is on an amd64 on 11.1-RELEASE-p2. Base was built without clang or gcc, and clang40 was installed from ports. The base and kernel compile using lang/llvm40 with XCC, XCXX, and XCPP set. I'm a little confused, as how earlier, it seemed that ports that didn't need c++ were building without CC, CXX, and CPP options set. If I made a mistake here, I apologize for this. It seems CC, CXX, and CPP are made for ports. Then the problem is with Rust locating c++ that is in /usr/local/bin/ and not contained within FreeBSD 11.1's base, in /usr/bin/. Nearly all programs requiring c++, needed for my desktop (xorg, rxvt-unicode, leafpad, sox) compiled when all 6 variables were set (CC,CPP, etc). Only Rust, and programs depending on it failed. Now I think the problem is, that Rust and programs depending on it look in absolute locations for c++. > Sent: Sunday, October 29, 2017 at 12:11 AM > From: "Mark Millard" > To: Sid > Cc: freebsd-toolchain@freebsd.org > Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports > > > On 2017-Oct-28, at 9:40 PM, Sid wrote: > > > In /etc/make.conf, when I use, > > XCC= /usr/local/bin/clang40 > > XCXX= /usr/local/bin/clang++40 > > XCPP= /usr/local/bin/clang-cpp40 > > for ports that require c++ without clang in the base system, I get the error code > > make: "/usr/ports/Mk/Uses/compiler.mk" line 112:warning: "c++ -### /dev/null 2>&1" returned non-zero status > > Quoting https://wiki.freebsd.org/ExternalToolchain: > > XCC > > The XCC approach works with top level build targets (buildworld, buildkernel, etc) and overrides common make variables such as CC, CXX, and AS during the cross building portions of the build with values specified by the XCC, XCPP, XAS, etc variables. This method touches few files and is relatively easy to understand, but has drawbacks including the inability to build individual programs easily. > > END QUOTE. > > Does ports support "cross building" that would be expected to use > XCC, XCXX, XCPP, and the like? > > To my knowledge there is no cross build environment for ports > that can avoid qemu (or an equivalent): cross builds of parts > are based on qemu, which use CC, CXX, CPP and the like as far > as I know. > > > Base and the kernel builds well with this setting. Compiles that don't need c++ also work with this setting. > > Unlike for ports builds. (That is my understanding.) > > > I've compensated by adding > > CC= /usr/local/bin/clang40 > > CXX= /usr/local/bin/clang++40 > > CPP= /usr/local/bin/clang-cpp40 > > to the above. While this works for many ports requiring c++, it doesn't work for Rust, and programs that depend on it (Firefox, Thunderbird). > > This is what I'd expect for "self hosted" (target=build) > types of contexts and for being in a qemu context that looks > like the target. > > I'm not aware of another form of cross build for > FreeBSD ports. (I'd like to be able to do powerpc64 > and powerpc without a system qemu. User qemu does > not work for targeting powerpc64 or for powerpc.) > > > It seems that XCXX is supposed to replace CXX fully, considering that XCC replaces CC, and XCPP replaces CPP when compiling other ports. > > Can you provide evidence of this? Does the evidence > involve cross building where the X prefix is involved? > > > The error message for compiling rust with all of the above (XCC, XCXX, XCPP, CC, CXX, CPP) set is > > couldn't find required command: "c++" > > Does the environment not have a c++ command in a place > listed in path? Otherwise it should be found. > > > This error happens whether the port option for lang/rust is set to compile with llvm40 or the bundled version. > > This is affected by /usr/ports/Mk/Uses/compiler.mk and I think this problem affects ports compiled with c++ in the base system as well. > > > === > Mark Millard > markmi at dsl-only.net > > From owner-freebsd-toolchain@freebsd.org Sun Oct 29 07:48:13 2017 Return-Path: Delivered-To: freebsd-toolchain@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 7DDCDE5C920 for ; Sun, 29 Oct 2017 07:48:13 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-135.reflexion.net [208.70.210.135]) (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 400966FF0D for ; Sun, 29 Oct 2017 07:48:12 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 3710 invoked from network); 29 Oct 2017 07:48:06 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 29 Oct 2017 07:48:06 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sun, 29 Oct 2017 03:48:06 -0400 (EDT) Received: (qmail 30599 invoked from network); 29 Oct 2017 07:48:05 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 29 Oct 2017 07:48:05 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 39359EC7C1F; Sun, 29 Oct 2017 00:48:05 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports From: Mark Millard X-Priority: 3 In-Reply-To: Date: Sun, 29 Oct 2017 00:48:04 -0700 Cc: freebsd-toolchain@freebsd.org Content-Transfer-Encoding: quoted-printable Message-Id: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> References: To: Sid X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 07:48:13 -0000 On 2017-Oct-29, at 12:10 AM, Sid wrote: > This is not on Qemu, and I'm not cross-building. This is on an amd64 = on 11.1-RELEASE-p2. Base was built without clang or gcc, and clang40 was = installed from ports. >=20 > The base and kernel compile using lang/llvm40 with XCC, XCXX, and XCPP = set. I'm a little confused, as how earlier, it seemed that ports that = didn't need c++ were building without CC, CXX, and CPP options set. If = I made a mistake here, I apologize for this. It seems CC, CXX, and CPP = are made for ports. Then the problem is with Rust locating c++ that is = in /usr/local/bin/ and not contained within FreeBSD 11.1's base, in = /usr/bin/. >=20 > Nearly all programs requiring c++, needed for my desktop (xorg, = rxvt-unicode, leafpad, sox) compiled when all 6 variables were set = (CC,CPP, etc). Only Rust, and programs depending on it failed. Now I = think the problem is, that Rust and programs depending on it look in = absolute locations for c++. I'm afraid there is a clang++40 to find but no c++ to be found anywhere in your context based on what you have described. I have llvm50 installed instead of llvm40, so, that is what I'll use as an example for amd64 (head -r324743 ). . . # pkg info llvm50 llvm50-5.0.0_1 Name : llvm50 Version : 5.0.0_1 Installed on : Sun Sep 24 00:26:47 2017 PDT Origin : devel/llvm50 Architecture : FreeBSD:12:amd64 Prefix : /usr/local Categories : devel lang Licenses : LLVM Maintainer : brooks@FreeBSD.org WWW : http://llvm.org/ Comment : LLVM and Clang Options : CLANG : on COMPILER_RT : on DOCS : on EXTRAS : on GOLD : on LIT : on LLD : on LLDB : on OPENMP : on . . . But no command c++ is under /usr/local/ , there is just a directory of that name (from lang/gcc7 in my context): # find /usr/local -name c++ -print | more /usr/local/lib/gcc7/include/c++ Clang++50 is under its own name: # which clang++50 /usr/local/bin/clang++50 So without system clang (or system gcc 4.2.1) and only with llvm40 I expect that there is no c++ command at all. The issue would not be an overly-specific path: no path would work. Rust needs to not be looking for a c++ command at all. It needs to be using ${CXX} and the like that would need to involve clang++50 . But you can make a local workaround by creating your own c++ command someplace in the paths being checked, either linking to or copying clang++40 to produce the c++ . c++ might not be the only file needing such a technique. Prior material follows, nothing new so likely skip. . . > Sent: Sunday, October 29, 2017 at 12:11 AM > From: "Mark Millard" > To: Sid > Cc: freebsd-toolchain@freebsd.org > Subject: Re: External LLVM toolchain not consistently locating c++ = when compiling ports >=20 >=20 > On 2017-Oct-28, at 9:40 PM, Sid wrote: >=20 >> In /etc/make.conf, when I use, >> XCC=3D /usr/local/bin/clang40 >> XCXX=3D /usr/local/bin/clang++40 >> XCPP=3D /usr/local/bin/clang-cpp40 >> for ports that require c++ without clang in the base system, I get = the error code=20 >> make: "/usr/ports/Mk/Uses/compiler.mk" line 112:warning: "c++ -### = /dev/null 2>&1" returned non-zero status >=20 > Quoting https://wiki.freebsd.org/ExternalToolchain: >=20 > XCC >=20 > The XCC approach works with top level build targets (buildworld, = buildkernel, etc) and overrides common make variables such as CC, CXX, = and AS during the cross building portions of the build with values = specified by the XCC, XCPP, XAS, etc variables. This method touches few = files and is relatively easy to understand, but has drawbacks including = the inability to build individual programs easily.=20 >=20 > END QUOTE. >=20 > Does ports support "cross building" that would be expected to use > XCC, XCXX, XCPP, and the like? >=20 > To my knowledge there is no cross build environment for ports > that can avoid qemu (or an equivalent): cross builds of parts > are based on qemu, which use CC, CXX, CPP and the like as far > as I know. >=20 >> Base and the kernel builds well with this setting. Compiles that = don't need c++ also work with this setting. >=20 > Unlike for ports builds. (That is my understanding.) >=20 >> I've compensated by adding >> CC=3D /usr/local/bin/clang40 >> CXX=3D /usr/local/bin/clang++40 >> CPP=3D /usr/local/bin/clang-cpp40 >> to the above. While this works for many ports requiring c++, it = doesn't work for Rust, and programs that depend on it (Firefox, = Thunderbird). >=20 > This is what I'd expect for "self hosted" (target=3Dbuild) > types of contexts and for being in a qemu context that looks > like the target. >=20 > I'm not aware of another form of cross build for > FreeBSD ports. (I'd like to be able to do powerpc64 > and powerpc without a system qemu. User qemu does > not work for targeting powerpc64 or for powerpc.) >=20 >> It seems that XCXX is supposed to replace CXX fully, considering that = XCC replaces CC, and XCPP replaces CPP when compiling other ports. >=20 > Can you provide evidence of this? Does the evidence > involve cross building where the X prefix is involved? >=20 >> The error message for compiling rust with all of the above (XCC, = XCXX, XCPP, CC, CXX, CPP) set is >> couldn't find required command: "c++" >=20 > Does the environment not have a c++ command in a place > listed in path? Otherwise it should be found. >=20 >> This error happens whether the port option for lang/rust is set to = compile with llvm40 or the bundled version. >> This is affected by /usr/ports/Mk/Uses/compiler.mk and I think this = problem affects ports compiled with c++ in the base system as well. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sun Oct 29 07:51:04 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A5F74E5C9C6; Sun, 29 Oct 2017 07:51:04 +0000 (UTC) (envelope-from eddy.petrisor@gmail.com) Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c: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 39914700EB; Sun, 29 Oct 2017 07:51:04 +0000 (UTC) (envelope-from eddy.petrisor@gmail.com) Received: by mail-wm0-x22e.google.com with SMTP id r196so10514817wmf.2; Sun, 29 Oct 2017 00:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Lb6cPrku288FjcWMmeUpT0wLTfcsWbHkOepvE3ZJZ+8=; b=aHhjp0y9UF2G5anvlSIGXeSBBgA/f2Ji2AAMy//gPCyb5OrKZy+Y/qkITQIjvT9h7c WTIgEQJaQVCiDIVKZQ1VMUOHhcNMc2rD7ghbP/l/GCTZDL0GCphdokbFNO4Q0tTqhh2l FaGRGc4dKF7Zncxxthkbn7PxLNzykCrf4barBHZ1mt/IFoR6g444gYgFA7Do9VN44BeL hMJhdtigjZEGLgMzvw7oNyvPImq2FPIHJPi/BvEl/NYyxS+U14LG9p57/1rf5N29it13 sdNAzAr1U+TDxdEVGCAU6SoBWYUT5Dq9zmyoyZx48+Xqj++PcIQvSW6PQ0zD7G9uVh7y dWOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Lb6cPrku288FjcWMmeUpT0wLTfcsWbHkOepvE3ZJZ+8=; b=fC4gW7Og3pX4uqANvu2GmPYZ/5aV0ju2F5GOfp7XKqTsX3wx+C3ph6UooMVy8QpFnI 4A17UxNwlcq17xgqvVggfB9R52OfPmJL4Rx5SX3b9tyDqh2f0S4lGPEqsYRmp10BCEhC ZimVA4wDxbwvgLHXEEXUGftnpQlL40XsSBxqcJUBL2h6LKxZpojuGGHGrS8Fvl96bIPK QsCcvZn9zvYiLESfOkGP2eA5BF8p25FUgeffqQ2st6PuW74Fz9MpvABJhxO5BOZ/ZWyq BcgcbllY9RgAjwopR4m/u2fmTUAWH0Ns2hbuXl9xuJ/RtwR7dTnpi9j+VrQ5Jo2r8Ace Kt1Q== X-Gm-Message-State: AMCzsaX6WDSolEb3h1guSPpFhuCVovVJon/5lfb/xgL+4Y1MhwY0zjmx lMeVfWuGi5HdGJ5t2guBUc4EwLmk/8/+6rRWGaoD7s0n X-Google-Smtp-Source: ABhQp+RETvaIEKM2x8EM6kb6yv+IVX2+VvXXeUC9sUQfGMbs8t5Jl984GZkjFpMmT1t5oOnRmcJYV2684XQC9SRuw4U= X-Received: by 10.28.111.203 with SMTP id c72mr997561wmi.42.1509263461837; Sun, 29 Oct 2017 00:51:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.173.129 with HTTP; Sun, 29 Oct 2017 00:51:01 -0700 (PDT) In-Reply-To: <7CAFD8CC-BDA1-4E89-BD7E-D0089E27036F@dsl-only.net> References: <7CAFD8CC-BDA1-4E89-BD7E-D0089E27036F@dsl-only.net> From: =?UTF-8?Q?Eddy_Petri=C8=99or?= Date: Sun, 29 Oct 2017 09:51:01 +0200 Message-ID: Subject: Re: lib/clan/llvm.build.mk: Shouldn't BUILD_TRIPLE definition rely host 'cc -dumpmachine'? To: Mark Millard Cc: Dimitry Andric , freebsd-arm@freebsd.org, FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 07:51:04 -0000 Pe 28 oct. 2017 5:31 PM, "Mark Millard" a scris: On 2017-Oct-28, at 4:11 AM, Dimitry Andric wrote: > On 27 Oct 2017, at 08:23, Eddy Petri=C8=99or wrote: >> >> I am trying to make the FreeBSD code base build from a Linux host and >> found this bit which defines BUILD_TRIPLE in a way which to my >> untrained eyes look like overengineering. >> BUILD_TRIPLE?=3D >> ${BUILD_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-${VENDOR}-${OS_VERSION} > > I don't see much overengineering here? :) We simply trust BUILD_ARCH, > as it is passed in by the top-level Makefile.inc1. This is how most of > these down-level Makefiles work. Running all kinds of commands to > figure out architectures and the like should be avoided in such > Makefiles. I understand. The stage I am at is building a cross compiler for x86_64 Linux host and whatever TARGET was chosen through TARGET and TARGET_ARCH. >> To support a Linux host I made these changes that is using 'cc >> -dumpmachine' to get the correct BUILD_TRIPLE, > > Unfortunately, this is the wrong option to do so. The gcc manual says: > > -dumpmachine > Print the compiler=E2=80=99s target machine (for example, =E2=80=98i686-= pc-linux-gnu=E2=80=99) > -and don=E2=80=99t do anything else. Since my intention is to use the *host cc* to define the BUILD_TRIPLE on non-FreeBSD systems, this is exactly what I wanted to accomplish so the llvm/clang build will have the correct build triple for the foreign OS in LLVM_HOST_TRIPLE, just 3 lines lower than the BUILD_TRIPLE definition. Yep --and it is even more complicated: gcc vs. clang are sometimes different for the target listed. . . For example -m32 for amd64 changes the clang result: # clang -dumpmachine x86_64-unknown-freebsd12.0 .. # gcc7 -dumpmachine x86_64-portbld-freebsd12.0 Hmm, from these examples and the different vendor part, the answer for a BSD host compiler is clearly no. I also found it strange that the ABI part is forced to 'freebsd12.0' no matter if the host FreeBSD is head or older (e.g. 10.x or 11.x). I assume this correct because the legacy stage makes sure the compatibility shims are in place, correct? For non-FreeBSD host, the vendor part looks like will need to be forced to 'unknown' for my idea to work more reliably. > E.g, it prints the *target* tripe, not the build triple. My guess is that Eddy was depending on plain cc being a "self hosting" (target=3Dbuild) type of compiler command in his intended environment(s). 100% correct. This is trying to address the fact that using the OS_VERSION=3Dfreebsd12.0 defintion to define the host compiler ABI makes no sense for non-FreeBSD hosts, since the appropriate host ABI definitio could be 'linux-gnu', 'linux-gneabi', 'darwin11*' etc. Various linux distributions patch uname and its -p code (for example). Even for the same kernel being in use, giving different textual results. -m seemed more stable in my limited testing. Everyplace that uses uname probably needs to be reviewed for a possible re-work. BUILD_ARCH and its use is an example. Yes, I have some places where I made MACHINE* related changes, and a wrapper script to enforce some things to be correct for the Linux-host--FreeBSD-target scenario. See this wrapper, for example: https://github.com/eddyp/freebsd/blob/linux-fixes/Linux.sh >> but I am wondering if >> it shouldn't be OK for building on a FreeBSD host >> >> +BUILD_OS!=3D uname -s >> + > > Again, this should be set by the top-level Makefiles, not in this one. I am aware of that. For the purpose of focusing the thread on the 'is the host cc dumpmachine better at definig BUILD_TRIPLET' topic, I prefered to present code only with local modifications. My actual code is doing things like these: https://github.com/eddyp/freebsd/commit/caf7995fac43453f4f84 3cb15d1696283e12b783 >> What do you think, should the code be instead: [..] >> ${TARGET_ARCH:C/amd64/x86_64/:C/arm64/aarch64/}-${VENDOR}-${ OS_VERSION}${TARGET_ABI} >> +HOST_CC_DUMPMACHINE!=3D cc -dumpmachine >> +BUILD_TRIPLE?=3D ${HOST_CC_DUMPMACHINE} > > No, this is definitely incorrect, as stated above. It certainly would not be appropriate for general use on FreeBSD: more of a local workaround for an odd context, not a general solution. Assuming 'odd context=3DLinux host', would you see something wrong, except the need to overwrite the vendor part to 'unknown', if it exists? For instance on Debian/Ubuntu amd64 I have: eddy@feodora:~ $ uname -m ; uname -p ; uname -s ; uname -o ; uname -r x86_64 x86_64 Linux GNU/Linux 4.4.0-96-generic eddy@feodora:~ $ cc -dumpmachine x86_64-linux-gnu eddy@feodora:~$ cc --version cc (Ubuntu 5.4.0-6ubuntu1~16.04.5) 5.4.0 20160609 Copyright (C) 2015 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. And cc is actually pointing though the debian-alternatives mechanisms to gcc. eddy@feodora:~/usr/src/FreeBSD/freebsd$ ll `which cc` lrwxrwxrwx 1 root root 20 mar 1 2016 /usr/bin/cc -> /etc/alternatives/cc* eddy@feodora:~/usr/src/FreeBSD/freebsd$ ll /etc/alternatives/cc lrwxrwxrwx 1 root root 12 mar 1 2016 /etc/alternatives/cc -> /usr/bin/gcc= * Eddy From owner-freebsd-toolchain@freebsd.org Sun Oct 29 07:55:51 2017 Return-Path: Delivered-To: freebsd-toolchain@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 6D349E5CC03; Sun, 29 Oct 2017 07:55:51 +0000 (UTC) (envelope-from eddy.petrisor@gmail.com) Received: from mail-wr0-x235.google.com (mail-wr0-x235.google.com [IPv6:2a00:1450:400c:c0c::235]) (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 ED89F70365; Sun, 29 Oct 2017 07:55:50 +0000 (UTC) (envelope-from eddy.petrisor@gmail.com) Received: by mail-wr0-x235.google.com with SMTP id l1so9612732wrc.3; Sun, 29 Oct 2017 00:55:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=MlNtD5ZIF0gSAFXYG9Ri5MPoSH6wWWQ0nkNvpfU+8+M=; b=uFcUotkR0UnUYEdQpMSH2dnk4ZAYlq34i7CPFVCrHUZ/WOBiiN3E6Ztv8beNvv2YT2 MNHzUYiS5ef11hic0ofVfPnFqwLjeOlvM3XGnefeR3EUzC9INbrDwRsEwuDZDxVFoG9Z 2j487/HcJ0xbRgbu1KNBVTOYlBs0FgXoiYzJOXctwUugJgcy96rDlSHZzHvPsklwJfXP DguidS6faTIZFbYNUniOhI6lopDREkT4gV4+SYbWSw6T64BDD0oa89ZD3Y9zFjjl+tV0 qvJMOaqrFyK3g5xMtInL+WMK+vrQYmU5bW7ixlebOEtN1IdWCAvvCHmXIhr1I4j8okUU 7iZg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=MlNtD5ZIF0gSAFXYG9Ri5MPoSH6wWWQ0nkNvpfU+8+M=; b=LOV7zkPJd/yqy//FWaFr0vjJk5vTSftLl4ikwRmAoqr7tfIpzolw0kFJZT8uKgtIzV JivUOLtscuZYuqLqbDi2agdOMwdYHa2L1gl8Ra2Lczn846O0cX307SLMlemUUeJZKkn+ 5mVsxc88rxkFRax9uPtSvy+rTrMckHPC40PjDmGUOBns/zJ0ZGPXrZBlbl19ElyL3Svh RL5bYnpE9OTIuh9TeTfhqzWpI7MC2l5WgkehUPPPzhrT6I8GX8Plt8MtvPlCCIcSSnHw CFmRh/1mKrT6OYy4Ul3TmTynaVkU4beO03mYa73Ya5vmOtLn0+HRVFjKLQu1ZTKk9Jw5 2l4g== X-Gm-Message-State: AMCzsaUeuK4+TbJWOj5UmNi2jG6n9fLX4YC9il/zYVGIT28N6AWNkMoF MKvrmhM0Nb2VV6RhbJI8+oRVtFGjUgl8LCSHTpw= X-Google-Smtp-Source: ABhQp+SJar8iLCkfFJAdrBuuAYLap4DjmFzCfCMm4MiWVsDUbB70+8ceuM+h2lG198E8DaVOfFMLPWtcMo03WDPPRLY= X-Received: by 10.223.165.7 with SMTP id i7mr4304037wrb.155.1509263749378; Sun, 29 Oct 2017 00:55:49 -0700 (PDT) MIME-Version: 1.0 Received: by 10.223.173.129 with HTTP; Sun, 29 Oct 2017 00:55:48 -0700 (PDT) In-Reply-To: References: <7CAFD8CC-BDA1-4E89-BD7E-D0089E27036F@dsl-only.net> From: =?UTF-8?Q?Eddy_Petri=C8=99or?= Date: Sun, 29 Oct 2017 09:55:48 +0200 Message-ID: Subject: Re: lib/clan/llvm.build.mk: Shouldn't BUILD_TRIPLE definition rely host 'cc -dumpmachine'? To: Mark Millard Cc: Dimitry Andric , freebsd-arm@freebsd.org, FreeBSD Toolchain Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 07:55:51 -0000 2017-10-29 9:51 GMT+02:00 Eddy Petri=C8=99or : > Various linux distributions > > patch uname and its -p code (for > example). Even for the same kernel > being in use, giving different > textual results. -m seemed more > stable in my limited testing. > Everyplace that uses uname probably > needs to be reviewed for a possible > re-work. BUILD_ARCH and its use is > an example. > > (format correction, this should have appeared as if said by Mark, but by myself) Yes, I have some places where I made MACHINE* related changes, and a wrapper script to enforce some things to be correct for the Linux-host--FreeBSD-target scenario. See this wrapper, for example: https://github.com/eddyp/freebsd/blob/linux-fixes/Linux.sh Eddy Petri=C8=99or From owner-freebsd-toolchain@freebsd.org Sun Oct 29 09:46:33 2017 Return-Path: Delivered-To: freebsd-toolchain@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 1BE5EE5EDCC for ; Sun, 29 Oct 2017 09:46:33 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id D676D734EB for ; Sun, 29 Oct 2017 09:46:32 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] by 3c-app-mailcom-lxa14.server.lan (via HTTP); Sun, 29 Oct 2017 10:46:29 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: "Mark Millard" , freebsd-toolchain@freebsd.org Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports Content-Type: text/plain; charset=UTF-8 Date: Sun, 29 Oct 2017 10:46:29 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> References: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:FhI4WkLQgbyKsVSjmLXjWmPxybBGV0ycC1OSGDlxCh3 RL1PYLzey5pHGPfXMJWIRk8LxuDSdm3YiOawICPIKEm4CDni0g eWV5PvkeDZbTlKNkOCUmw5uNotz7K66Eq8shIUSqGDKBFvUAlI YtUZkjk7255YDf9tSo+uY3LOharz9VBe967BtgQ80yVgrPXzRJ FrSZb6Jkr+rxJ8lKO8Rs1qaVgyqOvhnFZuHbGKPNxKxuqHa6+c T1ZADwTdHPBRc1qH6d1JmYsHUBFV+duJtWZubq1GbQnAuWZ3fw i+Oyao= X-UI-Out-Filterresults: notjunk:1;V01:K0:IVCXwZ5g+3k=:l5qhMiRzlrAgoypSpChqam CxMJ1IwFPmVEMQX+R5jt9p2SYYUPnUR4gjI8Gw6VdMgF4zDLfyoPQgN+PT8XmGo/emNnsdYY3 yvcfCmXchjL5RFqmWqA8I2x1+L77UGglQC0jrAb5HzFQonf2sX3Wo861vsFFap3OMrVknT4Ww XI+dpmNUOuiPdk6UGZ9DuONP/PLOnX7Tfawvw1XXwjNehdALRNwHeBUlNSgY9U38u3/mmCPRG 5NbcJcY5A6rSP0DXz0YbMZwr+8iV6stwPgaIud/fe5hgu/lppL4RpOMuPaOygHIu6xU61+uaU aAgec2P70NRVq7I/G9TkWhTXJuCRQ4D84OiQI3rLrJRjrvFf9c6Bqf5NUuBvqh5hIeHSNjV53 RKTvwwfd86ALsg+0Qhu7n1BM3qfr8RH8WSuzGrJBiYLCKa+VzRBYQX/A8w00PKPD/3yX4mcJO Ej9kkKskIUJS21J9RJ/r6/HHLvAcq0s6mNvdsWwkq2ogVg505Cq7Hou8XA0+kW/xPf39wpP+a 9VCEQhVkvHQZSPpeYZuoVT8OTb30k+DtbCGNiFet8LV X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 09:46:33 -0000 Of course llvm50++ or llvm40++ as c++. The problem was naming. I've thought about using links before, but was worried to make too many changes like that. This time using llvm50, I've added two softlinks one in the directory of /usr/local/bin from c++ to clang++50, and in the directory of /usr/local/llvm50/bin/ from c++ to clang. This builds. It's not done yet, but I think this is it. I've added this to the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223009 . It is about aarch64, but this problem applies to many architectures. Thank you. > Sent: Sunday, October 29, 2017 at 2:48 AM > From: "Mark Millard" > To: Sid > Cc: freebsd-toolchain@freebsd.org > Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports > > > On 2017-Oct-29, at 12:10 AM, Sid wrote: > > > This is not on Qemu, and I'm not cross-building. This is on an amd64 on 11.1-RELEASE-p2. Base was built without clang or gcc, and clang40 was installed from ports. > > > > The base and kernel compile using lang/llvm40 with XCC, XCXX, and XCPP set. I'm a little confused, as how earlier, it seemed that ports that didn't need c++ were building without CC, CXX, and CPP options set. If I made a mistake here, I apologize for this. It seems CC, CXX, and CPP are made for ports. Then the problem is with Rust locating c++ that is in /usr/local/bin/ and not contained within FreeBSD 11.1's base, in /usr/bin/. > > > > Nearly all programs requiring c++, needed for my desktop (xorg, rxvt-unicode, leafpad, sox) compiled when all 6 variables were set (CC,CPP, etc). Only Rust, and programs depending on it failed. Now I think the problem is, that Rust and programs depending on it look in absolute locations for c++. > > I'm afraid there is a clang++40 to find but no c++ > to be found anywhere in your context based on what > you have described. > > I have llvm50 installed instead of llvm40, so, that is what > I'll use as an example for amd64 (head -r324743 ). . . > > # pkg info llvm50 > llvm50-5.0.0_1 > Name : llvm50 > Version : 5.0.0_1 > Installed on : Sun Sep 24 00:26:47 2017 PDT > Origin : devel/llvm50 > Architecture : FreeBSD:12:amd64 > Prefix : /usr/local > Categories : devel lang > Licenses : LLVM > Maintainer : brooks@FreeBSD.org > WWW : http://llvm.org/ > Comment : LLVM and Clang > Options : > CLANG : on > COMPILER_RT : on > DOCS : on > EXTRAS : on > GOLD : on > LIT : on > LLD : on > LLDB : on > OPENMP : on > . . . > > But no command c++ is under /usr/local/ , > there is just a directory of that name > (from lang/gcc7 in my context): > > # find /usr/local -name c++ -print | more > /usr/local/lib/gcc7/include/c++ > > Clang++50 is under its own name: > > # which clang++50 > /usr/local/bin/clang++50 > > So without system clang (or system gcc 4.2.1) and only > with llvm40 I expect that there is no c++ command at all. > The issue would not be an overly-specific path: no path > would work. > > Rust needs to not be looking for a c++ command at all. > It needs to be using ${CXX} and the like that would > need to involve clang++50 . > > But you can make a local workaround by creating your > own c++ command someplace in the paths being checked, > either linking to or copying clang++40 to produce the > c++ . c++ might not be the only file needing such > a technique. > > Prior material follows, nothing new so likely skip. . . > > > Sent: Sunday, October 29, 2017 at 12:11 AM > > From: "Mark Millard" > > To: Sid > > Cc: freebsd-toolchain@freebsd.org > > Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports > > > > > > On 2017-Oct-28, at 9:40 PM, Sid wrote: > > > >> In /etc/make.conf, when I use, > >> XCC= /usr/local/bin/clang40 > >> XCXX= /usr/local/bin/clang++40 > >> XCPP= /usr/local/bin/clang-cpp40 > >> for ports that require c++ without clang in the base system, I get the error code > >> make: "/usr/ports/Mk/Uses/compiler.mk" line 112:warning: "c++ -### /dev/null 2>&1" returned non-zero status ..... > > > >> Base and the kernel builds well with this setting. Compiles that don't need c++ also work with this setting. > > > > Unlike for ports builds. (That is my understanding.) ..... > >> I've compensated by adding > >> CC= /usr/local/bin/clang40 > >> CXX= /usr/local/bin/clang++40 > >> CPP= /usr/local/bin/clang-cpp40 > >> to the above. While this works for many ports requiring c++, it doesn't work for Rust, and programs that depend on it (Firefox, Thunderbird). ..... > >> The error message for compiling rust with all of the above (XCC, XCXX, XCPP, CC, CXX, CPP) set is > >> couldn't find required command: "c++" ..... > > Does the environment not have a c++ command in a place > > listed in path? Otherwise it should be found. ..... > >> This error happens whether the port option for lang/rust is set to compile with llvm40 or the bundled version. > >> This is affected by /usr/ports/Mk/Uses/compiler.mk and I think this problem affects ports compiled with c++ in the base system as well. > > > === > Mark Millard > markmi at dsl-only.net > > From owner-freebsd-toolchain@freebsd.org Sun Oct 29 09:51:17 2017 Return-Path: Delivered-To: freebsd-toolchain@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 6C6ACE5EFC6 for ; Sun, 29 Oct 2017 09:51:17 +0000 (UTC) (envelope-from se@freebsd.org) Received: from mailout12.t-online.de (mailout12.t-online.de [194.25.134.22]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 306C873A9E for ; Sun, 29 Oct 2017 09:51:17 +0000 (UTC) (envelope-from se@freebsd.org) Received: from fwd24.aul.t-online.de (fwd24.aul.t-online.de [172.20.26.129]) by mailout12.t-online.de (Postfix) with SMTP id 1C9C441DCE23 for ; Sun, 29 Oct 2017 10:51:09 +0100 (CET) Received: from Stefans-MBP-2.fritz.box (ZeoAlyZDZh-W8cEbN1XUHSh0kRrHGiMK+R-yujL09cQ9O8-6tGnHeaNt8f2TQ-IgxZ@[84.154.121.171]) by fwd24.t-online.de with (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384 encrypted) esmtp id 1e8kFI-3eob7g0; Sun, 29 Oct 2017 10:51:08 +0100 Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports To: freebsd-toolchain@freebsd.org References: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> From: Stefan Esser Message-ID: Date: Sun, 29 Oct 2017 10:51:07 +0100 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> Content-Type: text/plain; charset=windows-1252 Content-Language: en-GB Content-Transfer-Encoding: 7bit X-ID: ZeoAlyZDZh-W8cEbN1XUHSh0kRrHGiMK+R-yujL09cQ9O8-6tGnHeaNt8f2TQ-IgxZ X-TOI-MSGID: 312873bc-0440-4139-993d-619eca5a42f6 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Oct 2017 09:51:17 -0000 Am 29.10.17 um 08:48 schrieb Mark Millard: > So without system clang (or system gcc 4.2.1) and only > with llvm40 I expect that there is no c++ command at all. > The issue would not be an overly-specific path: no path > would work. > > Rust needs to not be looking for a c++ command at all. > It needs to be using ${CXX} and the like that would > need to involve clang++50 . > > But you can make a local workaround by creating your > own c++ command someplace in the paths being checked, > either linking to or copying clang++40 to produce the > c++ . c++ might not be the only file needing such > a technique. This situation should be covered by the new BINARY_ALIAS feature, which makes a symbolic link to some binary available under a new name and adds the location of that link to the PATH: https://svnweb.freebsd.org/ports?view=revision&revision=451772 In this particular case: BINARY_ALIAS c++=clang++50 Regards, STefan From owner-freebsd-toolchain@freebsd.org Mon Oct 30 17:15:30 2017 Return-Path: Delivered-To: freebsd-toolchain@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 0FD62E624BC for ; Mon, 30 Oct 2017 17:15:30 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from mout.gmx.com (mout.gmx.com [74.208.4.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mail.gmx.com", Issuer "thawte SSL CA - G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id BD0126B193; Mon, 30 Oct 2017 17:15:29 +0000 (UTC) (envelope-from sid@bsdmail.com) Received: from [108.70.50.7] by 3c-app-mailcom-lxa05.server.lan (via HTTP); Mon, 30 Oct 2017 18:15:23 +0100 MIME-Version: 1.0 Message-ID: From: Sid To: "Stefan Esser" , freebsd-toolchain@freebsd.org Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports Content-Type: text/plain; charset=UTF-8 Date: Mon, 30 Oct 2017 18:15:23 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <3E01A2C6-0728-4295-90AE-76A7CE5955EF@dsl-only.net> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:PD6S5QZpBhIj+i5/SOSTrF0lItE07L9qXYxx34GGMKF wk0N59zGWWQrdsT5HZvX1+EBPUo6WNBAKLEHqPhLh1kj4BBgjW DLQYaKBu6o1Cv2PwrqEYMuU1VvXzzuzijWF6ww1FeEQ0Bh+Qmq OomHBhNOpnlKWUJzQ4DsPKSDDGUYO7Ppu26YxjV1uYK6ie1HxJ DRwfQGopKot6+UHRYxQ03h4TeT9sKHAdST2J4vzCEepyDZIVBB CddB9n8+F6D2XCwcqusu0V9LwTa4sX/wn7Gs0iD8D5Eb5SlA04 mcXoxM= X-UI-Out-Filterresults: notjunk:1;V01:K0:O23T0f4bLXA=:ofRVMob1UGTCmI6DLSXb3M UWjvedes59Mk7HRDNv35IbimXjHB8iYKuCTlykHpU1CAGfTOP+CppE2xaEiVEOPC08eQFwy/G xM56ceXbvdadstCCcbnA4YqLZStV4UCS5x4bTg4g4WXG93KLvADecVtm9/VhynunNbSDXau/N 2U3XuEC21Q1tGvkkbeU9OAQl4E/M2bHe1l2/mzQXS1WQLJcjdXGfkpSDDc78u7QS+3hgpiy8B ROn4v8G0UAXEE5p5FoT5XpsNMK/SN2Nlu3bKnKCsPUoHdM4s0oz1qsuFsK0DQdxr3QeBS7K3t XHMf3NpNFjoDO6U6VOLrQ8aZMhBW9o4x9qF2ftYw6g/ulMAiV44KAOyA/2pO2NRBx/g8gfB34 3T0OC+vq5PLuYjQXw/6Q4mSgzqhSB4yK8has3+2QFcFeE2Wa1uAPIUGJbzf9NMa3ASMuVUxou YjbAi37CXK1oF7KgeTzrpfKrvv5wMrTnH3XEnoA9R/5B89RW1gWr+093aBChpk33Z1bh1GByq hb4gJS+Wfktf5aymsJ01P3c6llvT5qINA0jDXOUg61d X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 30 Oct 2017 17:15:30 -0000 > Sent: Sunday, October 29, 2017 at 4:52 AM > From: "Stefan Esser" > To: Sid > Subject: Re: External LLVM toolchain not consistently locating c++ when compiling ports > > Am 29.10.17 um 10:46 schrieb Sid: > > Of course llvm50++ or llvm40++ as c++. The problem was naming. I've thought about using links before, but was worried to make too many changes like that. This time using llvm50, I've added two softlinks one in the directory of /usr/local/bin from c++ to clang++50, and in the directory of /usr/local/llvm50/bin/ from c++ to clang. This builds. It's not done yet, but I think this is it. I've added this to the bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223009 . It is about aarch64, but this problem applies to many architectures. Thank you. > > See BINARY_ALIAS in bsd.port.mk: > > https://svnweb.freebsd.org/ports?view=revision&revision=451772 > > Regards, STefan > As Mr. Millard suggested, this goes into /etc/make.conf BINARY_ALIAS= I've tried BINARY_ALIAS= c++=clang++50 BINARY_ALIAS= /usr/local/bin/c++=/usr/local/bin/clang++50 /usr/local/llvm50/bin/c++=/usr/local/llvm50/bin/clang-5.0 and the second example without the first "/" before "usr" There are two different targets from c++ in two directories (as in the examples; in /usr/local/llvm50/bin/, clang++ links to clang-5.0). I've tried this with the examples above, and it didn't work. There's more to BINARY_ALIAS. The soft links I've used for both directories, ln -s clang++50 c++, and ln -s clang-5.0 c++, have worked for compiling rust. It was mentioned in a bug report, but I'm emailing the maintainers of rust. Thank you From owner-freebsd-toolchain@freebsd.org Tue Oct 31 03:23:03 2017 Return-Path: Delivered-To: freebsd-toolchain@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 0CD74E4B75D for ; Tue, 31 Oct 2017 03:23:03 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 EF783AEF for ; Tue, 31 Oct 2017 03:23:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9V3N2jP053423 for ; Tue, 31 Oct 2017 03:23:02 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223333] science/simlib: crashes nm(1) during build Date: Tue, 31 Oct 2017 03:23:03 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 31 Oct 2017 03:23:03 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223333 Jan Beich changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-toolchain@FreeBSD.o | |rg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Tue Oct 31 03:42:10 2017 Return-Path: Delivered-To: freebsd-toolchain@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 88DACE4C35D for ; Tue, 31 Oct 2017 03:42:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 76A8716E1 for ; Tue, 31 Oct 2017 03:42:10 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v9V3gAcs096432 for ; Tue, 31 Oct 2017 03:42:10 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223333] science/simlib: crashes nm(1) during build Date: Tue, 31 Oct 2017 03:42:10 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: regression X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jbeich@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 31 Oct 2017 03:42:10 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223333 --- Comment #1 from Jan Beich --- binutils 2.28 and elftoolchain r3477M can demangle the file just fine. --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Thu Nov 2 22:44:49 2017 Return-Path: Delivered-To: freebsd-toolchain@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 D80B5E647E3 for ; Thu, 2 Nov 2017 22:44:49 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-146.reflexion.net [208.70.210.146]) (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 7C5D96C9A5 for ; Thu, 2 Nov 2017 22:44:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 5487 invoked from network); 2 Nov 2017 22:44:42 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 2 Nov 2017 22:44:42 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 02 Nov 2017 18:44:42 -0400 (EDT) Received: (qmail 21718 invoked from network); 2 Nov 2017 22:44:41 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 2 Nov 2017 22:44:41 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 41B25EC94E6; Thu, 2 Nov 2017 15:44:41 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools Message-Id: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> Date: Thu, 2 Nov 2017 15:44:40 -0700 Cc: Bryan Drewery To: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Nov 2017 22:44:50 -0000 > Author: bdrewery > Date: Thu Nov 2 22:23:00 2017 > New Revision: 325347 > URL:=20 > https://svnweb.freebsd.org/changeset/base/325347 >=20 >=20 > Log: > Something is very wrong >=20 > Modified: > head/Makefile >=20 > Modified: head/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) > +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) > @@ -1,3 +1,4 @@ > +.error Bad revision, please wait for a fix in head > # > # $FreeBSD$ > # I just happened to have started a cross build before this showed up based on -r325332 . It got: --- clang-tblgen.full --- c++: error: no such file or directory: = '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/= clang/libllvmminimal/libllvmminimal.a' *** [clang-tblgen.full] Error code 1 But find shows: # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name = "libllvmminimal*" -print | more = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta Comparing side-by-side shows obj-cross-tools vs. obj-bootstrap-tools : = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Fri Nov 3 00:30:28 2017 Return-Path: Delivered-To: freebsd-toolchain@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 4CF1EE66586; Fri, 3 Nov 2017 00:30:28 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C1AF6F3F3; Fri, 3 Nov 2017 00:30:28 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 6240F14DE1; Fri, 3 Nov 2017 00:30:27 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 58E1A8AE4; Fri, 3 Nov 2017 00:30:26 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id gp51ZhQqtdKG; Fri, 3 Nov 2017 00:30:21 +0000 (UTC) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 68ADC8ADD To: Mark Millard , FreeBSD Toolchain , freebsd-hackers , FreeBSD Current References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> From: Bryan Drewery Organization: FreeBSD Message-ID: Date: Thu, 2 Nov 2017 17:30:00 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Qrq8DvtoUV5tu1PN5lkApOG2X74FTHLmF" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 00:30:28 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Qrq8DvtoUV5tu1PN5lkApOG2X74FTHLmF Content-Type: multipart/mixed; boundary="cUqMJNwpsd8dWLOGNh6NqqSsT6VfseP2I"; protected-headers="v1" From: Bryan Drewery To: Mark Millard , FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Message-ID: Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> In-Reply-To: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> --cUqMJNwpsd8dWLOGNh6NqqSsT6VfseP2I Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/2/17 3:44 PM, Mark Millard wrote: >> Author: bdrewery >> Date: Thu Nov 2 22:23:00 2017 >> New Revision: 325347 >> URL:=20 >> https://svnweb.freebsd.org/changeset/base/325347 >> >> >> Log: >> Something is very wrong >> >> Modified: >> head/Makefile >> >> Modified: head/Makefile >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >> @@ -1,3 +1,4 @@ >> +.error Bad revision, please wait for a fix in head >> # >> # $FreeBSD$ >> # >=20 > I just happened to have started a cross build before > this showed up based on -r325332 . It got: >=20 > --- clang-tblgen.full --- > c++: error: no such file or directory: '/usr/obj/bpim3_clang/arm.armv7/= usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvmmin= imal.a' > *** [clang-tblgen.full] Error code 1 Someone else reported this one as well but I have not been able to reproduce it yet. I've tweaked the commit causing it though, r325329. Fixed in r325350. >=20 > But find shows: >=20 > # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libllvmm= inimal*" -print | more > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tool= s/lib/clang/libllvmminimal > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tool= s/lib/clang/libllvmminimal/libllvmminimal.a > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tool= s/lib/clang/libllvmminimal/libllvmminimal.a.meta >=20 > Comparing side-by-side shows obj-cross-tools vs. > obj-bootstrap-tools : >=20 > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/li= b/clang/libllvmminimal/libllvmminimal.a > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tool= s/lib/clang/libllvmminimal/libllvmminimal.a >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 --=20 Regards, Bryan Drewery --cUqMJNwpsd8dWLOGNh6NqqSsT6VfseP2I-- --Qrq8DvtoUV5tu1PN5lkApOG2X74FTHLmF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAln7uIgACgkQNddxu25G l8+gVQgAy8F3o6wYr1bZ81xX58KcGXOCqQkNUNqQi0RNUSGiQJwo7aXhdB/XV0jY xcO8oRqeGAVhlv+IBTS7gcGBzsHxQZhm7lgnE8u5r/u/iqyb+LzW+B+XF56T8wxq Uymjm9NP+7z2i9thJEoa0QZhwVi/TXhgzZCAObJrnK9miqaYi3jD//xI/sPs6j4x uiy/p3UYk/NTRZqw1UKdDaQOCdCLwzZEduenl5iiSJZOqx4eY4U+Ai/WC35kDXK0 RwT1kZkSMFG/3yAUDRZ7RI/WFT+ymNKnHJqo0d5Regxp64wolc3Ck+ef2cXFszu+ 4LjMxnudnXR11+DbuIjAgorJ/Ce68w== =lR3v -----END PGP SIGNATURE----- --Qrq8DvtoUV5tu1PN5lkApOG2X74FTHLmF-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 01:25:43 2017 Return-Path: Delivered-To: freebsd-toolchain@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 53782E675F3; Fri, 3 Nov 2017 01:25:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 2D82170B87; Fri, 3 Nov 2017 01:25:43 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 495B715464; Fri, 3 Nov 2017 01:25:42 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 3781B8C13; Fri, 3 Nov 2017 01:25:41 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id LG-q095ng8gm; Fri, 3 Nov 2017 01:25:33 +0000 (UTC) DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com F15978C05 From: Bryan Drewery Mime-Version: 1.0 (1.0) Subject: Head build unsafe for /etc today Message-Id: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> Date: Thu, 2 Nov 2017 18:25:24 -0700 To: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current X-Mailer: iPhone Mail (15A402) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 01:25:43 -0000 On Nov 2, 2017, at 15:44, Mark Millard wrote: >> Author: bdrewery >> Date: Thu Nov 2 22:23:00 2017 >> New Revision: 325347 >> URL:=20 >> https://svnweb.freebsd.org/changeset/base/325347 >>=20 >>=20 >> Log: >> Something is very wrong Unfortunately I only test with META_MODE these days which implies -DNO_CLEAN= . In the =E2=80=9Cclean=E2=80=9D builds it was removing /sys/boot and /etc, bu= t nothing else in /. The problems have been fixed in head as of r325351. The problem came in r325330. This was in head for ~10 hours. Sorry for the trouble. >>=20 >> Modified: >> head/Makefile >>=20 >> Modified: head/Makefile >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D >> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >> @@ -1,3 +1,4 @@ >> +.error Bad revision, please wait for a fix in head >> # >> # $FreeBSD$ >> # >=20 > I just happened to have started a cross build before > this showed up based on -r325332 . It got: >=20 > --- clang-tblgen.full --- > c++: error: no such file or directory: '/usr/obj/bpim3_clang/arm.armv7/usr= /src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvmminimal.a= ' > *** [clang-tblgen.full] Error code 1 >=20 > But find shows: >=20 > # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libllvmmini= mal*" -print | more > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta >=20 > Comparing side-by-side shows obj-cross-tools vs. > obj-bootstrap-tools : >=20 > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a > /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 From owner-freebsd-toolchain@freebsd.org Fri Nov 3 01:49:13 2017 Return-Path: Delivered-To: freebsd-toolchain@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 9543EE67DA6; Fri, 3 Nov 2017 01:49:13 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 7559171651; Fri, 3 Nov 2017 01:49:13 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id vA31n7KI088560 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 2 Nov 2017 18:49:07 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id vA31n7Og088559; Thu, 2 Nov 2017 18:49:07 -0700 (PDT) (envelope-from sgk) Date: Thu, 2 Nov 2017 18:49:07 -0700 From: Steve Kargl To: Bryan Drewery Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Subject: Re: Head build unsafe for /etc today Message-ID: <20171103014907.GA88522@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 01:49:13 -0000 On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote: > > On Nov 2, 2017, at 15:44, Mark Millard wrote: > > >> Author: bdrewery > >> Date: Thu Nov 2 22:23:00 2017 > >> New Revision: 325347 > >> URL: > >> https://svnweb.freebsd.org/changeset/base/325347 > >> > >> > >> Log: > >> Something is very wrong > > > Unfortunately I only test with META_MODE these days which implies -DNO_CLEAN. You're making changes to the build infrastructure and you're not properly testing it before committing? This is beyond pointyhat material. -- Steve From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:08:59 2017 Return-Path: Delivered-To: freebsd-toolchain@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 AB99FE68264; Fri, 3 Nov 2017 02:08:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 84EED71E63; Fri, 3 Nov 2017 02:08:59 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id C2F83159F9; Fri, 3 Nov 2017 02:08:58 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id E2D9F8CDA; Fri, 3 Nov 2017 02:08:57 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id NI2NPZ_HYrkt; Fri, 3 Nov 2017 02:08:53 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com DC3778CD7 Mime-Version: 1.0 (1.0) Subject: Re: Head build unsafe for /etc today From: Bryan Drewery X-Mailer: iPhone Mail (15A402) In-Reply-To: <20171103014907.GA88522@troutmask.apl.washington.edu> Date: Thu, 2 Nov 2017 19:08:50 -0700 Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> To: sgk@troutmask.apl.washington.edu X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:08:59 -0000 > On Nov 2, 2017, at 18:49, Steve Kargl w= rote: >=20 >> On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote: >>=20 >> On Nov 2, 2017, at 15:44, Mark Millard wrote: >>=20 >>>> Author: bdrewery >>>> Date: Thu Nov 2 22:23:00 2017 >>>> New Revision: 325347 >>>> URL:=20 >>>> https://svnweb.freebsd.org/changeset/base/325347 >>>>=20 >>>>=20 >>>> Log: >>>> Something is very wrong >>=20 >>=20 >> Unfortunately I only test with META_MODE these days which implies -DNO_CL= EAN. >=20 > You're making changes to the build infrastructure and you're > not properly testing it before committing? This is beyond > pointyhat material.=20 I ran 2 universes, dozens of buildworlds and buildkernels, dozens of install= world and installkernel, several xdev and native-xtools, several full DIRDEP= S_BUILD builds and bootstraps, ran subdir builds, ran subdir cleans, tested s= everal targets together, ran various special case tests for submakes, played= around with a ton of MAKEOBJDIRPREFIX cases, handled and tested symlinked o= bjdirs special, ran it through my work repro a few times, did special testin= g in rescue/, and had a volunteer test release. In the process I found a b= make bug, GPL_DTC build bug and several others I don=E2=80=99t recall from t= he bus. What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because I forgot it= even exists. I=E2=80=99ve wanted to remove it for a year. I also forgot to t= est buildenv. By the way the bug ran into here was 3-4 years old and I avoided the exact c= ase in some new code but missed that the problem was already existing subtly= in bsd.obj.mk. Having said all of that, I certainly don=E2=80=99t do so much testing normal= ly but these changes warranted the time I put in. >=20 > --=20 > Steve From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:23:29 2017 Return-Path: Delivered-To: freebsd-toolchain@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 0C34DE68A8C; Fri, 3 Nov 2017 02:23:29 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E17C4727EC; Fri, 3 Nov 2017 02:23:28 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id vA32NRsp088749 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 2 Nov 2017 19:23:27 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id vA32NRCr088748; Thu, 2 Nov 2017 19:23:27 -0700 (PDT) (envelope-from sgk) Date: Thu, 2 Nov 2017 19:23:27 -0700 From: Steve Kargl To: Bryan Drewery Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Subject: Re: Head build unsafe for /etc today Message-ID: <20171103022327.GA88659@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:23:29 -0000 On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: > > > > On Nov 2, 2017, at 18:49, Steve Kargl wrote: > > > >> On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote: > >> > >> On Nov 2, 2017, at 15:44, Mark Millard wrote: > >> > >>>> Author: bdrewery > >>>> Date: Thu Nov 2 22:23:00 2017 > >>>> New Revision: 325347 > >>>> URL: > >>>> https://svnweb.freebsd.org/changeset/base/325347 > >>>> > >>>> > >>>> Log: > >>>> Something is very wrong > >> > >> > >> Unfortunately I only test with META_MODE these days which implies -DNO_CLEAN. > > > > You're making changes to the build infrastructure and you're > > not properly testing it before committing? This is beyond > > pointyhat material. > > I ran 2 universes, dozens of buildworlds and buildkernels, dozens of installworld and installkernel, several xdev and native-xtools, several full DIRDEPS_BUILD builds and bootstraps, ran subdir builds, ran subdir cleans, tested several targets together, ran various special case tests for submakes, played around with a ton of MAKEOBJDIRPREFIX cases, handled and tested symlinked objdirs special, ran it through my work repro a few times, did special testing in rescue/, and had a volunteer test release. In the process I found a bmake bug, GPL_DTC build bug and several others I don’t recall from the bus. > > What I missed was the “clean” buildworld because I forgot it even exists. I’ve wanted to remove it for a year. I also forgot to test buildenv. > If you did all the above under META_MODE, then no you did not buildworld and buildkernel and all the other stuff you claim. If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent in whatever jail you use, then you're not properly testing your changes to the build infrastructure. As you have demonstrated, Makefile, Makefile.inc1, and the *.mk files are sufficiently complicated that proper testing should be done, and proper testing means one doesn't takes shortcuts. -- Steve From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:36:54 2017 Return-Path: Delivered-To: freebsd-toolchain@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 D8F7CE68EC1; Fri, 3 Nov 2017 02:36:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 942F372DE3; Fri, 3 Nov 2017 02:36:54 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Received: from FreeBSD.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id A981215E28; Fri, 3 Nov 2017 02:36:53 +0000 (UTC) (envelope-from gjb@FreeBSD.org) Date: Fri, 3 Nov 2017 02:36:51 +0000 From: Glen Barber To: Steve Kargl Cc: Bryan Drewery , FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Subject: Re: Head build unsafe for /etc today Message-ID: <20171103023651.GC34123@FreeBSD.org> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="DIOMP1UsTsWJauNi" Content-Disposition: inline In-Reply-To: <20171103022327.GA88659@troutmask.apl.washington.edu> User-Agent: Mutt/1.8.2 (2017-04-18) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:36:55 -0000 --DIOMP1UsTsWJauNi Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 02, 2017 at 07:23:27PM -0700, Steve Kargl wrote: > On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: > > > On Nov 2, 2017, at 18:49, Steve Kargl wrote: > > > You're making changes to the build infrastructure and you're > > > not properly testing it before committing? This is beyond > > > pointyhat material.=20 > >=20 > > I ran 2 universes, dozens of buildworlds and buildkernels, > > dozens of installworld and installkernel, several xdev and > > native-xtools, several full DIRDEPS_BUILD builds and bootstraps, > > ran subdir builds, ran subdir cleans, tested several targets together, > > ran various special case tests for submakes, played around with a > > ton of MAKEOBJDIRPREFIX cases, handled and tested symlinked objdirs > > special, ran it through my work repro a few times, did special > > testing in rescue/, and had a volunteer test release. In the process > > I found a bmake bug, GPL_DTC build bug and several others I don=E2=80= =99t > > recall from the bus. > >=20 > > What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because I forg= ot it > > even exists. I=E2=80=99ve wanted to remove it for a year. I also forgot= to > > test buildenv. > >=20 >=20 > If you did all the above under META_MODE, then no you did not=20 > buildworld and buildkernel and all the other stuff you claim. > If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent > in whatever jail you use, then you're not properly testing=20 > your changes to the build infrastructure. I did test this, personally, and missed it. > As you have demonstrated, > Makefile, Makefile.inc1, and the *.mk files are sufficiently=20 > complicated that proper testing should be done, and proper=20 > testing means one doesn't takes shortcuts. >=20 Mistakes happen. Things sometimes get accidentally missed. Glen --DIOMP1UsTsWJauNi Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEjRJAPC5sqwhs9k2jAxRYpUeP4pMFAln71j4ACgkQAxRYpUeP 4pNCcg/+MYE8KZ7MuCX+sO+Alc0QISpF5JosxGS8FukLMEb1oKM14ad9xChSRKHZ fHgm+1yehr5ENrRBGw76RMsAQBt/UjQjHTVtA/x9wU+sWcSgcRMp5BQzur7WM/Yf R5fiau5YvFFJdNm6igrh2hSEgNSp7WznSGOm6bcIk8rS1dxBsRvjLcdXa1HBgudY uR3mysZyy3pG1ZPh7k3Wtv+4eziDnkffv5rJQBVgCPHFu3jT67ctPq8lu2hEeyCk uxA3pISrqTFvdIczKXkUpcL9yaECCth/Lstcr68e0byKx4KvdyRW9/7x7NCNYes8 EXGiFu5YXBmdLr9onQ0LybkhGFjIo6xfRf+r8q9ge8XNO9Ar7D2UeyU4tiJx3g5L xHn/PzkkLg1f4Q8Pd1r86vXNBAI6CJmDQEpBR2ascT3Q7bPSLcPXuDE1VXpeoEeN Py0fjP41BdHli2XJo0jc7qBxsX8pQ5BjR9kbx3UBjUTZDORHRSj7THEkwv6kQgHx UCVIeAepty402yQJgBzgar2HQ+nd9zznliTPtygn42zaIOvTAWqAvYP+7DGBw0cR bS6TOXgt0MBDR5p1Hf9EdYeB5n4owwcsU0V2tBDC/uvoE8w6r9Gw8dH6GIzkXp1c fODMpzsoGg83i8MgslbelsQQKQrCZiywsByZkrlJLZ8tkZAZjlg= =DwAh -----END PGP SIGNATURE----- --DIOMP1UsTsWJauNi-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:41:46 2017 Return-Path: Delivered-To: freebsd-toolchain@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 67300E69221; Fri, 3 Nov 2017 02:41:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 411577329B; Fri, 3 Nov 2017 02:41:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 86D1215FB6; Fri, 3 Nov 2017 02:41:45 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 712E88E48; Fri, 3 Nov 2017 02:41:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id zildTF2mjAJd; Fri, 3 Nov 2017 02:41:41 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 252538E45 Mime-Version: 1.0 (1.0) Subject: Re: Head build unsafe for /etc today From: Bryan Drewery X-Mailer: iPhone Mail (15A402) In-Reply-To: <20171103022327.GA88659@troutmask.apl.washington.edu> Date: Thu, 2 Nov 2017 19:41:21 -0700 Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> To: sgk@troutmask.apl.washington.edu X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:41:46 -0000 > On Nov 2, 2017, at 19:23, Steve Kargl w= rote: >=20 >> On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: >>=20 >>=20 >>>> On Nov 2, 2017, at 18:49, Steve Kargl wrote: >>>>=20 >>>> On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote: >>>>=20 >>>> On Nov 2, 2017, at 15:44, Mark Millard wrote: >>>>=20 >>>>>> Author: bdrewery >>>>>> Date: Thu Nov 2 22:23:00 2017 >>>>>> New Revision: 325347 >>>>>> URL:=20 >>>>>> https://svnweb.freebsd.org/changeset/base/325347 >>>>>>=20 >>>>>>=20 >>>>>> Log: >>>>>> Something is very wrong >>>>=20 >>>>=20 >>>> Unfortunately I only test with META_MODE these days which implies -DNO_= CLEAN. >>>=20 >>> You're making changes to the build infrastructure and you're >>> not properly testing it before committing? This is beyond >>> pointyhat material.=20 >>=20 >> I ran 2 universes, dozens of buildworlds and buildkernels, dozens of inst= allworld and installkernel, several xdev and native-xtools, several full DIR= DEPS_BUILD builds and bootstraps, ran subdir builds, ran subdir cleans, test= ed several targets together, ran various special case tests for submakes, pl= ayed around with a ton of MAKEOBJDIRPREFIX cases, handled and tested symlink= ed objdirs special, ran it through my work repro a few times, did special te= sting in rescue/, and had a volunteer test release. In the process I found= a bmake bug, GPL_DTC build bug and several others I don=E2=80=99t recall fr= om the bus. >>=20 >> What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because I forgot= it even exists. I=E2=80=99ve wanted to remove it for a year. I also forgot t= o test buildenv. >>=20 >=20 > If you did all the above under META_MODE, then no you did not=20 > buildworld and buildkernel and all the other stuff you claim. Are you accusing me of lying? > If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent > in whatever jail you use, then you're not properly testing=20 > your changes to the build I did that probably 100 times. And that isn=E2=80=99t even =E2=80=9Cthe prop= er test=E2=80=9D. Both clean and incremental are needed which I did. zfs sna= pshots help a lot there. I just never ran =E2=80=9C_cleanobj=E2=80=9D which d= oes a full tree walk of clean. But I ran make clean in some subdirs many tim= es. > infrastructure. As you have demonstrated, > Makefile, Makefile.inc1, and the *.mk files are sufficiently=20 > complicated that proper testing > should be done, and proper=20 > testing means one doesn't takes shortcuts. I took 0 shortcuts. As I said I *forgot* that case, among hundreds of cases.= You=E2=80=99re welcome to do this work if you want. I guarantee you would no= t have tested even half of what I tested.=20 Hey can you fix universe to only build clang once please? I=E2=80=99ve been w= orking up to that but I think you=E2=80=99re best to do it. >=20 > --=20 > Steve From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:43:46 2017 Return-Path: Delivered-To: freebsd-toolchain@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 1013AE693F4; Fri, 3 Nov 2017 02:43:46 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B61AD735BF; Fri, 3 Nov 2017 02:43:45 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 02803160F6; Fri, 3 Nov 2017 02:43:45 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 2C4D58E5E; Fri, 3 Nov 2017 02:43:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id Hm_3bVnWKcT5; Fri, 3 Nov 2017 02:43:41 +0000 (UTC) Content-Type: text/plain; charset=utf-8 DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 497448E5B Mime-Version: 1.0 (1.0) Subject: Re: Head build unsafe for /etc today From: Bryan Drewery X-Mailer: iPhone Mail (15A402) In-Reply-To: <20171103023651.GC34123@FreeBSD.org> Date: Thu, 2 Nov 2017 19:43:20 -0700 Cc: Steve Kargl , FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <20171103023651.GC34123@FreeBSD.org> To: Glen Barber X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:43:46 -0000 > On Nov 2, 2017, at 19:36, Glen Barber wrote: >=20 >> On Thu, Nov 02, 2017 at 07:23:27PM -0700, Steve Kargl wrote: >> On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: >>>> On Nov 2, 2017, at 18:49, Steve Kargl wrote: >>>> You're making changes to the build infrastructure and you're >>>> not properly testing it before committing? This is beyond >>>> pointyhat material.=20 >>>=20 >>> I ran 2 universes, dozens of buildworlds and buildkernels, >>> dozens of installworld and installkernel, several xdev and >>> native-xtools, several full DIRDEPS_BUILD builds and bootstraps, >>> ran subdir builds, ran subdir cleans, tested several targets together, >>> ran various special case tests for submakes, played around with a >>> ton of MAKEOBJDIRPREFIX cases, handled and tested symlinked objdirs >>> special, ran it through my work repro a few times, did special >>> testing in rescue/, and had a volunteer test release. In the process >>> I found a bmake bug, GPL_DTC build bug and several others I don=E2=80=99= t >>> recall from the bus. >>>=20 >>> What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because I forgo= t it >>> even exists. I=E2=80=99ve wanted to remove it for a year. I also forgot t= o >>> test buildenv. >>>=20 >>=20 >> If you did all the above under META_MODE, then no you did not=20 >> buildworld and buildkernel and all the other stuff you claim. >> If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent >> in whatever jail you use, then you're not properly testing=20 >> your changes to the build infrastructure. >=20 > I did test this, personally, and missed it. To be fair you didn=E2=80=99t test the AUTO_OBJ piece but did test the much m= ore riskier changes to objdir handling. Thanks for that. >> As you have demonstrated, >> Makefile, Makefile.inc1, and the *.mk files are sufficiently=20 >> complicated that proper testing should be done, and proper=20 >> testing means one doesn't takes shortcuts. >>=20 >=20 > Mistakes happen. Things sometimes get accidentally missed. >=20 > Glen >=20 From owner-freebsd-toolchain@freebsd.org Fri Nov 3 02:46:09 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A44E1E695DC for ; Fri, 3 Nov 2017 02:46:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 677BF7385C for ; Fri, 3 Nov 2017 02:46:09 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x232.google.com with SMTP id f20so3299413ioj.9 for ; Thu, 02 Nov 2017 19:46:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=itWTTX9c3DyQmal3w4PwTj84lYg35nAVNJVnPqYrFdw=; b=oAOF9SJL1PAZuUivSpzKa29PMXgDSiW99bJo7hvlBvMjqIWwrDFXOb9/dpQ1dgwUPx /EjWtRsILwFx5ahr9ojOcaoF11FxD9y8yrq6vlBYhlSQAb1zN2wnljj4/bsA4G5Rq177 IC9YqvnuK9ELUlgsZKO56LOAN6JfcCKe0NwUJZRF+p0Z6ivyNSr/zohES6O6ixB/r4bI D7J98aktOVdW7ppYlobeE24b1/FOTa9dhKuP5hVkrR+OSemZZ5mH5s/dwP36ZaZRSNWs OnnIBowy/eklMnVSj/HsOAfCysfEiEgtBCWiMHTjea3T1WaIhJ8vmeF+xIi9K+EbvsZ8 z/nw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=itWTTX9c3DyQmal3w4PwTj84lYg35nAVNJVnPqYrFdw=; b=Rdd2t7leTkRn68ppJDIlRtAw2ofwfCrJIB0t7Z2/eQxLSmswDsC4ekpnQk2JHp6XQa LqpjaKYrb/8HF2+/nbfzS1E32JCsgTh+thWGDos7pwZM36nlBckA5Vz6aP4k2NXr3LyU 8IeNjmrWUu8dUbZsOLbaWHeTu7RNvyV6v0n2ca1QclRA5fd2IpnuXj8u6d2v66uSNvwG Xmy+6zUYRdWgcD0Edo+GP5A5ILolb+4i+D0d9aoCcuPR0npzA9hyvMUjbxJT4gMeykD6 Rgwjn0cMCpiHPO85W+iN3w0Csq5u/FIz0xQ08GMjnKhZzdJPml8KbOtmITdZpGSpehkb APGw== X-Gm-Message-State: AJaThX4UTN/Zg31I6qkg0ulP43FI/ZzbOeOH/pQJeCljes+BWCzGlBO9 S14RTBv9myERvyLaDs5LH1Npl4EiSozjaHEGMzIhvA== X-Google-Smtp-Source: ABhQp+QccZO6vu3Tl5MHjM7ak6/PvwReGJ1moQ0X0DPvM9L1L764bptPvejXlOwOrX8IfKOGGqraphqiZ6XS6eKPUzM= X-Received: by 10.107.52.134 with SMTP id b128mr7261724ioa.291.1509677168605; Thu, 02 Nov 2017 19:46:08 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.57.22 with HTTP; Thu, 2 Nov 2017 19:46:07 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:a004:68c9:b567:b3a8] In-Reply-To: <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> From: Warner Losh Date: Thu, 2 Nov 2017 20:46:07 -0600 X-Google-Sender-Auth: 5wZ40yowwbjgdom3Qo4ypLN2NWU Message-ID: Subject: Re: Head build unsafe for /etc today To: Bryan Drewery Cc: Steve Kargl , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 02:46:09 -0000 On Thu, Nov 2, 2017 at 8:41 PM, Bryan Drewery wrote: > > > > On Nov 2, 2017, at 19:23, Steve Kargl > wrote: > > > >> On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: > >> > >> > >>>> On Nov 2, 2017, at 18:49, Steve Kargl edu> wrote: > >>>> > >>>> On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote: > >>>> > >>>> On Nov 2, 2017, at 15:44, Mark Millard wrote: > >>>> > >>>>>> Author: bdrewery > >>>>>> Date: Thu Nov 2 22:23:00 2017 > >>>>>> New Revision: 325347 > >>>>>> URL: > >>>>>> https://svnweb.freebsd.org/changeset/base/325347 > >>>>>> > >>>>>> > >>>>>> Log: > >>>>>> Something is very wrong > >>>> > >>>> > >>>> Unfortunately I only test with META_MODE these days which implies > -DNO_CLEAN. > >>> > >>> You're making changes to the build infrastructure and you're > >>> not properly testing it before committing? This is beyond > >>> pointyhat material. > >> > >> I ran 2 universes, dozens of buildworlds and buildkernels, dozens of > installworld and installkernel, several xdev and native-xtools, several > full DIRDEPS_BUILD builds and bootstraps, ran subdir builds, ran subdir > cleans, tested several targets together, ran various special case tests f= or > submakes, played around with a ton of MAKEOBJDIRPREFIX cases, handled and > tested symlinked objdirs special, ran it through my work repro a few time= s, > did special testing in rescue/, and had a volunteer test release. In the > process I found a bmake bug, GPL_DTC build bug and several others I don= =E2=80=99t > recall from the bus. > >> > >> What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because I for= got it even > exists. I=E2=80=99ve wanted to remove it for a year. I also forgot to tes= t buildenv. > >> > > > > If you did all the above under META_MODE, then no you did not > > buildworld and buildkernel and all the other stuff you claim. > > Are you accusing me of lying? > > > > If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent > > in whatever jail you use, then you're not properly testing > > your changes to the build > > I did that probably 100 times. And that isn=E2=80=99t even =E2=80=9Cthe p= roper test=E2=80=9D. Both > clean and incremental are needed which I did. zfs snapshots help a lot > there. I just never ran =E2=80=9C_cleanobj=E2=80=9D which does a full tre= e walk of clean. > But I ran make clean in some subdirs many times. > > > infrastructure. As you have demonstrated, > > Makefile, Makefile.inc1, and the *.mk files are sufficiently > > complicated that proper testing > > > should be done, and proper > > testing means one doesn't takes shortcuts. > > I took 0 shortcuts. As I said I *forgot* that case, among hundreds of > cases. > You=E2=80=99re welcome to do this work if you want. I guarantee you would= not have > tested even half of what I tested. > > Hey can you fix universe to only build clang once please? I=E2=80=99ve be= en > working up to that but I think you=E2=80=99re best to do it. Given the hundreds of commits to the build system and its complexity, I'm in awe this doesn't happen more often. Heck, I've done an order of magnitude fewer commits to the build system and broken it more often than you have, and that's when it was a much simpler beast than it is today. Steve's just being overly grumpy imho. Accidents happen despite one's best efforts. This is -current after all... Warner From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:06:07 2017 Return-Path: Delivered-To: freebsd-toolchain@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 AA44FE69C9E; Fri, 3 Nov 2017 03:06:07 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 72735745F5; Fri, 3 Nov 2017 03:06:07 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 93A0E16903; Fri, 3 Nov 2017 03:06:06 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id CFB548F4F; Fri, 3 Nov 2017 03:06:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id LAEQHjH4CdO7; Fri, 3 Nov 2017 03:06:00 +0000 (UTC) Subject: Re: Head build unsafe for /etc today DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 386F68F4A Cc: Warner Losh , Steve Kargl , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Thu, 2 Nov 2017 20:05:53 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="EIO8tKeXplnkUnsgPme1tH9JiIfD106Ft" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:06:07 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --EIO8tKeXplnkUnsgPme1tH9JiIfD106Ft Content-Type: multipart/mixed; boundary="l9s2H3bNWWDRX0hDhTuGWTniSVsePRB8K"; protected-headers="v1" From: Bryan Drewery Cc: Warner Losh , Steve Kargl , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Message-ID: Subject: Re: Head build unsafe for /etc today References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> In-Reply-To: --l9s2H3bNWWDRX0hDhTuGWTniSVsePRB8K Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/2/2017 7:46 PM, Warner Losh wrote: >=20 >=20 > On Thu, Nov 2, 2017 at 8:41 PM, Bryan Drewery > wrote: >=20 >=20 >=20 > > On Nov 2, 2017, at 19:23, Steve Kargl > wrote: > > > >> On Thu, Nov 02, 2017 at 07:08:50PM -0700, Bryan Drewery wrote: > >> > >> > >>>> On Nov 2, 2017, at 18:49, Steve Kargl > wrote: > >>>> > >>>> On Thu, Nov 02, 2017 at 06:25:24PM -0700, Bryan Drewery wrote:= > >>>> > >>>> On Nov 2, 2017, at 15:44, Mark Millard > wrote: > >>>> > >>>>>> Author: bdrewery > >>>>>> Date: Thu Nov=C2=A0 2 22:23:00 2017 > >>>>>> New Revision: 325347 > >>>>>> URL: > >>>>>> https://svnweb.freebsd.org/changeset/base/325347 > > >>>>>> > >>>>>> > >>>>>> Log: > >>>>>> Something is very wrong > >>>> > >>>> > >>>> Unfortunately I only test with META_MODE these days which impl= ies -DNO_CLEAN. > >>> > >>> You're making changes to the build infrastructure and you're > >>> not properly testing it before committing?=C2=A0 This is beyond= > >>> pointyhat material. > >> > >> I ran 2 universes, dozens of buildworlds and buildkernels, dozen= s of installworld and installkernel, several xdev and native-xtools, seve= ral full DIRDEPS_BUILD builds and bootstraps, ran subdir builds, ran subd= ir cleans, tested several targets together, ran various special case test= s for submakes, played around with a ton of MAKEOBJDIRPREFIX cases, handl= ed and tested symlinked objdirs special, ran it through my work repro a f= ew times, did special testing in rescue/, and had a volunteer test releas= e.=C2=A0 In the process=C2=A0 I found a bmake bug, GPL_DTC build bug and = several others I don=E2=80=99t recall from the bus. > >> > >> What I missed was the =E2=80=9Cclean=E2=80=9D buildworld because= I forgot it even exists. I=E2=80=99ve wanted to remove it for a year. I = also forgot to test buildenv. > >> > > > > If you did all the above under META_MODE, then no you did not > > buildworld and buildkernel and all the other stuff you claim. >=20 > Are you accusing me of lying? >=20 >=20 > > If your first step isn't=C2=A0 'cd /usr/obj ; rm -rf *' or equiva= lent > > in whatever jail you use, then you're not properly testing > > your changes to the build >=20 > I did that probably 100 times. And that isn=E2=80=99t even =E2=80=9C= the proper > test=E2=80=9D. Both clean and incremental are needed which I did. z= fs > snapshots help a lot there. I just never ran =E2=80=9C_cleanobj=E2=80= =9D which does > a full tree walk of clean. But I ran make clean in some subdirs man= y > times. >=20 > > infrastructure.=C2=A0 As you have demonstrated, > > Makefile, Makefile.inc1, and the *.mk files are sufficiently > > complicated that proper testing >=20 > > should be done, and proper > > testing means one doesn't takes shortcuts. >=20 > I took 0 shortcuts. As I said I *forgot* that case, among hundreds > of cases. > You=E2=80=99re welcome to do this work if you want. I guarantee you= would > not have tested even half of what I tested. >=20 > Hey can you fix universe to only build clang once please? I=E2=80=99= ve been > working up to that but I think you=E2=80=99re best to do it. >=20 >=20 > Given the hundreds of commits to the build system and its complexity, > I'm in awe this doesn't happen more often. Heck, I've done an order of > magnitude fewer commits to the build system and broken it more often > than you have, and that's when it was a much simpler beast than it is t= oday. >=20 > Steve's just being overly grumpy imho.=C2=A0 Accidents happen despite o= ne's > best efforts. This is -current after all... Sorry I became grumpy too... I am truly sorry for anyone bit by this. I understand being angry about it. I too was bitten by it and scrambled to get a fix in on a random system I had up without much information on what the root cause was. At first I thought it was the last minute bmake update which came in after my change since I had no seen anything like this in my testing. The commit which caused the problem was reviewed, but the bug was dormant in unchanged code. The bug is fixed now, but I am going to keep the AUTO_OBJ feature off for a few days until I add a few more seatbelts to prevent this again. --=20 Regards, Bryan Drewery --l9s2H3bNWWDRX0hDhTuGWTniSVsePRB8K-- --EIO8tKeXplnkUnsgPme1tH9JiIfD106Ft Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZ+90XAAoJEDXXcbtuRpfPvYEH/j14yF/c6c78Y3yOsTCZmFzA oPcaxHOYpI/L2kaI+sxlVgwob8xJusj1nvoWDfiC9Ol2vJcaIFHmuVQfZqqy7KV8 aI+nDafC1TWlYIGV8lUaHyGGpsYf3qxhi7c/UHz5yyFeYOcJrr7BZdr36NyuVqn7 2Mhasb9YWADjLV6QzONN50RKbbX3y/HpQ008zPbGG6yLfA3lpwsna36LZ5GFN20K thkgC0zmKw7LktLpPpHl3+dWssnduZEGNLgBWjwEcA6zS5KehhfQJwiXMvUcGFpE G9ewiagL8AXaoy62qTtMhBm+dnos26X4RFlgOuUO+uxUeEy1rwGrnNTchOa79q0= =uDrt -----END PGP SIGNATURE----- --EIO8tKeXplnkUnsgPme1tH9JiIfD106Ft-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:08:31 2017 Return-Path: Delivered-To: freebsd-toolchain@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 98E93E69EE0; Fri, 3 Nov 2017 03:08:31 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6297D7492D; Fri, 3 Nov 2017 03:08:31 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 7DDCE16ABC; Fri, 3 Nov 2017 03:08:30 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id BB2828F81; Fri, 3 Nov 2017 03:08:29 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 4BBJlM-hkzje; Fri, 3 Nov 2017 03:08:25 +0000 (UTC) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com 219958F7C To: Mark Millard Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> Date: Thu, 2 Nov 2017 20:08:25 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XgGBCRktoxhtFs1lO0cMHd5qC9mSqv3pt" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:08:31 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --XgGBCRktoxhtFs1lO0cMHd5qC9mSqv3pt Content-Type: multipart/mixed; boundary="Bjs6jpHlaHUJ5CoBB99C3xrRC8e21udKd"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Message-ID: <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> In-Reply-To: --Bjs6jpHlaHUJ5CoBB99C3xrRC8e21udKd Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/2/2017 7:47 PM, Mark Millard wrote: > [Top post as it does not flow with the prior material.] >=20 > Back-to-back repeats of the same buildworld buildkernel > command are rebuilding lots of obj-lib32 *.o files and > the like each time under WITH_META_MODE=3Dyes for -r325351. >=20 I think it is expected since I had to change the objdirs for build/cross tools again to fix your report. I am very confused how I never hit the issue you and Matt ran into. I had this commit sitting in my test branch for days. It may just be due to SYSTEM_COMPILER getting triggered. There's so many combinations of options in the early build that it's impossible to test all of them. Anyway if it continues to happen please also pass -dM to your make as it will tell us why it is rebuilding. > Script started on Thu Nov 2 18:34:57 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n= ull SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host WITH= _META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 make= -j4 buildworld buildkernel >=20 > vs. >=20 > Script started on Thu Nov 2 18:34:57 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n= ull SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host WITH= _META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 make= -j4 buildworld buildkernel >=20 >=20 > # svnlite status -u -r325351 /usr/src | sort > * 320623 /usr/src/contrib/jemalloc/include/jemalloc/interna= l/tsd.h > ? /usr/src/sys/amd64/conf/GENERIC-DBG > ? /usr/src/sys/amd64/conf/GENERIC-NODBG > ? /usr/src/sys/arm/conf/GENERIC-DBG > ? /usr/src/sys/arm/conf/GENERIC-NODBG > ? /usr/src/sys/arm64/conf/GENERIC-DBG > ? /usr/src/sys/arm64/conf/GENERIC-NODBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG > ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG > M 325351 /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameL= owering.cpp > M 325351 /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp= > M 325351 /usr/src/crypto/openssl/crypto/armcap.c > M 325351 /usr/src/lib/libkvm/kvm_powerpc.c > M 325351 /usr/src/lib/libkvm/kvm_private.c > M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c > M 325351 /usr/src/sys/arm64/arm64/identcpu.c > M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi > M 325351 /usr/src/sys/boot/ofw/Makefile.inc > M 325351 /usr/src/sys/boot/powerpc/Makefile.inc > M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile > M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile > M 325351 /usr/src/sys/boot/uboot/Makefile.inc > M 325351 /usr/src/sys/conf/kmod.mk > M 325351 /usr/src/sys/conf/ldscript.powerpc > M 325351 /usr/src/sys/kern/subr_pcpu.c > M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c > M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c > M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c > M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c > M 325351 /usr/src/sys/powerpc/powerpc/trap.c >=20 >=20 > -------------------------------------------------------------- >>>> stage 5.1: building lib32 shim libraries > -------------------------------------------------------------- > . . . > --- obj --- > --- lib/libgcc_eh__PL --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libunwind.o > --- gnu/lib/libssp/libssp_nonshared__PL --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/libssp/libssp_nonshared/_libinstall > --- lib/libcompiler_rt__PL --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libcompiler_rt/_libinstall > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libcompiler_rt/_installlinks > --- _installlinks --- > /usr/lib32/libgcc.a -> libcompiler_rt.a > --- lib/libgcc_eh__PL --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libgcc_eh.a > --- libgcc_eh.a --- > building static gcc_eh library > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/_libinstall > --- gnu/lib/csu__L --- > --- lib/csu__L --- > --- lib/libcompiler_rt__L --- > --- lib/libc__L --- > --- gnu/lib/csu__L --- > =3D=3D=3D> gnu/lib/csu (obj,all,install) > --- lib/csu__L --- > =3D=3D=3D> lib/csu (obj,all,install) > --- lib/libcompiler_rt__L --- > =3D=3D=3D> lib/libcompiler_rt (obj,all,install) > --- lib/libc__L --- > =3D=3D=3D> lib/libc (obj,all,install) > --- lib/csu__L --- > --- obj_subdir_lib/csu/i386 --- > =3D=3D=3D> lib/csu/i386 (obj) > --- gnu/lib/csu__L --- > --- obj --- > --- lib/csu__L --- > --- obj --- > --- all_subdir_lib/csu/i386 --- > =3D=3D=3D> lib/csu/i386 (all) > --- lib/libcompiler_rt__L --- > --- obj --- > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbegin.o > --- lib/csu__L --- > --- realinstall_subdir_lib/csu/i386 --- > =3D=3D=3D> lib/csu/i386 (install) > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/csu/i386/_FILESINS > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtend.o > --- lib/libc_nonshared__L --- > =3D=3D=3D> lib/libc_nonshared (obj,all,install) > --- obj --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/__iconv.o > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbeginT.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/__iconv_free_list.o > --- lib/libcompiler_rt__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libcompiler_rt/_libinstall > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libcompiler_rt/_installlinks > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/__iconv_get_list.o > --- lib/libcompiler_rt__L --- > --- _installlinks --- > /usr/lib32/libgcc.a -> libcompiler_rt.a > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbeginS.o > --- lib/libcompiler_rt__L --- > /usr/lib32/libgcc_p.a -> libcompiler_rt_p.a > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtendS.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv_canonicalize.o > --- lib/libgcc_eh__L --- > =3D=3D=3D> lib/libgcc_eh (obj,all,install) > --- lib/libc__L --- > --- obj --- > --- lib/libgcc_eh__L --- > --- obj --- > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv_close.o > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtend.o > --- lib/libgcc_eh__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libunwind.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv_open.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv_open_into.o > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbeginT.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconv_set_relocation_prefix.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconvctl.o > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbeginS.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/iconvlist.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/libc_nonshared.a > --- libc_nonshared.a --- > building static c_nonshared library > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtendS.o > --- lib/libc_nonshared__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc_nonshared/_libinstall > --- lib/libgcc_eh__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libunwind.po > --- gnu/lib/csu__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/crtbegin.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/gnu/lib/csu/_FILESINS > --- lib/libgcc_eh__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libgcc_eh.a > --- libgcc_eh.a --- > building static gcc_eh library > --- lib/libc__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/machdep_ldisx.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_close.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_delete.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_get.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_open.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_put.o > --- lib/libgcc_eh__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/libgcc_eh_p.a > --- libgcc_eh_p.a --- > building profiled gcc_eh library > --- lib/libc__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/bt_seq.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/db.o > --- lib/libgcc_eh__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libgcc_eh/_libinstall > --- lib/libc__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/hash.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/hash_bigkey.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/hash_page.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/ndbm.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/mpool.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_close.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_delete.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_get.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_open.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_put.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_search.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/rec_seq.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/getwd.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/killpg.o > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libc/sigcompat.o > . . . > --- lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/librt/librt.so.1.debug > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/librt/librt.so.1 > --- all_subdir_lib/libpcap --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/libpcap/etherent.po > --- secure/lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/secure/lib/libssl/ssl_sess.pico > --- lib__L --- > --- all_subdir_lib/librtld_db --- > =3D=3D=3D> lib/librtld_db (all) > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/librtld_db/rtld_db.o > --- kerberos5/lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/kerberos5/lib/libgssapi_ntlm/external.o > --- lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/librtld_db/rtld_db.po > --- kerberos5/lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/kerberos5/lib/libgssapi_ntlm/import_name.o > --- secure/lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/secure/lib/libssl/ssl_stat.pico > --- lib__L --- > Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32= /amd64.amd64/lib/librtld_db/rtld_db.pico > . . . >=20 > And so on. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > On 2017-Nov-2, at 5:30 PM, Bryan Drewery wrote: >=20 > On 11/2/17 3:44 PM, Mark Millard wrote: >>> Author: bdrewery >>> Date: Thu Nov 2 22:23:00 2017 >>> New Revision: 325347 >>> URL:=20 >>> https://svnweb.freebsd.org/changeset/base/325347 >>> >>> >>> Log: >>> Something is very wrong >>> >>> Modified: >>> head/Makefile >>> >>> Modified: head/Makefile >>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >>> @@ -1,3 +1,4 @@ >>> +.error Bad revision, please wait for a fix in head >>> # >>> # $FreeBSD$ >>> # >> >> I just happened to have started a cross build before >> this showed up based on -r325332 . It got: >> >> --- clang-tblgen.full --- >> c++: error: no such file or directory: '/usr/obj/bpim3_clang/arm.armv7= /usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvmmi= nimal.a' >> *** [clang-tblgen.full] Error code 1 >=20 > Someone else reported this one as well but I have not been able to > reproduce it yet. >=20 > I've tweaked the commit causing it though, r325329. Fixed in r325350. >=20 >> >> But find shows: >> >> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libllvm= minimal*" -print | more >> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-too= ls/lib/clang/libllvmminimal >> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-too= ls/lib/clang/libllvmminimal/libllvmminimal.a >> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-too= ls/lib/clang/libllvmminimal/libllvmminimal.a.meta >> >> Comparing side-by-side shows obj-cross-tools vs. >> obj-bootstrap-tools : >> >> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-too= ls/lib/clang/libllvmminimal/libllvmminimal.a >> >> >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >> >=20 >=20 --=20 Regards, Bryan Drewery --Bjs6jpHlaHUJ5CoBB99C3xrRC8e21udKd-- --XgGBCRktoxhtFs1lO0cMHd5qC9mSqv3pt Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZ+92pAAoJEDXXcbtuRpfPJWoH/AxHxj4nGc5RxlFzYh9Q9e4C rhAq2ljzlrfHIs9m6KJFQL6iCRn3TIQJI50iIGKNhnH15RNEPUZ+xVv+ObVc0SPl rD1rWT2fmN0hFAv6gf4Dcq30ljZ2hwW5UgLdcONzTNbX0QGKQjSek5Espq+uaQVS 2+pWWyJoeoMUYQvdR+/cXCqood8+R3QrVsxbXR9FqS5+yN3lazDLc0i+LAbEnR8R mCBZ3dTcMAIWQWO5Ub7aR3QHxvmX917HzO17lcXn+6IVb18jRhzfmELNcosvyxjZ GLX0EQe4vPZDANXVCudeMBvwMdId6NiLFzexJUAQC7+m89ZBVwDtk/yrwzYAZl4= =INgD -----END PGP SIGNATURE----- --XgGBCRktoxhtFs1lO0cMHd5qC9mSqv3pt-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:14:10 2017 Return-Path: Delivered-To: freebsd-toolchain@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 F2B39E6A347 for ; Fri, 3 Nov 2017 03:14:10 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-110.reflexion.net [208.70.210.110]) (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 B11B975058 for ; Fri, 3 Nov 2017 03:14:09 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 26004 invoked from network); 3 Nov 2017 02:47:23 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 02:47:23 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 02 Nov 2017 22:47:23 -0400 (EDT) Received: (qmail 3212 invoked from network); 3 Nov 2017 02:47:22 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 02:47:22 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 0BD49EC86EF; Thu, 2 Nov 2017 19:47:22 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: Date: Thu, 2 Nov 2017 19:47:20 -0700 Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:14:11 -0000 [Top post as it does not flow with the prior material.] Back-to-back repeats of the same buildworld buildkernel command are rebuilding lots of obj-lib32 *.o files and the like each time under WITH_META_MODE=3Dyes for -r325351. Script started on Thu Nov 2 18:34:57 2017 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null= SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel vs. Script started on Thu Nov 2 18:34:57 2017 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null= SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel # svnlite status -u -r325351 /usr/src | sort * 320623 = /usr/src/contrib/jemalloc/include/jemalloc/internal/tsd.h ? /usr/src/sys/amd64/conf/GENERIC-DBG ? /usr/src/sys/amd64/conf/GENERIC-NODBG ? /usr/src/sys/arm/conf/GENERIC-DBG ? /usr/src/sys/arm/conf/GENERIC-NODBG ? /usr/src/sys/arm64/conf/GENERIC-DBG ? /usr/src/sys/arm64/conf/GENERIC-NODBG ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG M 325351 = /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp M 325351 /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp M 325351 /usr/src/crypto/openssl/crypto/armcap.c M 325351 /usr/src/lib/libkvm/kvm_powerpc.c M 325351 /usr/src/lib/libkvm/kvm_private.c M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c M 325351 /usr/src/sys/arm64/arm64/identcpu.c M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi M 325351 /usr/src/sys/boot/ofw/Makefile.inc M 325351 /usr/src/sys/boot/powerpc/Makefile.inc M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile M 325351 /usr/src/sys/boot/uboot/Makefile.inc M 325351 /usr/src/sys/conf/kmod.mk M 325351 /usr/src/sys/conf/ldscript.powerpc M 325351 /usr/src/sys/kern/subr_pcpu.c M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c M 325351 /usr/src/sys/powerpc/powerpc/trap.c -------------------------------------------------------------- >>> stage 5.1: building lib32 shim libraries -------------------------------------------------------------- . . . --- obj --- --- lib/libgcc_eh__PL --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.o --- gnu/lib/libssp/libssp_nonshared__PL --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/libssp/libssp_nonshared/_libinstall --- lib/libcompiler_rt__PL --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libcompiler_rt/_libinstall Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libcompiler_rt/_installlinks --- _installlinks --- /usr/lib32/libgcc.a -> libcompiler_rt.a --- lib/libgcc_eh__PL --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libgcc_eh.a --- libgcc_eh.a --- building static gcc_eh library Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/_libinstall --- gnu/lib/csu__L --- --- lib/csu__L --- --- lib/libcompiler_rt__L --- --- lib/libc__L --- --- gnu/lib/csu__L --- =3D=3D=3D> gnu/lib/csu (obj,all,install) --- lib/csu__L --- =3D=3D=3D> lib/csu (obj,all,install) --- lib/libcompiler_rt__L --- =3D=3D=3D> lib/libcompiler_rt (obj,all,install) --- lib/libc__L --- =3D=3D=3D> lib/libc (obj,all,install) --- lib/csu__L --- --- obj_subdir_lib/csu/i386 --- =3D=3D=3D> lib/csu/i386 (obj) --- gnu/lib/csu__L --- --- obj --- --- lib/csu__L --- --- obj --- --- all_subdir_lib/csu/i386 --- =3D=3D=3D> lib/csu/i386 (all) --- lib/libcompiler_rt__L --- --- obj --- --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbegin.o --- lib/csu__L --- --- realinstall_subdir_lib/csu/i386 --- =3D=3D=3D> lib/csu/i386 (install) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/csu/i386/_FILESINS --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtend.o --- lib/libc_nonshared__L --- =3D=3D=3D> lib/libc_nonshared (obj,all,install) --- obj --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/__iconv.o --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbeginT.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/__iconv_free_list.o --- lib/libcompiler_rt__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libcompiler_rt/_libinstall Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libcompiler_rt/_installlinks --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/__iconv_get_list.o --- lib/libcompiler_rt__L --- --- _installlinks --- /usr/lib32/libgcc.a -> libcompiler_rt.a --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbeginS.o --- lib/libcompiler_rt__L --- /usr/lib32/libgcc_p.a -> libcompiler_rt_p.a --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtendS.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv_canonicalize.o --- lib/libgcc_eh__L --- =3D=3D=3D> lib/libgcc_eh (obj,all,install) --- lib/libc__L --- --- obj --- --- lib/libgcc_eh__L --- --- obj --- --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv_close.o --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtend.o --- lib/libgcc_eh__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv_open.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv_open_into.o --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbeginT.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconv_set_relocation_prefix.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconvctl.o --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbeginS.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/iconvlist.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/libc_nonshared.a --- libc_nonshared.a --- building static c_nonshared library --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtendS.o --- lib/libc_nonshared__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc_nonshared/_libinstall --- lib/libgcc_eh__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.po --- gnu/lib/csu__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/crtbegin.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/csu/_FILESINS --- lib/libgcc_eh__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libgcc_eh.a --- libgcc_eh.a --- building static gcc_eh library --- lib/libc__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/machdep_ldisx.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_close.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_delete.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_get.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_open.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_put.o --- lib/libgcc_eh__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libgcc_eh_p.a --- libgcc_eh_p.a --- building profiled gcc_eh library --- lib/libc__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/bt_seq.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/db.o --- lib/libgcc_eh__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/_libinstall --- lib/libc__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/hash.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/hash_bigkey.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/hash_page.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/ndbm.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/mpool.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_close.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_delete.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_get.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_open.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_put.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_search.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/rec_seq.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/getwd.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/killpg.o Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libc/sigcompat.o . . . --- lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/librt/librt.so.1.debug Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/librt/librt.so.1 --- all_subdir_lib/libpcap --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libpcap/etherent.po --- secure/lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /secure/lib/libssl/ssl_sess.pico --- lib__L --- --- all_subdir_lib/librtld_db --- =3D=3D=3D> lib/librtld_db (all) Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/librtld_db/rtld_db.o --- kerberos5/lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /kerberos5/lib/libgssapi_ntlm/external.o --- lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/librtld_db/rtld_db.po --- kerberos5/lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /kerberos5/lib/libgssapi_ntlm/import_name.o --- secure/lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /secure/lib/libssl/ssl_stat.pico --- lib__L --- Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/librtld_db/rtld_db.pico . . . And so on. =3D=3D=3D Mark Millard markmi at dsl-only.net On 2017-Nov-2, at 5:30 PM, Bryan Drewery wrote: On 11/2/17 3:44 PM, Mark Millard wrote: >> Author: bdrewery >> Date: Thu Nov 2 22:23:00 2017 >> New Revision: 325347 >> URL:=20 >> https://svnweb.freebsd.org/changeset/base/325347 >>=20 >>=20 >> Log: >> Something is very wrong >>=20 >> Modified: >> head/Makefile >>=20 >> Modified: head/Makefile >> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >> @@ -1,3 +1,4 @@ >> +.error Bad revision, please wait for a fix in head >> # >> # $FreeBSD$ >> # >=20 > I just happened to have started a cross build before > this showed up based on -r325332 . It got: >=20 > --- clang-tblgen.full --- > c++: error: no such file or directory: = '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/= clang/libllvmminimal/libllvmminimal.a' > *** [clang-tblgen.full] Error code 1 Someone else reported this one as well but I have not been able to reproduce it yet. I've tweaked the commit causing it though, r325329. Fixed in r325350. >=20 > But find shows: >=20 > # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name = "libllvmminimal*" -print | more > = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal > = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a > = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta >=20 > Comparing side-by-side shows obj-cross-tools vs. > obj-bootstrap-tools : >=20 > = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a > = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 --=20 Regards, Bryan Drewery From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:16:40 2017 Return-Path: Delivered-To: freebsd-toolchain@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 59EA7E6A39C for ; Fri, 3 Nov 2017 03:16:40 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-130.reflexion.net [208.70.210.130]) (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 14B42750B8 for ; Fri, 3 Nov 2017 03:16:39 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 22603 invoked from network); 3 Nov 2017 03:16:33 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 03:16:33 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 02 Nov 2017 23:16:33 -0400 (EDT) Received: (qmail 27669 invoked from network); 3 Nov 2017 03:16:32 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 03:16:32 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 2C8DAEC9500; Thu, 2 Nov 2017 20:16:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> Date: Thu, 2 Nov 2017 20:16:31 -0700 Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:16:40 -0000 On 2017-Nov-2, at 8:08 PM, Bryan Drewery wrote: > On 11/2/2017 7:47 PM, Mark Millard wrote: >> [Top post as it does not flow with the prior material.] >>=20 >> Back-to-back repeats of the same buildworld buildkernel >> command are rebuilding lots of obj-lib32 *.o files and >> the like each time under WITH_META_MODE=3Dyes for -r325351. >>=20 >=20 > I think it is expected since I had to change the objdirs for = build/cross > tools again to fix your report. FYI: that was after several prior builds with -r325351. It is not just a first-repeat example. > I am very confused how I never hit the issue you and Matt ran into. I > had this commit sitting in my test branch for days. It may just be = due > to SYSTEM_COMPILER getting triggered. There's so many combinations of > options in the early build that it's impossible to test all of them. I had WITH_META_MODE=3Dyes as I normally do but had done the rm -fr of the tree content as well (because of directory tree structure mismatches that would be in the new build). > Anyway if it continues to happen please also pass -dM to your make as = it > will tell us why it is rebuilding. I'm about to try that. >> Script started on Thu Nov 2 18:34:57 2017 >> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>=20 >> vs. >>=20 >> Script started on Thu Nov 2 18:34:57 2017 >> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>=20 >>=20 >> # svnlite status -u -r325351 /usr/src | sort >> * 320623 = /usr/src/contrib/jemalloc/include/jemalloc/internal/tsd.h >> ? /usr/src/sys/amd64/conf/GENERIC-DBG >> ? /usr/src/sys/amd64/conf/GENERIC-NODBG >> ? /usr/src/sys/arm/conf/GENERIC-DBG >> ? /usr/src/sys/arm/conf/GENERIC-NODBG >> ? /usr/src/sys/arm64/conf/GENERIC-DBG >> ? /usr/src/sys/arm64/conf/GENERIC-NODBG >> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG >> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG >> ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG >> ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG >> M 325351 = /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp >> M 325351 = /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp >> M 325351 /usr/src/crypto/openssl/crypto/armcap.c >> M 325351 /usr/src/lib/libkvm/kvm_powerpc.c >> M 325351 /usr/src/lib/libkvm/kvm_private.c >> M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c >> M 325351 /usr/src/sys/arm64/arm64/identcpu.c >> M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi >> M 325351 /usr/src/sys/boot/ofw/Makefile.inc >> M 325351 /usr/src/sys/boot/powerpc/Makefile.inc >> M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile >> M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile >> M 325351 /usr/src/sys/boot/uboot/Makefile.inc >> M 325351 /usr/src/sys/conf/kmod.mk >> M 325351 /usr/src/sys/conf/ldscript.powerpc >> M 325351 /usr/src/sys/kern/subr_pcpu.c >> M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c >> M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c >> M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c >> M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c >> M 325351 /usr/src/sys/powerpc/powerpc/trap.c >>=20 >>=20 >> -------------------------------------------------------------- >>>>> stage 5.1: building lib32 shim libraries >> -------------------------------------------------------------- >> . . . >> --- obj --- >> --- lib/libgcc_eh__PL --- >> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.o >> --- gnu/lib/libssp/libssp_nonshared__PL --- >> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/libssp/libssp_nonshared/_libinstall >> . . . >> . . . >>=20 >> And so on. >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 > On 2017-Nov-2, at 5:30 PM, Bryan Drewery wrote: >=20 > On 11/2/17 3:44 PM, Mark Millard wrote: >>> Author: bdrewery >>> Date: Thu Nov 2 22:23:00 2017 >>> New Revision: 325347 >>> URL:=20 >>> https://svnweb.freebsd.org/changeset/base/325347 >>>=20 >>>=20 >>> Log: >>> Something is very wrong >>>=20 >>> Modified: >>> head/Makefile >>>=20 >>> Modified: head/Makefile >>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >>> @@ -1,3 +1,4 @@ >>> +.error Bad revision, please wait for a fix in head >>> # >>> # $FreeBSD$ >>> # >>=20 >> I just happened to have started a cross build before >> this showed up based on -r325332 . It got: >>=20 >> --- clang-tblgen.full --- >> c++: error: no such file or directory: = '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/= clang/libllvmminimal/libllvmminimal.a' >> *** [clang-tblgen.full] Error code 1 >=20 > Someone else reported this one as well but I have not been able to > reproduce it yet. >=20 > I've tweaked the commit causing it though, r325329. Fixed in r325350. >=20 >>=20 >> But find shows: >>=20 >> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name = "libllvmminimal*" -print | more >> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal >> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta >>=20 >> Comparing side-by-side shows obj-cross-tools vs. >> obj-bootstrap-tools : >>=20 >> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a >> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >>=20 >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >=20 >=20 --=20 Regards, Bryan Drewery From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:31:41 2017 Return-Path: Delivered-To: freebsd-toolchain@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 23C97E6A8C7 for ; Fri, 3 Nov 2017 03:31:41 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-145.reflexion.net [208.70.210.145]) (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 D5050758D5 for ; Fri, 3 Nov 2017 03:31:40 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 21210 invoked from network); 3 Nov 2017 03:31:33 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 03:31:33 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Thu, 02 Nov 2017 23:31:33 -0400 (EDT) Received: (qmail 7625 invoked from network); 3 Nov 2017 03:31:33 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 03:31:33 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id DA37CEC86EF; Thu, 2 Nov 2017 20:31:32 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> Date: Thu, 2 Nov 2017 20:31:32 -0700 Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:31:41 -0000 [The rebuilding is not your problem. . . Its a file system time problem.] On 2017-Nov-2, at 8:16 PM, Mark Millard wrote: > On 2017-Nov-2, at 8:08 PM, Bryan Drewery wrote: >=20 >> On 11/2/2017 7:47 PM, Mark Millard wrote: >>> [Top post as it does not flow with the prior material.] >>>=20 >>> Back-to-back repeats of the same buildworld buildkernel >>> command are rebuilding lots of obj-lib32 *.o files and >>> the like each time under WITH_META_MODE=3Dyes for -r325351. >>>=20 >>=20 >> I think it is expected since I had to change the objdirs for = build/cross >> tools again to fix your report. >=20 > FYI: that was after several prior builds with -r325351. It is > not just a first-repeat example. >=20 >> I am very confused how I never hit the issue you and Matt ran into. I >> had this commit sitting in my test branch for days. It may just be = due >> to SYSTEM_COMPILER getting triggered. There's so many combinations = of >> options in the early build that it's impossible to test all of them. >=20 > I had WITH_META_MODE=3Dyes as I normally do but had done > the rm -fr of the tree content as well (because of > directory tree structure mismatches that would be in > the new build). >=20 >> Anyway if it continues to happen please also pass -dM to your make as = it >> will tell us why it is rebuilding. >=20 > I'm about to try that. It reported a more up-to-date file. But looking the timestamp was in the future (tomorrow, almost 24 hours away): # ls -lT = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/inc= lude/runetype.h -rwxr-xr-x 1 root wheel 3906 Nov 3 20:13:14 2017 = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/inc= lude/runetype.h Apparently one or more of the times when I booted the virtual machine recently it ended up with a bad time and part of at least /usr/include has the problem with timestamps: # ls -lT /usr/include/runetype.h -r--r--r-- 1 root wheel 3906 Nov 3 22:48:30 2017 = /usr/include/runetype.h (The time for the active boot is fine.) Sorry for the noise. >>> Script started on Thu Nov 2 18:34:57 2017 >>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>>=20 >>> vs. >>>=20 >>> Script started on Thu Nov 2 18:34:57 2017 >>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>>=20 >>>=20 >>> # svnlite status -u -r325351 /usr/src | sort >>> * 320623 = /usr/src/contrib/jemalloc/include/jemalloc/internal/tsd.h >>> ? /usr/src/sys/amd64/conf/GENERIC-DBG >>> ? /usr/src/sys/amd64/conf/GENERIC-NODBG >>> ? /usr/src/sys/arm/conf/GENERIC-DBG >>> ? /usr/src/sys/arm/conf/GENERIC-NODBG >>> ? /usr/src/sys/arm64/conf/GENERIC-DBG >>> ? /usr/src/sys/arm64/conf/GENERIC-NODBG >>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG >>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG >>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG >>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG >>> M 325351 = /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp >>> M 325351 = /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp >>> M 325351 /usr/src/crypto/openssl/crypto/armcap.c >>> M 325351 /usr/src/lib/libkvm/kvm_powerpc.c >>> M 325351 /usr/src/lib/libkvm/kvm_private.c >>> M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c >>> M 325351 /usr/src/sys/arm64/arm64/identcpu.c >>> M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi >>> M 325351 /usr/src/sys/boot/ofw/Makefile.inc >>> M 325351 /usr/src/sys/boot/powerpc/Makefile.inc >>> M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile >>> M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile >>> M 325351 /usr/src/sys/boot/uboot/Makefile.inc >>> M 325351 /usr/src/sys/conf/kmod.mk >>> M 325351 /usr/src/sys/conf/ldscript.powerpc >>> M 325351 /usr/src/sys/kern/subr_pcpu.c >>> M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c >>> M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c >>> M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c >>> M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c >>> M 325351 /usr/src/sys/powerpc/powerpc/trap.c >>>=20 >>>=20 >>> -------------------------------------------------------------- >>>>>> stage 5.1: building lib32 shim libraries >>> -------------------------------------------------------------- >>> . . . >>> --- obj --- >>> --- lib/libgcc_eh__PL --- >>> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.o >>> --- gnu/lib/libssp/libssp_nonshared__PL --- >>> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/libssp/libssp_nonshared/_libinstall >>> . . . >>> . . . >>>=20 >>> And so on. >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >> On 2017-Nov-2, at 5:30 PM, Bryan Drewery = wrote: >>=20 >> On 11/2/17 3:44 PM, Mark Millard wrote: >>>> Author: bdrewery >>>> Date: Thu Nov 2 22:23:00 2017 >>>> New Revision: 325347 >>>> URL:=20 >>>> https://svnweb.freebsd.org/changeset/base/325347 >>>>=20 >>>>=20 >>>> Log: >>>> Something is very wrong >>>>=20 >>>> Modified: >>>> head/Makefile >>>>=20 >>>> Modified: head/Makefile >>>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >>>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >>>> @@ -1,3 +1,4 @@ >>>> +.error Bad revision, please wait for a fix in head >>>> # >>>> # $FreeBSD$ >>>> # >>>=20 >>> I just happened to have started a cross build before >>> this showed up based on -r325332 . It got: >>>=20 >>> --- clang-tblgen.full --- >>> c++: error: no such file or directory: = '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/= clang/libllvmminimal/libllvmminimal.a' >>> *** [clang-tblgen.full] Error code 1 >>=20 >> Someone else reported this one as well but I have not been able to >> reproduce it yet. >>=20 >> I've tweaked the commit causing it though, r325329. Fixed in = r325350. >>=20 >>>=20 >>> But find shows: >>>=20 >>> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name = "libllvmminimal*" -print | more >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta >>>=20 >>> Comparing side-by-side shows obj-cross-tools vs. >>> obj-bootstrap-tools : >>>=20 >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >>>=20 >>>=20 >>> =3D=3D=3D >>> Mark Millard >>> markmi at dsl-only.net >>>=20 >>=20 >>=20 >=20 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:50:11 2017 Return-Path: Delivered-To: freebsd-toolchain@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 E3A1BE6AEE4; Fri, 3 Nov 2017 03:50:11 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.95.76.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "troutmask", Issuer "troutmask" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id B489F762AF; Fri, 3 Nov 2017 03:50:11 +0000 (UTC) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) by troutmask.apl.washington.edu (8.15.2/8.15.2) with ESMTPS id vA33oA8A089328 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 2 Nov 2017 20:50:10 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost) by troutmask.apl.washington.edu (8.15.2/8.15.2/Submit) id vA33oABE089327; Thu, 2 Nov 2017 20:50:10 -0700 (PDT) (envelope-from sgk) Date: Thu, 2 Nov 2017 20:50:10 -0700 From: Steve Kargl To: Bryan Drewery Cc: FreeBSD Toolchain , freebsd-hackers , FreeBSD Current Subject: Re: Head build unsafe for /etc today Message-ID: <20171103035010.GA89291@troutmask.apl.washington.edu> Reply-To: sgk@troutmask.apl.washington.edu References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> User-Agent: Mutt/1.7.2 (2016-11-26) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:50:12 -0000 On Thu, Nov 02, 2017 at 07:41:21PM -0700, Bryan Drewery wrote: > > Are you accusing me of lying? > Nope. I'm stating the obvious. If you are using META_MODE and you do "make buildwould" that is equivalent to "make -DNO_CLEAN buildworld", which means you did not rebuild the *world*. When I see a commit message of the form (and I've haven't seen one like this in 25+ years of using FreeBSD (aka 386BSD+patchkit)) Author: bdrewery Date: Thu Nov 2 22:23:00 2017 New Revision: 325347 URL: https://svnweb.freebsd.org/changeset/base/325347 Log: Something is very wrong Modified: head/Makefile Modified: head/Makefile ============================================================================== --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) @@ -1,3 +1,4 @@ +.error Bad revision, please wait for a fix in head It suggests that whomever did the commit did not properly test the patch. The use of META_MODE (or any other shortcut) when testing simply isn't proper testing. -- Steve From owner-freebsd-toolchain@freebsd.org Fri Nov 3 03:58:31 2017 Return-Path: Delivered-To: freebsd-toolchain@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 D320FE6B3B4 for ; Fri, 3 Nov 2017 03:58:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-io0-x22d.google.com (mail-io0-x22d.google.com [IPv6:2607:f8b0:4001:c06::22d]) (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 939DA7695A for ; Fri, 3 Nov 2017 03:58:31 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-io0-x22d.google.com with SMTP id m16so3608649iod.1 for ; Thu, 02 Nov 2017 20:58:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Ho6KNVCYaR2onhzgNBj6Gspyj9SajxCXRrNvfYw5ghA=; b=Z7NfGIvBbgK9Rl7JUyr8633NW9WMe1HNpd/s1rJTjhbinnYHHcermY6dGyRw6vvabV h9HaGNHGNPYlqn5gSuE7y5UzQ2x5YhwYHjL7wkpw2sFlIQpv8H4+3TABddQPJ4U9NVFx t1kQkgC9bOfS3e3J6njP3ytsKHwsU93PJoLCpLaV54GL/F4Tusm9fsoZdw/fwREijCH4 xCvnFwWlVhg+UcLk66u8JBS0M8lIgkWzOtIUFq/PqKK7xgvdCnnKopkzVtdIiW46YNj+ UHA7uOKRGX6A9wbPH6jP0sC+LWGJCM+kWwS9TuLW42PiksFyy3sJboMI3gGhskTbDX4J hYJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Ho6KNVCYaR2onhzgNBj6Gspyj9SajxCXRrNvfYw5ghA=; b=ElLZ8+EG/IXJNOzcvOJ/HahD8t0vBnlxsP35BGz4HUN5q+0MO7bjYKBPdIO254XHhu 6UwBVSNECANp3I/0NRF4B2P2yftKkDc3HYdurRBwtoJaNux2/zW/ZMhqfR4MZ2XTit0+ HcsSNJEwfzEaQQiIGju8zYAeyDz4NkAq/wpLLvIgxdLHTrwOvsa3bW/mjxgQhVEz1FxH teh8JNBEzq+PoacyHReY4TARU1YIqTZh4TmQczhvV7NbT0SNVFKnaZCWxP1w1ezEMQr1 PURccAfZlloCj51l/UBTX7kRnrcyKsVmdYJv3sU/etQxk/lGKzSoZTk4MpThfGCqq1fy bPdQ== X-Gm-Message-State: AJaThX7N61MyGcFEX0vgkJcyojBNfO0KygMEhGFSTQcbw1nClN14eKtq zHm6iC7lE49L03SwaDHSTWOK156xVcBFtgBfMJmETQ== X-Google-Smtp-Source: ABhQp+RczUBRhxSX+1DIVhZoOPltOWIIGqcWv5mcEc/1vUSnAFt7Y1B5hAF+Y5DZmD93crmplY6B8qzbDPBMwo7jFKs= X-Received: by 10.107.48.76 with SMTP id w73mr7499546iow.301.1509681510654; Thu, 02 Nov 2017 20:58:30 -0700 (PDT) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.57.22 with HTTP; Thu, 2 Nov 2017 20:58:29 -0700 (PDT) X-Originating-IP: [2603:300b:6:5100:a004:68c9:b567:b3a8] In-Reply-To: <20171103035010.GA89291@troutmask.apl.washington.edu> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> <20171103035010.GA89291@troutmask.apl.washington.edu> From: Warner Losh Date: Thu, 2 Nov 2017 21:58:29 -0600 X-Google-Sender-Auth: w6v6YhhJJ2tn4ba4Gq8Aya1J5WU Message-ID: Subject: Re: Head build unsafe for /etc today To: Steve Kargl Cc: Bryan Drewery , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 03:58:31 -0000 On Thu, Nov 2, 2017 at 9:50 PM, Steve Kargl < sgk@troutmask.apl.washington.edu> wrote: > On Thu, Nov 02, 2017 at 07:41:21PM -0700, Bryan Drewery wrote: > > > > Are you accusing me of lying? > > > > Nope. I'm stating the obvious. If you are using > META_MODE and you do "make buildwould" that is > equivalent to "make -DNO_CLEAN buildworld", which > means you did not rebuild the *world*. > > When I see a commit message of the form (and I've > haven't seen one like this in 25+ years of using > FreeBSD (aka 386BSD+patchkit)) > > Author: bdrewery > Date: Thu Nov 2 22:23:00 2017 > New Revision: 325347 > URL: https://svnweb.freebsd.org/changeset/base/325347 > > Log: > Something is very wrong > > Modified: > head/Makefile > > Modified: head/Makefile > ============================================================ > ================== > --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) > +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) > @@ -1,3 +1,4 @@ > +.error Bad revision, please wait for a fix in head > > It suggests that whomever did the commit did not properly test > the patch. The use of META_MODE (or any other shortcut) when > testing simply isn't proper testing. FreeBSD has grown too big to test every possible thing before you commit. Lord knows the number of make universes I've done is maybe 1/100th the number of commits (or less) I've made. We all take short cuts, or fail to exhaustively test every single possible thing, or have some environmental contamination that normally isn't a problem but masks an issue, or forget to add a file / directory, or a hundred other things that can and do go wrong. It happens. It will happen again. I just hope to never again be the last person to break the tree before BSDcan again, but I live in fear that I'll miss something because I know I'm human. Personally, I think that this commit was the responsible thing to do: He'd just committed several changes. It wasn't clear which one needed to be backed out. While he tracked down the root cause, he put in counter measures to make sure that nobody else got bitten by the bug he himself encountered when he was further testing the system. He then resolved it by fixing the root cause, but I know that had he not been able to do so, he'd have backed things out. Part of being in this project is recognizing that and allowing the occasional oops to happen w/o making an unduly large case out of it... Warner Warner From owner-freebsd-toolchain@freebsd.org Fri Nov 3 05:22:24 2017 Return-Path: Delivered-To: freebsd-toolchain@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 4B6B7E6C5D1 for ; Fri, 3 Nov 2017 05:22:24 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-132.reflexion.net [208.70.210.132]) (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 0A4A77C739 for ; Fri, 3 Nov 2017 05:22:23 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 22331 invoked from network); 3 Nov 2017 05:22:17 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 05:22:17 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 03 Nov 2017 01:22:17 -0400 (EDT) Received: (qmail 25389 invoked from network); 3 Nov 2017 05:22:16 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 05:22:16 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id ECA05EC8FCC; Thu, 2 Nov 2017 22:22:15 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Head build unsafe for /etc today From: Mark Millard In-Reply-To: <20171103035010.GA89291@troutmask.apl.washington.edu> Date: Thu, 2 Nov 2017 22:22:15 -0700 Cc: Bryan Drewery , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <9BB08DDC-75A9-4115-936A-81E7319B166C@dsl-only.net> References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> <20171103035010.GA89291@troutmask.apl.washington.edu> To: sgk@troutmask.apl.washington.edu X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 05:22:24 -0000 On 2017-Nov-2, at 8:50 PM, Steve Kargl = wrote: > On Thu, Nov 02, 2017 at 07:41:21PM -0700, Bryan Drewery wrote: >>=20 >> Are you accusing me of lying? >>=20 >=20 > Nope. I'm stating the obvious. If you are using > META_MODE and you do "make buildwould" that is=20 > equivalent to "make -DNO_CLEAN buildworld", which > means you did not rebuild the *world*.=20 Also from a prior message of this sequence: > If your first step isn't 'cd /usr/obj ; rm -rf *' or equivalent > in whatever jail you use, then you're not properly testing=20 > your changes to the build infrastructure. With or without META_MODE, a rm -fr /usr/obj/* before the build attempt forces a rebuild as far as I know. It may be more that cleaning was effectively not tested then rebuilding was not tested. But always doing rm -fr /usr/obj/* first establishes a very limited context for testing cleaning. WITH_META_MODE and WITHOUT_META_MODE still might not be strictly equivalent after the rm -fr /usr/obj/* for some other properties in such an "empty" context. So testing those combinations makes sense but would be insufficient. > When I see a commit message of the form (and I've > haven't seen one like this in 25+ years of using > FreeBSD (aka 386BSD+patchkit)) >=20 > Author: bdrewery > Date: Thu Nov 2 22:23:00 2017 > New Revision: 325347 > URL: https://svnweb.freebsd.org/changeset/base/325347 >=20 > Log: > Something is very wrong >=20 > Modified: > head/Makefile >=20 > Modified: head/Makefile > = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D > --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) > +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) > @@ -1,3 +1,4 @@ > +.error Bad revision, please wait for a fix in head >=20 > It suggests that whomever did the commit did not properly test > the patch. The use of META_MODE (or any other shortcut) when > testing simply isn't proper testing. I think I understand the intended point but the actual wording for "the use of . . ." and "[i]f your first step isn't . . ." is wrong from what I can tell. The testing of WITH_META_MODE is a proper form of test but is not a sufficient category of test overall. But omitting all tests of WITH_META_MODE would be poor procedure in my view. Some testing needs to be done without rm -fr /usr/obj/* after a prior build as well. Some testing of WITH_META_MODE after a prior build needs to be done. Some testing of WITHOUT_META_MODE after a prior build needs to be done. And so on. At least that would be my view. Any and all mistakes checked-in are examples of insufficient testing --but always doing sufficient testing requires establishing a much simpler, more limited, context. To my knowledge FreeBSD is not trying to scale back like that. (It is not under the direction of an Edsger W. Dijkstra.) I do not know if something might be able to be done to make such a specific type of "clean test" mistake less likely to happen again. Could a test context be established where attempts to delete outside the build tree would be rejected, with notifications of the attempts? Could running such a test be automatic (part of something that is run systematically) and fast enough to not want to skip it? (Just being illustrative. The details involved are well outside my background knowledge. There may be nothing easy or reasonable.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Fri Nov 3 08:52:36 2017 Return-Path: Delivered-To: freebsd-toolchain@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 E3B34E4C800 for ; Fri, 3 Nov 2017 08:52:36 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-102.reflexion.net [208.70.210.102]) (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 A5E0581227 for ; Fri, 3 Nov 2017 08:52:36 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 8949 invoked from network); 3 Nov 2017 08:52:34 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 08:52:34 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 03 Nov 2017 04:52:34 -0400 (EDT) Received: (qmail 21525 invoked from network); 3 Nov 2017 08:52:34 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 08:52:34 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id C958FEC86EF; Fri, 3 Nov 2017 01:52:33 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> Date: Fri, 3 Nov 2017 01:52:33 -0700 Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 08:52:37 -0000 I did get another problem after buildworld, buildkernel, installkernel without future source code dates: the installworld got a "cc not found" for the amd64 native build based on -r325351 --that also appears to be set up to report: ERROR-tried-to-rebuild-during-make-install if cc had been found: .if defined(SRCTOP) # Prevent rebuilding during install to support read-only objdirs. .if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && empty(.MAKE.MODE:Mmeta) CFLAGS+=3D ERROR-tried-to-rebuild-during-make-install .endif=20 .endif=20 is involved in: Script started on Fri Nov 3 00:52:26 2017 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null= SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -dM -j4 installworld . . . --- realinstall_subdir_sys --- --- autoload.o --- --- realinstall_subdir_secure --- rm -f /usr/share/openssl/man/man3/SSL_set_generate_session_id.3 = /usr/share/openssl/man/man3/SSL_set_generate_session_id.3.gz; install = -l h /usr/share/openssl/man/man3/SSL_CTX_set_generate_session_id.3.gz = /usr/share/openssl/man/man3/SSL_set_generate_session_id.3.gz --- realinstall_subdir_sys --- cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 = -pipe -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float = -fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT = -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT = -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs = -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader = -I/usr/src/sys/boot/efi/loader/arch/amd64 = -I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys = -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS = -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl = -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH = -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall = -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized = -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion = -Wno-unused-local-typedef -Wno-address-of-packed-member = -Qunused-arguments ERROR-tried-to-rebuild-during-make-install -c = /usr/src/sys/boot/efi/loader/autoload.c -o autoload.o sh: cc: not found --- realinstall_subdir_secure --- rm -f /usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3 = /usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3.gz; install -l = h /usr/share/openssl/man/man3/SSL_CTX_set_info_callback.3.gz = /usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3.gz --- realinstall_subdir_sys --- *** [autoload.o] Error code 127 make[7]: stopped in /usr/src/sys/boot/efi/loader 1 error make[7]: stopped in /usr/src/sys/boot/efi/loader *** [realinstall_subdir_sys/boot/efi/loader] Error code 2 Or without -j4: Script started on Fri Nov 3 01:38:54 2017 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null= SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -dM installworld . . . =3D=3D=3D> sys/boot/libsa32 (install) =3D=3D=3D> sys/boot/zfs (install) =3D=3D=3D> sys/boot/zfs32 (install) =3D=3D=3D> sys/boot/ficl32 (install) =3D=3D=3D> sys/boot/efi (install) =3D=3D=3D> sys/boot/efi/libefi (install) =3D=3D=3D> sys/boot/efi/loader (install) cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 = -pipe -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float = -fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT = -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT = -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs = -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader = -I/usr/src/sys/boot/efi/loader/arch/amd64 = -I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys = -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS = -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl = -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH = -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall = -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized = -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion = -Wno-unused-local-typedef -Wno-address-of-packed-member = -Qunused-arguments ERROR-tried-to-rebuild-during-make-install -c = /usr/src/sys/boot/efi/loader/autoload.c -o autoload.o /tmp/install.2mZZVhR0/sh: cc: not found *** Error code 127 Stop. make[7]: stopped in /usr/src/sys/boot/efi/loader *** Error code 1 I'll note: # ls -lT /usr/src/sys/boot/efi/loader/autoload.c -rw-r--r-- 1 root wheel 1522 Nov 3 02:27:17 2016 = /usr/src/sys/boot/efi/loader/autoload.c # find /usr/obj/amd64_clang/amd64.amd64/ -name autoload.o -exec ls -lT = {} \; | more -rw-r--r-- 1 root wheel 2896 Nov 3 00:10:12 2017 = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/boot/efi/loader/a= utoload.o (So the .o is about a year later.) # which cc /usr/bin/cc # find /usr/obj/amd64_clang/amd64.amd64/ -name cc -print | more = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/inc= lude/netinet/cc = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/GENERIC-NODBG/mod= ules/usr/src/sys/modules/cc = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/netin= et/cc = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/includ= e/netinet/cc It appears that /usr/bin was not part of the path at the time of the failure. As for the commands. . . (I isolated CC=3D on its own lines.) Script started on Fri Nov 3 00:52:26 2017 Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/null= SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -dM -j4 installworld --- installworld --- make[1]: = "/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-metadata.mk= " line 1: Using cached compiler metadata from build at FreeBSDx64OPC on = Thu Nov 2 23:02:54 PDT 2017 --- __installcheck_UGID --- --- __installcheck_sh_check --- --- installworld --- mkdir -p /tmp/install.hnB8rBdc progs=3D$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp = date echo egrep find grep id install ln make mkdir mtree mv pwd_mkdb = rm sed services_mkdb sh strip sysctl test true uname wc zic tzsetup = makewhatis; do if progpath=3D`which $prog`; then echo $progpath; else = echo "Required tool $prog not found in PATH." >&2; exit 1; fi; = done); libs=3D$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort = -u | while read line; do $line; if [ "$2 $3" !=3D "not found" ]; then = echo $2; else echo "Required library $1 not found." >&2; exit 1; = fi; done); cp $libs $progs /tmp/install.hnB8rBdc cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.hnB8rBdc/locale cd /usr/src; COMPILER_VERSION=3D50000 COMPILER_FEATURES=3Dc++11 = COMPILER_TYPE=3Dclang COMPILER_FREEBSD_VERSION=3D1200007 = MACHINE_ARCH=3Damd64 MACHINE=3Damd64 CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" CXX=3D"c++ -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" = CPP=3D"cpp -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" = AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" = RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" = PATH=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr= /sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/= bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/bin:/u= sr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/a= md64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rB= dc LD_LIBRARY_PATH=3D/tmp/install.hnB8rBdc = PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale make -f Makefile.inc1 = __MAKE_SHELL=3D/tmp/install.hnB8rBdc/sh reinstall; = COMPILER_VERSION=3D50000 COMPILER_FEATURES=3Dc++11 COMPILER_TYPE=3Dclang= COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64 MACHINE=3Damd64= CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" = CXX=3D"c++ -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" = CPP=3D"cpp -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" = AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" = RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" = PATH=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr= /sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/= bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/bin:/u= sr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/a= md64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rB= dc LD_LIBRARY_PATH=3D/tmp/install.hnB8rBdc = PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale rm -rf /tmp/install.hnB8rBdc --- reinstall --- . . . # more = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-metadata.mk .info Using cached compiler metadata from build at FreeBSDx64OPC on Thu = Nov 2 23:02:54 PDT 2017 COMPILER_VERSION=3D50000 COMPILER_TYPE=3Dclang COMPILER_FEATURES=3Dc++11 COMPILER_FREEBSD_VERSION=3D1200007 LINKER_VERSION=3D21750 LINKER_TYPE=3Dbfd .export COMPILER_VERSION COMPILER_TYPE COMPILER_FEATURES = COMPILER_FREEBSD_VERSION LINKER_VERSION LINKER_TYPE # more /root/src.configs/make.conf CFLAGS.gcc+=3D -v # more /root/src.configs/src.conf.amd64-clang.amd64-host TO_TYPE=3Damd64 # KERNCONF=3DGENERIC-NODBG TARGET=3D${TO_TYPE} .if ${.MAKE.LEVEL} =3D=3D 0 TARGET_ARCH=3D${TO_TYPE} .export TARGET_ARCH .endif # #WITH_CROSS_COMPILER=3D WITH_SYSTEM_COMPILER=3D # WITH_LIBCPLUSPLUS=3D WITH_BINUTILS_BOOTSTRAP=3D WITH_ELFTOOLCHAIN_BOOTSTRAP=3D #WITH_CLANG_BOOTSTRAP=3D WITH_CLANG=3D WITH_CLANG_IS_CC=3D WITH_CLANG_FULL=3D WITH_CLANG_EXTRAS=3D WITH_LLD=3D WITHOUT_LLD_IS_LD=3D WITH_LLVM_LIBUNWIND=3D WITH_LLDB=3D #PORTS_MODULES=3Demulators/virtualbox-ose-additions # WITH_BOOT=3D WITH_LIB32=3D # WITHOUT_GCC_BOOTSTRAP=3D WITHOUT_GCC=3D WITHOUT_GCC_IS_CC=3D WITHOUT_GNUCXX=3D # NO_WERROR=3D #WERROR=3D MALLOC_PRODUCTION=3D # WITH_REPRODUCIBLE_BUILD=3D WITH_DEBUG_FILES=3D =3D=3D=3D Mark Millard markmi at dsl-only.net >>> . . . >>> Script started on Thu Nov 2 18:34:57 2017 >>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>>=20 >>> vs. >>>=20 >>> Script started on Thu Nov 2 18:34:57 2017 >>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf = SRCCONF=3D/dev/null = SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host = WITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 = make -j4 buildworld buildkernel >>>=20 >>>=20 >>> # svnlite status -u -r325351 /usr/src | sort >>> * 320623 = /usr/src/contrib/jemalloc/include/jemalloc/internal/tsd.h >>> ? /usr/src/sys/amd64/conf/GENERIC-DBG >>> ? /usr/src/sys/amd64/conf/GENERIC-NODBG >>> ? /usr/src/sys/arm/conf/GENERIC-DBG >>> ? /usr/src/sys/arm/conf/GENERIC-NODBG >>> ? /usr/src/sys/arm64/conf/GENERIC-DBG >>> ? /usr/src/sys/arm64/conf/GENERIC-NODBG >>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG >>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG >>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG >>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG >>> M 325351 = /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFrameLowering.cpp >>> M 325351 = /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.cpp >>> M 325351 /usr/src/crypto/openssl/crypto/armcap.c >>> M 325351 /usr/src/lib/libkvm/kvm_powerpc.c >>> M 325351 /usr/src/lib/libkvm/kvm_private.c >>> M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c >>> M 325351 /usr/src/sys/arm64/arm64/identcpu.c >>> M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi >>> M 325351 /usr/src/sys/boot/ofw/Makefile.inc >>> M 325351 /usr/src/sys/boot/powerpc/Makefile.inc >>> M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile >>> M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile >>> M 325351 /usr/src/sys/boot/uboot/Makefile.inc >>> M 325351 /usr/src/sys/conf/kmod.mk >>> M 325351 /usr/src/sys/conf/ldscript.powerpc >>> M 325351 /usr/src/sys/kern/subr_pcpu.c >>> M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c >>> M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c >>> M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c >>> M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c >>> M 325351 /usr/src/sys/powerpc/powerpc/trap.c >>>=20 >>>=20 >>> -------------------------------------------------------------- >>>>>> stage 5.1: building lib32 shim libraries >>> -------------------------------------------------------------- >>> . . . >>> --- obj --- >>> --- lib/libgcc_eh__PL --- >>> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /lib/libgcc_eh/libunwind.o >>> --- gnu/lib/libssp/libssp_nonshared__PL --- >>> Building = /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/amd64.amd64= /gnu/lib/libssp/libssp_nonshared/_libinstall >>> . . . >>> . . . >>>=20 >>> And so on. >>=20 >> =3D=3D=3D >> Mark Millard >> markmi at dsl-only.net >>=20 >> On 2017-Nov-2, at 5:30 PM, Bryan Drewery = wrote: >>=20 >> On 11/2/17 3:44 PM, Mark Millard wrote: >>>> Author: bdrewery >>>> Date: Thu Nov 2 22:23:00 2017 >>>> New Revision: 325347 >>>> URL:=20 >>>> https://svnweb.freebsd.org/changeset/base/325347 >>>>=20 >>>>=20 >>>> Log: >>>> Something is very wrong >>>>=20 >>>> Modified: >>>> head/Makefile >>>>=20 >>>> Modified: head/Makefile >>>> = =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D >>>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >>>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >>>> @@ -1,3 +1,4 @@ >>>> +.error Bad revision, please wait for a fix in head >>>> # >>>> # $FreeBSD$ >>>> # >>>=20 >>> I just happened to have started a cross build before >>> this showed up based on -r325332 . It got: >>>=20 >>> --- clang-tblgen.full --- >>> c++: error: no such file or directory: = '/usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/= clang/libllvmminimal/libllvmminimal.a' >>> *** [clang-tblgen.full] Error code 1 >>=20 >> Someone else reported this one as well but I have not been able to >> reproduce it yet. >>=20 >> I've tweaked the commit causing it though, r325329. Fixed in = r325350. >>=20 >>>=20 >>> But find shows: >>>=20 >>> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name = "libllvmminimal*" -print | more >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a.meta >>>=20 >>> Comparing side-by-side shows obj-cross-tools vs. >>> obj-bootstrap-tools : >>>=20 >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/c= lang/libllvmminimal/libllvmminimal.a >>> = /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-tools/l= ib/clang/libllvmminimal/libllvmminimal.a >>>=20 >>>=20 >>> =3D=3D=3D >>> Mark Millard >>> markmi at dsl-only.net >>>=20 >>=20 >>=20 >=20 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Fri Nov 3 18:31:40 2017 Return-Path: Delivered-To: freebsd-toolchain@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 3F7FCE582E5; Fri, 3 Nov 2017 18:31:40 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id DEE906E546; Fri, 3 Nov 2017 18:31:39 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id EA6031FC6F; Fri, 3 Nov 2017 18:31:38 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 26AA926AA; Fri, 3 Nov 2017 18:31:38 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id EYYlbQSrTrpQ; Fri, 3 Nov 2017 18:31:32 +0000 (UTC) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com C7C5726A3 To: Mark Millard Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> From: Bryan Drewery Organization: FreeBSD Message-ID: <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> Date: Fri, 3 Nov 2017 11:31:29 -0700 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Fmll73KadUoXti7Bl4A305nXqQsPrFkBH" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 18:31:40 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --Fmll73KadUoXti7Bl4A305nXqQsPrFkBH Content-Type: multipart/mixed; boundary="Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Message-ID: <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> In-Reply-To: <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> --Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/3/17 1:52 AM, Mark Millard wrote: > I did get another problem after buildworld, buildkernel, installkernel > without future source code dates: the installworld got a "cc not found"= > for the amd64 native build based on -r325351 --that also appears to be > set up to report: >=20 > ERROR-tried-to-rebuild-during-make-install >=20 > if cc had been found: >=20 > .if defined(SRCTOP) > # Prevent rebuilding during install to support read-only objdirs. > .if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && empty(.MAKE.MODE:Mmeta= ) > CFLAGS+=3D ERROR-tried-to-rebuild-during-make-install > .endif=20 > .endif=20 >=20 This one usually only happens if it is trying to compile at installtime, which usually means a file is missing (wrong OBJDIR perhaps) or the timestamps are off. I'll play with this more and see what I can come up with, but I didn't run into anything like this myself yet. > is involved in: >=20 > Script started on Fri Nov 3 00:52:26 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n= ull SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host WITH= _META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 make= -dM -j4 installworld > . . . > --- realinstall_subdir_sys --- > --- autoload.o --- > --- realinstall_subdir_secure --- > rm -f /usr/share/openssl/man/man3/SSL_set_generate_session_id.3 /usr/sh= are/openssl/man/man3/SSL_set_generate_session_id.3.gz; install -l h /us= r/share/openssl/man/man3/SSL_CTX_set_generate_session_id.3.gz /usr/share/= openssl/man/man3/SSL_set_generate_session_id.3.gz > --- realinstall_subdir_sys --- > cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/= amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/us= r/src/amd64.amd64/tmp/usr/bin -O2 -pipe -ffreestanding -Wformat -mno-m= mx -mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -D= LOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MB= R_SUPPORT -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/= boot/zfs -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader -= I/usr/src/sys/boot/efi/loader/arch/amd64 -I/usr/src/sys/boot/efi/include = -I/usr/src/sys/boot/efi/include/amd64 -I/usr/src/sys/contrib/dev/acpica/i= nclude -I/usr/src/sys -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DS= MBIOS_SERIAL_NUMBERS -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot= /ficl -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FO= RTH -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall -Wno-fo= rmat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototype= s -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -W= no-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -= Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum= -conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qun= used-arguments ERROR-tried-to-rebuild-during-make-install -c /usr/src/sy= s/boot/efi/loader/autoload.c -o autoload.o > sh: cc: not found > --- realinstall_subdir_secure --- > rm -f /usr/share/openssl/man/man3/SSL_CTX_get_info_callback.3 /usr/shar= e/openssl/man/man3/SSL_CTX_get_info_callback.3.gz; install -l h /usr/sh= are/openssl/man/man3/SSL_CTX_set_info_callback.3.gz /usr/share/openssl/ma= n/man3/SSL_CTX_get_info_callback.3.gz > --- realinstall_subdir_sys --- > *** [autoload.o] Error code 127 >=20 > make[7]: stopped in /usr/src/sys/boot/efi/loader > 1 error >=20 > make[7]: stopped in /usr/src/sys/boot/efi/loader > *** [realinstall_subdir_sys/boot/efi/loader] Error code 2 >=20 >=20 > Or without -j4: >=20 > Script started on Fri Nov 3 01:38:54 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n= ull SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host WITH= _META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 make= -dM installworld > . . . > =3D=3D=3D> sys/boot/libsa32 (install) > =3D=3D=3D> sys/boot/zfs (install) > =3D=3D=3D> sys/boot/zfs32 (install) > =3D=3D=3D> sys/boot/ficl32 (install) > =3D=3D=3D> sys/boot/efi (install) > =3D=3D=3D> sys/boot/efi/libefi (install) > =3D=3D=3D> sys/boot/efi/loader (install) > cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/= amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/us= r/src/amd64.amd64/tmp/usr/bin -O2 -pipe -ffreestanding -Wformat -mno-m= mx -mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -D= LOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MB= R_SUPPORT -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/= boot/zfs -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader -= I/usr/src/sys/boot/efi/loader/arch/amd64 -I/usr/src/sys/boot/efi/include = -I/usr/src/sys/boot/efi/include/amd64 -I/usr/src/sys/contrib/dev/acpica/i= nclude -I/usr/src/sys -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DS= MBIOS_SERIAL_NUMBERS -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot= /ficl -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FO= RTH -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall -Wno-fo= rmat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototype= s -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -W= no-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -= Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum= -conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qun= used-arguments ERROR-tried-to-rebuild-during-make-install -c /usr/src/sy= s/boot/efi/loader/autoload.c -o autoload.o > /tmp/install.2mZZVhR0/sh: cc: not found > *** Error code 127 >=20 > Stop. > make[7]: stopped in /usr/src/sys/boot/efi/loader > *** Error code 1 >=20 >=20 >=20 > I'll note: >=20 > # ls -lT /usr/src/sys/boot/efi/loader/autoload.c > -rw-r--r-- 1 root wheel 1522 Nov 3 02:27:17 2016 /usr/src/sys/boot/= efi/loader/autoload.c >=20 > # find /usr/obj/amd64_clang/amd64.amd64/ -name autoload.o -exec ls -lT = {} \; | more > -rw-r--r-- 1 root wheel 2896 Nov 3 00:10:12 2017 /usr/obj/amd64_cla= ng/amd64.amd64/usr/src/amd64.amd64/sys/boot/efi/loader/autoload.o >=20 > (So the .o is about a year later.) >=20 > # which cc > /usr/bin/cc >=20 > # find /usr/obj/amd64_clang/amd64.amd64/ -name cc -print | more > /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-lib32/tmp/usr/= include/netinet/cc > /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/sys/GENERIC-NODBG/= modules/usr/src/sys/modules/cc > /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/include/ne= tinet/cc > /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/inc= lude/netinet/cc >=20 > It appears that /usr/bin was not part of the path at > the time of the failure. >=20 > As for the commands. . . > (I isolated CC=3D on its own lines.) >=20 > Script started on Fri Nov 3 00:52:26 2017 > Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev/n= ull SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host WITH= _META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 make= -dM -j4 installworld > --- installworld --- > make[1]: "/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler= -metadata.mk" line 1: Using cached compiler metadata from build at FreeBS= Dx64OPC on Thu Nov 2 23:02:54 PDT 2017 > --- __installcheck_UGID --- > --- __installcheck_sh_check --- > --- installworld --- > mkdir -p /tmp/install.hnB8rBdc > progs=3D$(for prog in [ awk cap_mkdb cat chflags chmod chown cmp cp da= te echo egrep find grep id install ln make mkdir mtree mv pwd_mkdb rm = sed services_mkdb sh strip sysctl test true uname wc zic tzsetup makewh= atis; do if progpath=3D`which $prog`; then echo $progpath; else echo = "Required tool $prog not found in PATH." >&2; exit 1; fi; done); libs= =3D$(ldd -f "%o %p\n" -f "%o %p\n" $progs 2>/dev/null | sort -u | while = read line; do $line; if [ "$2 $3" !=3D "not found" ]; then echo $2; e= lse echo "Required library $1 not found." >&2; exit 1; fi; done); cp= $libs $progs /tmp/install.hnB8rBdc > cp -R ${PATH_LOCALE:-"/usr/share/locale"} /tmp/install.hnB8rBdc/locale > cd /usr/src; COMPILER_VERSION=3D50000 COMPILER_FEATURES=3Dc++11 COMPI= LER_TYPE=3Dclang COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64= MACHINE=3Damd64 CPUTYPE=3D >=20 > CC=3D"cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_= clang/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.am= d64/usr/src/amd64.amd64/tmp/usr/bin" >=20 > CXX=3D"c++ -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd= 64_clang/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64= =2Eamd64/usr/src/amd64.amd64/tmp/usr/bin" CPP=3D"cpp -target x86_64-unkn= own-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd6= 4.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/us= r/bin" AS=3D"as" AR=3D"ar" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"= objcopy" RANLIB=3Dranlib STRINGS=3D SIZE=3D"size" PATH=3D/usr/obj/amd64= _clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/amd64= _clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/amd64_= clang/amd64.amd64/usr/src/amd64.amd64/tmp/legacy/bin:/usr/obj/amd64_clang= /amd64.amd64/usr/src/amd64.amd64/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.= amd64/usr/src/amd64.amd64/tmp/usr/bin:/tmp/install.hnB8rBdc LD_LIBRARY_P= ATH=3D/tmp/install.hnB8rBdc PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale m= ake -f Makefile.inc1 __MAKE_SHELL=3D/tmp/install.hnB8rBdc/sh reinstall= ; COMPILER_VERSION=3D50000 COMPILER_FEATURES=3Dc++11 COMPILER_TYPE=3Dc= lang COMPILER_FREEBSD_VERSION=3D1200007 MACHINE_ARCH=3Damd64 MACHINE=3D= amd64 CPUTYPE=3D CC=3D"cc -target x86_64-unknown-freebsd12.0 --sysroot=3D= /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64= _clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" CXX=3D"c++ -target x= 86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/us= r/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.am= d64/tmp/usr/bin" CPP=3D"cpp -target x86_64-unknown-freebsd12.0 --sysroot= =3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/am= d64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin" AS=3D"as" AR=3D"a= r" LD=3D"ld" LLVM_LINK=3D"" NM=3Dnm OBJCOPY=3D"objcopy" RANLIB=3Dranlib= STRINGS=3D SIZE=3D"size" PATH=3D/usr/obj/amd64_clang/amd64.amd64/usr/sr= c/amd64.amd64/tmp/legacy/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/sr= c/amd64.amd64/tmp/legacy/usr/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src= /amd64.amd64/tmp/legacy/bin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd6= 4.amd64/tmp/usr/sbin:/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64= /tmp/usr/bin:/tmp/install.hnB8rBdc LD_LIBRARY_PATH=3D/tmp/install.hnB8rB= dc PATH_LOCALE=3D/tmp/install.hnB8rBdc/locale rm -rf /tmp/install.hnB8rB= dc > --- reinstall --- > . . . >=20 > # more /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/compiler-me= tadata.mk > .info Using cached compiler metadata from build at FreeBSDx64OPC on Thu= Nov 2 23:02:54 PDT 2017 > COMPILER_VERSION=3D50000 > COMPILER_TYPE=3Dclang > COMPILER_FEATURES=3Dc++11 > COMPILER_FREEBSD_VERSION=3D1200007 > LINKER_VERSION=3D21750 > LINKER_TYPE=3Dbfd > .export COMPILER_VERSION COMPILER_TYPE COMPILER_FEATURES COMPILER_FR= EEBSD_VERSION LINKER_VERSION LINKER_TYPE >=20 >=20 > # more /root/src.configs/make.conf > CFLAGS.gcc+=3D -v >=20 > # more /root/src.configs/src.conf.amd64-clang.amd64-host > TO_TYPE=3Damd64 > # > KERNCONF=3DGENERIC-NODBG > TARGET=3D${TO_TYPE} > .if ${.MAKE.LEVEL} =3D=3D 0 > TARGET_ARCH=3D${TO_TYPE} > .export TARGET_ARCH > .endif > # > #WITH_CROSS_COMPILER=3D > WITH_SYSTEM_COMPILER=3D > # > WITH_LIBCPLUSPLUS=3D > WITH_BINUTILS_BOOTSTRAP=3D > WITH_ELFTOOLCHAIN_BOOTSTRAP=3D > #WITH_CLANG_BOOTSTRAP=3D > WITH_CLANG=3D > WITH_CLANG_IS_CC=3D > WITH_CLANG_FULL=3D > WITH_CLANG_EXTRAS=3D > WITH_LLD=3D > WITHOUT_LLD_IS_LD=3D > WITH_LLVM_LIBUNWIND=3D > WITH_LLDB=3D > #PORTS_MODULES=3Demulators/virtualbox-ose-additions > # > WITH_BOOT=3D > WITH_LIB32=3D > # > WITHOUT_GCC_BOOTSTRAP=3D > WITHOUT_GCC=3D > WITHOUT_GCC_IS_CC=3D > WITHOUT_GNUCXX=3D > # > NO_WERROR=3D > #WERROR=3D > MALLOC_PRODUCTION=3D > # > WITH_REPRODUCIBLE_BUILD=3D > WITH_DEBUG_FILES=3D >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 >>>> . . . >=20 >=20 >>>> Script started on Thu Nov 2 18:34:57 2017 >>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/de= v/null SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host W= ITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 m= ake -j4 buildworld buildkernel >>>> >>>> vs. >>>> >>>> Script started on Thu Nov 2 18:34:57 2017 >>>> Command: env __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/de= v/null SRC_ENV_CONF=3D/root/src.configs/src.conf.amd64-clang.amd64-host W= ITH_META_MODE=3Dyes MAKEOBJDIRPREFIX=3D/usr/obj/amd64_clang/amd64.amd64 m= ake -j4 buildworld buildkernel >>>> >>>> >>>> # svnlite status -u -r325351 /usr/src | sort >>>> * 320623 /usr/src/contrib/jemalloc/include/jemalloc/interna= l/tsd.h >>>> ? /usr/src/sys/amd64/conf/GENERIC-DBG >>>> ? /usr/src/sys/amd64/conf/GENERIC-NODBG >>>> ? /usr/src/sys/arm/conf/GENERIC-DBG >>>> ? /usr/src/sys/arm/conf/GENERIC-NODBG >>>> ? /usr/src/sys/arm64/conf/GENERIC-DBG >>>> ? /usr/src/sys/arm64/conf/GENERIC-NODBG >>>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-DBG >>>> ? /usr/src/sys/powerpc/conf/GENERIC64vtsc-NODBG >>>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-DBG >>>> ? /usr/src/sys/powerpc/conf/GENERICvtsc-NODBG >>>> M 325351 /usr/src/contrib/llvm/lib/Target/PowerPC/PPCFra= meLowering.cpp >>>> M 325351 /usr/src/contrib/llvm/tools/lld/ELF/Arch/PPC64.= cpp >>>> M 325351 /usr/src/crypto/openssl/crypto/armcap.c >>>> M 325351 /usr/src/lib/libkvm/kvm_powerpc.c >>>> M 325351 /usr/src/lib/libkvm/kvm_private.c >>>> M 325351 /usr/src/sys/arm/allwinner/aw_usbphy.c >>>> M 325351 /usr/src/sys/arm64/arm64/identcpu.c >>>> M 325351 /usr/src/sys/boot/fdt/dts/arm/a83t.dtsi >>>> M 325351 /usr/src/sys/boot/ofw/Makefile.inc >>>> M 325351 /usr/src/sys/boot/powerpc/Makefile.inc >>>> M 325351 /usr/src/sys/boot/powerpc/boot1.chrp/Makefile >>>> M 325351 /usr/src/sys/boot/powerpc/kboot/Makefile >>>> M 325351 /usr/src/sys/boot/uboot/Makefile.inc >>>> M 325351 /usr/src/sys/conf/kmod.mk >>>> M 325351 /usr/src/sys/conf/ldscript.powerpc >>>> M 325351 /usr/src/sys/kern/subr_pcpu.c >>>> M 325351 /usr/src/sys/powerpc/aim/mmu_oea64.c >>>> M 325351 /usr/src/sys/powerpc/ofw/ofw_machdep.c >>>> M 325351 /usr/src/sys/powerpc/powerpc/interrupt.c >>>> M 325351 /usr/src/sys/powerpc/powerpc/mp_machdep.c >>>> M 325351 /usr/src/sys/powerpc/powerpc/trap.c >>>> >>>> >>>> -------------------------------------------------------------- >>>>>>> stage 5.1: building lib32 shim libraries >>>> -------------------------------------------------------------- >>>> . . . >>>> --- obj --- >>>> --- lib/libgcc_eh__PL --- >>>> Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-li= b32/amd64.amd64/lib/libgcc_eh/libunwind.o >>>> --- gnu/lib/libssp/libssp_nonshared__PL --- >>>> Building /usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/obj-li= b32/amd64.amd64/gnu/lib/libssp/libssp_nonshared/_libinstall >>>> . . . >>>> . . . >>>> >>>> And so on. >>> >>> =3D=3D=3D >>> Mark Millard >>> markmi at dsl-only.net >>> >>> On 2017-Nov-2, at 5:30 PM, Bryan Drewery wrote= : >>> >>> On 11/2/17 3:44 PM, Mark Millard wrote: >>>>> Author: bdrewery >>>>> Date: Thu Nov 2 22:23:00 2017 >>>>> New Revision: 325347 >>>>> URL:=20 >>>>> https://svnweb.freebsd.org/changeset/base/325347 >>>>> >>>>> >>>>> Log: >>>>> Something is very wrong >>>>> >>>>> Modified: >>>>> head/Makefile >>>>> >>>>> Modified: head/Makefile >>>>> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D >>>>> --- head/Makefile Thu Nov 2 21:58:18 2017 (r325346) >>>>> +++ head/Makefile Thu Nov 2 22:23:00 2017 (r325347) >>>>> @@ -1,3 +1,4 @@ >>>>> +.error Bad revision, please wait for a fix in head >>>>> # >>>>> # $FreeBSD$ >>>>> # >>>> >>>> I just happened to have started a cross build before >>>> this showed up based on -r325332 . It got: >>>> >>>> --- clang-tblgen.full --- >>>> c++: error: no such file or directory: '/usr/obj/bpim3_clang/arm.arm= v7/usr/src/arm.armv7/tmp/obj-cross-tools/lib/clang/libllvmminimal/libllvm= minimal.a' >>>> *** [clang-tblgen.full] Error code 1 >>> >>> Someone else reported this one as well but I have not been able to >>> reproduce it yet. >>> >>> I've tweaked the commit causing it though, r325329. Fixed in r325350= =2E >>> >>>> >>>> But find shows: >>>> >>>> # find /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7 -name "libll= vmminimal*" -print | more >>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t= ools/lib/clang/libllvmminimal >>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t= ools/lib/clang/libllvmminimal/libllvmminimal.a >>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t= ools/lib/clang/libllvmminimal/libllvmminimal.a.meta >>>> >>>> Comparing side-by-side shows obj-cross-tools vs. >>>> obj-bootstrap-tools : >>>> >>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-cross-tools= /lib/clang/libllvmminimal/libllvmminimal.a >>>> /usr/obj/bpim3_clang/arm.armv7/usr/src/arm.armv7/tmp/obj-bootstrap-t= ools/lib/clang/libllvmminimal/libllvmminimal.a >>>> >>>> >>>> =3D=3D=3D >>>> Mark Millard >>>> markmi at dsl-only.net >>>> >>> >>> >> >=20 >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 >=20 --=20 Regards, Bryan Drewery --Sj9WbwQKuSxefhBt9QejV7GQV1LhtNgAI-- --Fmll73KadUoXti7Bl4A305nXqQsPrFkBH Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQEzBAEBCgAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAln8tgIACgkQNddxu25G l8/ABQgAj5T97PIOkH6FTVl34uOTDi1kGT2XU7bZLHWqAZfRdeP3g9i6fJqPDzV2 TTEmtsX1g5H+hmvCnl/G9TxQQ/tzSi4StKc/rYKica/nzYUdNDGiVqv3fqIqu/D5 mgT70TS2NIEZGMNusNRzzy3rVE6ak/wcWC6vDkU5OfTrPkBnseQsqT+fO6qnbtdK X+/V3kry4vxBMXtYYaghLZ6YIegsEZhrsi1VkuG0QTuSjGLREc0BbneNKQ6wjoJu sjVGkAGekH1UYXdEPhWMr0Myv1qtcZNlKuy4v5Wbac8Mc9Uzkfn7rQYZfe+A1HxR md9B+cCSHofUv8vQC2gUkNbpsoZcUw== =Apkb -----END PGP SIGNATURE----- --Fmll73KadUoXti7Bl4A305nXqQsPrFkBH-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 19:49:21 2017 Return-Path: Delivered-To: freebsd-toolchain@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 058E2E59870 for ; Fri, 3 Nov 2017 19:49:21 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-131.reflexion.net [208.70.210.131]) (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 B8D03708FB for ; Fri, 3 Nov 2017 19:49:20 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17400 invoked from network); 3 Nov 2017 19:42:39 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 3 Nov 2017 19:42:39 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Fri, 03 Nov 2017 15:42:39 -0400 (EDT) Received: (qmail 26719 invoked from network); 3 Nov 2017 19:42:38 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 3 Nov 2017 19:42:38 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 2B571EC92A1; Fri, 3 Nov 2017 12:42:38 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: Example of Bryan Drewery's "Something is very wrong" (from his disabling head/Makefile)?: obj-cross-tools path referenced but file is under obj-bootstrap-tools From: Mark Millard In-Reply-To: <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> Date: Fri, 3 Nov 2017 12:42:37 -0700 Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> To: Bryan Drewery X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 19:49:21 -0000 On 2017-Nov-3, at 11:31 AM, Bryan Drewery wrote: > On 11/3/17 1:52 AM, Mark Millard wrote: >> I did get another problem after buildworld, buildkernel, = installkernel >> without future source code dates: the installworld got a "cc not = found" >> for the amd64 native build based on -r325351 --that also appears to = be >> set up to report: >>=20 >> ERROR-tried-to-rebuild-during-make-install >>=20 >> if cc had been found: >>=20 >> .if defined(SRCTOP) >> # Prevent rebuilding during install to support read-only objdirs. >> .if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && = empty(.MAKE.MODE:Mmeta) >> CFLAGS+=3D ERROR-tried-to-rebuild-during-make-install >> .endif=20 >> .endif=20 >>=20 >=20 > This one usually only happens if it is trying to compile at = installtime, > which usually means a file is missing (wrong OBJDIR perhaps) or the > timestamps are off. >=20 > I'll play with this more and see what I can come up with, but I didn't > run into anything like this myself yet. I locally forced a -dm on the ${MAKE} command involved and the result reported: Examining beforeinstall...non-existent....PHONY node...out-of-date. recheck(beforeinstall): update time from 16:00:00 Dec 31, 1969 to now Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. Examining autoload.c...modified 2:27:17 Nov 03, 2016...up-to-date. Examining autoload.o...modified 0:10:12 Nov 03, 2017...modified before = source x86...out-of-date. cc -target x86_64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp = -B/usr/obj/amd64_clang/amd64.amd64/usr/src/amd64.amd64/tmp/usr/bin -O2 = -pipe -ffreestanding -Wformat -mno-mmx -mno-sse -mno-avx -msoft-float = -fshort-wchar -mno-red-zone -mno-aes -DLOADER_UFS_SUPPORT = -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MBR_SUPPORT = -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/boot/zfs = -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader = -I/usr/src/sys/boot/efi/loader/arch/amd64 = -I/usr/src/sys/boot/efi/include -I/usr/src/sys/boot/efi/include/amd64 = -I/usr/src/sys/contrib/dev/acpica/include -I/usr/src/sys = -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DSMBIOS_SERIAL_NUMBERS = -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot/ficl = -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FORTH = -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall = -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes = -Wmissing-prototypes -Wpointer-arith -Wno-uninitialized = -Wno-pointer-sign -Wno-empty-body -Wno-string-plus-int = -Wno-unused-const-variable -Wno-tautological-compare -Wno-unused-value = -Wno-parentheses-equality -Wno-unused-function -Wno-enum-conversion = -Wno-unused-local-typedef -Wno-address-of-packed-member = -Qunused-arguments ERROR-tried-to-rebuild-during-make-install -c = /usr/src/sys/boot/efi/loader/autoload.c -o autoload.o /tmp/install.intsn5IS/sh: cc: not found *** Error code 127 So far I've not found anything with matching times for: Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. But the reason for rebuild is listed as: modified before source x86...out-of-date. I'll keep looking. The odd time (future) is in the ball park of others from when the virtual machine apparently had a bad time setting. I'm not sure if the x86 is a file vs. a directory here. A directory would seem a bit strange for forcing a rebuild. (Similarly for machine.) =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Fri Nov 3 19:59:48 2017 Return-Path: Delivered-To: freebsd-toolchain@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 B28A4E59CAA; Fri, 3 Nov 2017 19:59:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7831870E3A; Fri, 3 Nov 2017 19:59:48 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id A277DCF0; Fri, 3 Nov 2017 19:59:47 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id D31EA28E1; Fri, 3 Nov 2017 19:59:46 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id bROGNdKSJApM; Fri, 3 Nov 2017 19:59:43 +0000 (UTC) Subject: sys/boot machine symlink dirs causing rebuild [was Re: Example of Bryan Drewery's "Something is very wrong" ...] DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com B140A28DC To: Mark Millard Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Fri, 3 Nov 2017 12:59:27 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cpHBcDaQVNXKcv8H5hLaoTSPt7QovStJR" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 19:59:48 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --cpHBcDaQVNXKcv8H5hLaoTSPt7QovStJR Content-Type: multipart/mixed; boundary="gH2GsuUNtt2oJg0voc1V9xcdpDwdJCvVs"; protected-headers="v1" From: Bryan Drewery To: Mark Millard Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Message-ID: Subject: sys/boot machine symlink dirs causing rebuild [was Re: Example of Bryan Drewery's "Something is very wrong" ...] References: <40F1D1F0-A67D-4BF9-9936-EF07A9E01912@dsl-only.net> <83ae760f-7bd5-811c-f32e-9d8f03074b49@FreeBSD.org> <20E6AE67-83F8-40D5-A4DA-01C02FA0A02B@dsl-only.net> <6E2B2A5E-A52E-4027-B73B-C6E78D9C0EED@dsl-only.net> <8D698E5D-C986-4FBA-BD56-6BA4E7D7F519@dsl-only.net> <12bff2b7-655d-b236-5f96-d405870e53d0@FreeBSD.org> <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> In-Reply-To: <25840EFC-69DD-4A2A-B89A-0D6D51C9BA14@dsl-only.net> --gH2GsuUNtt2oJg0voc1V9xcdpDwdJCvVs Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/3/2017 12:42 PM, Mark Millard wrote: > On 2017-Nov-3, at 11:31 AM, Bryan Drewery wrote:= >=20 >> On 11/3/17 1:52 AM, Mark Millard wrote: >>> I did get another problem after buildworld, buildkernel, installkerne= l >>> without future source code dates: the installworld got a "cc not foun= d" >>> for the amd64 native build based on -r325351 --that also appears to b= e >>> set up to report: >>> >>> ERROR-tried-to-rebuild-during-make-install >>> >>> if cc had been found: >>> >>> .if defined(SRCTOP) >>> # Prevent rebuilding during install to support read-only objdirs. >>> .if ${.TARGETS:M*install*} =3D=3D ${.TARGETS} && empty(.MAKE.MODE:Mme= ta) >>> CFLAGS+=3D ERROR-tried-to-rebuild-during-make-install >>> .endif=20 >>> .endif=20 >>> >> >> This one usually only happens if it is trying to compile at installtim= e, >> which usually means a file is missing (wrong OBJDIR perhaps) or the >> timestamps are off. >> >> I'll play with this more and see what I can come up with, but I didn't= >> run into anything like this myself yet. >=20 > I locally forced a -dm on the ${MAKE} command involved > and the result reported: >=20 > Examining beforeinstall...non-existent....PHONY node...out-of-date. > recheck(beforeinstall): update time from 16:00:00 Dec 31, 1969 to now > Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. > Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. > Examining autoload.c...modified 2:27:17 Nov 03, 2016...up-to-date. > Examining autoload.o...modified 0:10:12 Nov 03, 2017...modified before= source x86...out-of-date. > cc -target x86_64-unknown-freebsd12.0 --sysroot=3D/usr/obj/amd64_clang/= amd64.amd64/usr/src/amd64.amd64/tmp -B/usr/obj/amd64_clang/amd64.amd64/us= r/src/amd64.amd64/tmp/usr/bin -O2 -pipe -ffreestanding -Wformat -mno-m= mx -mno-sse -mno-avx -msoft-float -fshort-wchar -mno-red-zone -mno-aes -D= LOADER_UFS_SUPPORT -DLOADER_DISK_SUPPORT -DLOADER_GPT_SUPPORT -DLOADER_MB= R_SUPPORT -DLOADER_GELI_SUPPORT -I/usr/src/sys/boot/libsa -I/usr/src/sys/= boot/zfs -DEFI_ZFS_BOOT -fPIC -DTERM_EMU -I/usr/src/sys/boot/efi/loader -= I/usr/src/sys/boot/efi/loader/arch/amd64 -I/usr/src/sys/boot/efi/include = -I/usr/src/sys/boot/efi/include/amd64 -I/usr/src/sys/contrib/dev/acpica/i= nclude -I/usr/src/sys -I/usr/src/sys/boot/i386/libi386 -DNO_PCI -DEFI -DS= MBIOS_SERIAL_NUMBERS -I/usr/src/sys/boot/common -fPIC -I/usr/src/sys/boot= /ficl -I/usr/src/sys/boot/ficl/amd64 -I/usr/src/sys/boot/common -DBOOT_FO= RTH -DBF_DICTSIZE=3D15000 -g -std=3Dgnu99 -Wsystem-headers -Wall -Wno-fo= rmat-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototype= s -Wpointer-arith -Wno-uninitialized -Wno-pointer-sign -Wno-empty-body -W= no-string-plus-int -Wno-unused-const-variable -Wno-tautological-compare -= Wno-unused-value -Wno-parentheses-equality -Wno-unused-function -Wno-enum= -conversion -Wno-unused-local-typedef -Wno-address-of-packed-member -Qun= used-arguments ERROR-tried-to-rebuild-during-make-install -c /usr/src/sy= s/boot/efi/loader/autoload.c -o autoload.o > /tmp/install.intsn5IS/sh: cc: not found > *** Error code 127 >=20 > So far I've not found anything with matching times for: >=20 > Examining machine...modified 20:13:03 Nov 03, 2017...up-to-date. > Examining x86...modified 20:13:07 Nov 03, 2017...up-to-date. >=20 > But the reason for rebuild is listed as: >=20 > modified before source x86...out-of-date. >=20 > I'll keep looking. The odd time (future) is in the > ball park of others from when the virtual machine > apparently had a bad time setting. >=20 > I'm not sure if the x86 is a file vs. a directory > here. A directory would seem a bit strange for > forcing a rebuild. (Similarly for machine.) It's these dependencies on a symlink: sys/boot/efi/boot1/Makefile:beforedepend ${OBJS}: x86 sys/boot/efi/loader/Makefile:beforedepend ${OBJS}: x86 A similar symlink is done for kernel modules but it avoids the problem you're hitting through various fixes such as in r72935 and r315459. I'll work on a fix. (It's unrelated to my recent changes) >=20 > =3D=3D=3D > Mark Millard > markmi at dsl-only.net >=20 --=20 Regards, Bryan Drewery --gH2GsuUNtt2oJg0voc1V9xcdpDwdJCvVs-- --cpHBcDaQVNXKcv8H5hLaoTSPt7QovStJR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZ/MqgAAoJEDXXcbtuRpfPyWIH/24lgYdX+y0hnEqIlC4HE8Ib jC5AvvGjVuccU1+vlkUpygd0555Sa/SmOL+wDuVeMYwTOMO/tg4hq+bZhzVRjmJc sKeKHLSXhIrdbrIPV3HhNdkdozBqBe49HqD8hm9hN3JMwrl6XMjBlH83sZ+jIqQX BP05EwnOTrLfgFbKgbP1nqOrMCaj5YvLphUrx5GlOFpLG2VMdIy6o6ZzYQu+EjIp TR2w6CNcKlyoNVfe+gyIp3ntCxuCjHgNwtrtB+nLv+EJR3hjNRa5q92tU7lMez6M O99toYYM1RUrwC/0jS+17NGbUHIBFvOZSgL0/MrOxMqwiQ9abh+coAVuQkk+S8Q= =nYgb -----END PGP SIGNATURE----- --cpHBcDaQVNXKcv8H5hLaoTSPt7QovStJR-- From owner-freebsd-toolchain@freebsd.org Fri Nov 3 20:14:45 2017 Return-Path: Delivered-To: freebsd-toolchain@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 2C99BE5A646; Fri, 3 Nov 2017 20:14:45 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [96.47.72.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "freefall.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E8AAA719E4; Fri, 3 Nov 2017 20:14:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (unknown [127.0.1.132]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by freefall.freebsd.org (Postfix) with ESMTPS id 32C771084; Fri, 3 Nov 2017 20:14:44 +0000 (UTC) (envelope-from bdrewery@FreeBSD.org) Received: from mail.xzibition.com (localhost [172.31.3.2]) by mail.xzibition.com (Postfix) with ESMTP id 677C7294F; Fri, 3 Nov 2017 20:14:43 +0000 (UTC) X-Virus-Scanned: amavisd-new at mail.xzibition.com Received: from mail.xzibition.com ([172.31.3.2]) by mail.xzibition.com (mail.xzibition.com [172.31.3.2]) (amavisd-new, port 10026) with LMTP id 5y_0oqwgkR1k; Fri, 3 Nov 2017 20:14:41 +0000 (UTC) Subject: Re: Head build unsafe for /etc today DKIM-Filter: OpenDKIM Filter v2.9.2 mail.xzibition.com CB85F294A To: Warner Losh , Steve Kargl Cc: Bryan Drewery , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> <20171103035010.GA89291@troutmask.apl.washington.edu> From: Bryan Drewery Openpgp: id=F9173CB2C3AAEA7A5C8A1F0935D771BB6E4697CF; url=http://www.shatow.net/bryan/bryan2.asc Organization: FreeBSD Message-ID: Date: Fri, 3 Nov 2017 13:14:41 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wiioQvcaKxm3suMQEJgeuwFrWB3r7dhgL" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2017 20:14:45 -0000 This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --wiioQvcaKxm3suMQEJgeuwFrWB3r7dhgL Content-Type: multipart/mixed; boundary="sMmqS4jPc55kdoMm9S01tPXebAqT1JCHe"; protected-headers="v1" From: Bryan Drewery To: Warner Losh , Steve Kargl Cc: Bryan Drewery , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Message-ID: Subject: Re: Head build unsafe for /etc today References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> <20171103035010.GA89291@troutmask.apl.washington.edu> In-Reply-To: --sMmqS4jPc55kdoMm9S01tPXebAqT1JCHe Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: quoted-printable On 11/2/2017 8:58 PM, Warner Losh wrote: > FreeBSD has grown too big to test every possible thing before you commi= t. The build itself is massive. I usually forget about release/ and the new 'make packages', external toolchain, "old style" kernel builds, etc. Steve's concerns have validity. I do think it's time we have an automated suite to test most build cases for things like bmake upgrades or other high risk changes like META_MODE. I'll think about this and add to my list of things to implement. --=20 Regards, Bryan Drewery --sMmqS4jPc55kdoMm9S01tPXebAqT1JCHe-- --wiioQvcaKxm3suMQEJgeuwFrWB3r7dhgL Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBAgAGBQJZ/M4xAAoJEDXXcbtuRpfPnrcH+wZRI66SY7o81bAnAPteK3+q AaXZLVPL5cKhxAWKLwUQxap9BVXHA5FSMqvAS+bDdpolvgM/d0WhGhE9BR9Ge+KT BzFlfxmciq0iDtfx/xRNcDyl4DMkcweW97r4WKGiKyo+6pjoyfnvE8BF8SvWQ1CW i/B+3GuS+4wyy6IayuuQyOLKoIhIk74Fff5hygAepGJB07O/8bjOL2HNGSabKhUH QjyXA25KaMTwyfp5tRAtEeQFKHSV6cKJNRUXMG4tWfmQkuMhzYU63UO7Q/RBonJq Fec/ZYXBFwoHeyRMtz9uGkei947PMJV2C9MZKgU9p/CaTPZ+JUJ5XnLcH6h3mYI= =1sS2 -----END PGP SIGNATURE----- --wiioQvcaKxm3suMQEJgeuwFrWB3r7dhgL-- From owner-freebsd-toolchain@freebsd.org Sat Nov 4 04:31:43 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A181CE64490 for ; Sat, 4 Nov 2017 04:31:43 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-148.reflexion.net [208.70.210.148]) (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 5082584AA0 for ; Sat, 4 Nov 2017 04:31:42 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 5632 invoked from network); 4 Nov 2017 04:24:56 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 04:24:56 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 00:24:56 -0400 (EDT) Received: (qmail 20041 invoked from network); 4 Nov 2017 04:24:56 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 04:24:56 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 61E72EC8F8E; Fri, 3 Nov 2017 21:24:55 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: ld (a.k.a. ld.lld) for amd64 -r325369 -> aarch64 cross buildworld is messed up: ld just says "Invalid argument" (input files for libc.so.7.full) Message-Id: <7261E10B-FF6E-42CA-92D7-5C57B0707C53@dsl-only.net> Date: Fri, 3 Nov 2017 21:24:54 -0700 To: FreeBSD Toolchain , freebsd-arm , FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 04:31:43 -0000 Context: # uname -apKU FreeBSD FreeBSDx64OPC 12.0-CURRENT FreeBSD 12.0-CURRENT r325369M amd64 = amd64 1200052 1200052 Problem: While I show the buildworld error report later, even simple ld commands that list a input file to the amd64 -> aarch64 cross build's ld (a.k.a. ld.lld) file get messages like: = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file a.out: Invalid argument The "cannot open output file" is always part of the message and tracks any -o NAME given. But not listing -o NAME at all gives the above: a reference to a.out . The above message is after eliminating all command line options and it still got such a message. For reference: # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: symbolic link to ld.lld # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), = statically linked, for FreeBSD 12.0 (1200052), FreeBSD-style, not = stripped (Could statically linked programs still have problems?) --- libc.so.7.full --- building shared library libc.so.7 = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file libc.so.7.full: Invalid argument cc: error: linker command failed with exit code 1 (use -v to see = invocation) *** [libc.so.7.full] Error code 1 make[4]: stopped in /usr/src/lib/libc .ERROR_TARGET=3D'libc.so.7.full' = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f libc.so.7 = libc.so; cc -mcpu=3Dcortex-a53 -target aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' .CURDIR=3D'/usr/src/lib/libc' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm64' MACHINE_ARCH=3D'aarch64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' 1 error make[4]: stopped in /usr/src/lib/libc .ERROR_TARGET=3D'libc.so.7.full' = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' .MAKE.LEVEL=3D'4' MAKEFILE=3D'' .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes = verbose' _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f libc.so.7 = libc.so; cc -mcpu=3Dcortex-a53 -target aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' .CURDIR=3D'/usr/src/lib/libc' .MAKE=3D'make' = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' .TARGETS=3D'all' = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' LD_LIBRARY_PATH=3D'' MACHINE=3D'arm64' MACHINE_ARCH=3D'aarch64' MAKEOBJDIRPREFIX=3D'' MAKESYSPATH=3D'/usr/src/share/mk' MAKE_VERSION=3D'20171028' = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' SRCTOP=3D'/usr/src' OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64' .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' *** [lib/libc__L] Error code 2 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 05:36:35 2017 Return-Path: Delivered-To: freebsd-toolchain@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 6D1EFE6596D for ; Sat, 4 Nov 2017 05:36:35 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-150.reflexion.net [208.70.210.150]) (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 EF5EF19AA for ; Sat, 4 Nov 2017 05:36:34 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 313 invoked from network); 4 Nov 2017 05:36:28 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 05:36:28 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 01:36:28 -0400 (EDT) Received: (qmail 25467 invoked from network); 4 Nov 2017 05:36:28 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 05:36:28 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 81AE7EC92A1; Fri, 3 Nov 2017 22:36:27 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ld (a.k.a. ld.lld) for amd64 -r325369 -> aarch64 cross buildworld is messed up: ld just says "Invalid argument" [vs. binutils ld: R_AARCH64_ABS64 used with TLS symbol] Date: Fri, 3 Nov 2017 22:36:26 -0700 References: <7261E10B-FF6E-42CA-92D7-5C57B0707C53@dsl-only.net> To: FreeBSD Toolchain , freebsd-arm , FreeBSD Current In-Reply-To: <7261E10B-FF6E-42CA-92D7-5C57B0707C53@dsl-only.net> Message-Id: <07D2D2E0-4863-43D6-AAF2-6C662DE369FA@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 05:36:35 -0000 [Forcing use of /usr/local/aarch64-freebsd/bin/ld and other aarch64-binutils-2.28,1 material for the aarch64 links: that fails too, but with messages that are more informative (but might be independent): "R_AARCH64_ABS64 used with TLS symbol".] > On 2017-Nov-3, at 9:24 PM, Mark Millard wrote: >=20 > Context: >=20 > # uname -apKU > FreeBSD FreeBSDx64OPC 12.0-CURRENT FreeBSD 12.0-CURRENT r325369M = amd64 amd64 1200052 1200052 >=20 >=20 > Problem: >=20 > While I show the buildworld error report later, > even simple ld commands that list a input file > to the amd64 -> aarch64 cross build's ld (a.k.a. > ld.lld) file get messages like: >=20 > = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file a.out: Invalid argument >=20 > The "cannot open output file" is always part of > the message and tracks any -o NAME given. But > not listing -o NAME at all gives the above: > a reference to a.out . Well I tried forcing the use of aarch64-binutils-2.28,1 ( /usr/local/aarch64-freebsd/bin/* ) materials. The result was failure at the same place but with messages that look to be more informative: --- libc.so.7.full --- building shared library libc.so.7 /usr/local/aarch64-freebsd/bin/ld: getutxent.pico(.debug_info+0x3c): = R_AARCH64_ABS64 used with TLS symbol udb /usr/local/aarch64-freebsd/bin/ld: getutxent.pico(.debug_info+0x59): = R_AARCH64_ABS64 used with TLS symbol uf /usr/local/aarch64-freebsd/bin/ld: utxdb.pico(.debug_info+0x5b): = R_AARCH64_ABS64 used with TLS symbol futx_to_utx.ut /usr/local/aarch64-freebsd/bin/ld: jemalloc_tsd.pico(.debug_info+0x3d): = R_AARCH64_ABS64 used with TLS symbol __je_tsd_tls /usr/local/aarch64-freebsd/bin/ld: = jemalloc_tsd.pico(.debug_info+0x134c): R_AARCH64_ABS64 used with TLS = symbol __je_tsd_initialized /usr/local/aarch64-freebsd/bin/ld: = cxa_thread_atexit_impl.pico(.debug_info+0x3c): R_AARCH64_ABS64 used with = TLS symbol dtors /usr/local/aarch64-freebsd/bin/ld: xlocale.pico(.debug_info+0x407): = R_AARCH64_ABS64 used with TLS symbol __thread_locale /usr/local/aarch64-freebsd/bin/ld: setrunelocale.pico(.debug_info+0x3d): = R_AARCH64_ABS64 used with TLS symbol _ThreadRuneLocale cc: error: linker command failed with exit code 1 (use -v to see = invocation) Of course it may be an independent issue. In fact this seems familiar for .debug_info material (from before use of ld.lld ). > The above message is after eliminating all command line options > and it still got such a message. For reference: >=20 > # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d > = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: symbolic link to ld.lld >=20 > # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld > = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), = statically linked, for FreeBSD 12.0 (1200052), FreeBSD-style, not = stripped >=20 > (Could statically linked programs still > have problems?) >=20 > --- libc.so.7.full --- > building shared library libc.so.7 > = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file libc.so.7.full: Invalid argument > cc: error: linker command failed with exit code 1 (use -v to see = invocation) > *** [libc.so.7.full] Error code 1 >=20 > make[4]: stopped in /usr/src/lib/libc > .ERROR_TARGET=3D'libc.so.7.full' > = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -mcpu=3Dcortex-a53 -target = aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' > .CURDIR=3D'/usr/src/lib/libc' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' > .TARGETS=3D'all' > = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'arm64' > MACHINE_ARCH=3D'aarch64' > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20171028' > = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' > .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' > 1 error >=20 > make[4]: stopped in /usr/src/lib/libc > .ERROR_TARGET=3D'libc.so.7.full' > = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' > .MAKE.LEVEL=3D'4' > MAKEFILE=3D'' > .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes silent=3Dyes= verbose' > _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -mcpu=3Dcortex-a53 -target = aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' > .CURDIR=3D'/usr/src/lib/libc' > .MAKE=3D'make' > = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' > .TARGETS=3D'all' > = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' > LD_LIBRARY_PATH=3D'' > MACHINE=3D'arm64' > MACHINE_ARCH=3D'aarch64' > MAKEOBJDIRPREFIX=3D'' > MAKESYSPATH=3D'/usr/src/share/mk' > MAKE_VERSION=3D'20171028' > = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' > SRCTOP=3D'/usr/src' > OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64' > .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' > .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' > *** [lib/libc__L] Error code 2 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 08:45:41 2017 Return-Path: Delivered-To: freebsd-toolchain@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 ABF61E686F2 for ; Sat, 4 Nov 2017 08:45:41 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-144.reflexion.net [208.70.210.144]) (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 57400655D7 for ; Sat, 4 Nov 2017 08:45:40 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 13446 invoked from network); 4 Nov 2017 08:45:34 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 08:45:34 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 04:45:34 -0400 (EDT) Received: (qmail 11452 invoked from network); 4 Nov 2017 08:45:34 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 08:45:34 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 3F56DEC94AA; Sat, 4 Nov 2017 01:45:33 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ld (a.k.a. ld.lld) for amd64 -r325369 -> aarch64 cross buildworld is messed up: ld just says "Invalid argument" [vs. binutils ld: R_AARCH64_ABS64 used with TLS symbol] Date: Sat, 4 Nov 2017 01:45:32 -0700 References: <7261E10B-FF6E-42CA-92D7-5C57B0707C53@dsl-only.net> <07D2D2E0-4863-43D6-AAF2-6C662DE369FA@dsl-only.net> To: FreeBSD Toolchain , freebsd-arm , FreeBSD Current In-Reply-To: <07D2D2E0-4863-43D6-AAF2-6C662DE369FA@dsl-only.net> Message-Id: X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 08:45:41 -0000 [Top post: contrast with a combination using aarch64-binutils-2.28,1 that does build.] I've found one combination that works: Use of /usr/local/aarch64-freebsd/bin/* binutils materials mixed with use of WITHOUT_DEBUG_FILES=3D=20 With that it was able to build libc.so.7 and, so, continue with the build --all the way to completion. For ld.lld, use of WITHOUT_DEBUG_FILES=3D still failed the same way as the original use of WITH_DEBUG_FILES=3D . Prior notes: > On 2017-Nov-3, at 10:36 PM, Mark Millard wrote: >=20 > [Forcing use of /usr/local/aarch64-freebsd/bin/ld > and other aarch64-binutils-2.28,1 material for the > aarch64 links: that fails too, but with messages > that are more informative (but might be > independent): "R_AARCH64_ABS64 used with TLS > symbol".] >=20 >> On 2017-Nov-3, at 9:24 PM, Mark Millard wrote: >>=20 >> Context: >>=20 >> # uname -apKU >> FreeBSD FreeBSDx64OPC 12.0-CURRENT FreeBSD 12.0-CURRENT r325369M = amd64 amd64 1200052 1200052 >>=20 >>=20 >> Problem: >>=20 >> While I show the buildworld error report later, >> even simple ld commands that list a input file >> to the amd64 -> aarch64 cross build's ld (a.k.a. >> ld.lld) file get messages like: >>=20 >> = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file a.out: Invalid argument >>=20 >> The "cannot open output file" is always part of >> the message and tracks any -o NAME given. But >> not listing -o NAME at all gives the above: >> a reference to a.out . >=20 > Well I tried forcing the use of > aarch64-binutils-2.28,1 > ( /usr/local/aarch64-freebsd/bin/* ) > materials. The result was failure at > the same place but with messages that > look to be more informative: >=20 > --- libc.so.7.full --- > building shared library libc.so.7 > /usr/local/aarch64-freebsd/bin/ld: getutxent.pico(.debug_info+0x3c): = R_AARCH64_ABS64 used with TLS symbol udb > /usr/local/aarch64-freebsd/bin/ld: getutxent.pico(.debug_info+0x59): = R_AARCH64_ABS64 used with TLS symbol uf > /usr/local/aarch64-freebsd/bin/ld: utxdb.pico(.debug_info+0x5b): = R_AARCH64_ABS64 used with TLS symbol futx_to_utx.ut > /usr/local/aarch64-freebsd/bin/ld: = jemalloc_tsd.pico(.debug_info+0x3d): R_AARCH64_ABS64 used with TLS = symbol __je_tsd_tls > /usr/local/aarch64-freebsd/bin/ld: = jemalloc_tsd.pico(.debug_info+0x134c): R_AARCH64_ABS64 used with TLS = symbol __je_tsd_initialized > /usr/local/aarch64-freebsd/bin/ld: = cxa_thread_atexit_impl.pico(.debug_info+0x3c): R_AARCH64_ABS64 used with = TLS symbol dtors > /usr/local/aarch64-freebsd/bin/ld: xlocale.pico(.debug_info+0x407): = R_AARCH64_ABS64 used with TLS symbol __thread_locale > /usr/local/aarch64-freebsd/bin/ld: = setrunelocale.pico(.debug_info+0x3d): R_AARCH64_ABS64 used with TLS = symbol _ThreadRuneLocale > cc: error: linker command failed with exit code 1 (use -v to see = invocation) >=20 > Of course it may be an independent issue. > In fact this seems familiar for .debug_info > material (from before use of ld.lld ). >=20 >> The above message is after eliminating all command line options >> and it still got such a message. For reference: >>=20 >> # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d >> = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: symbolic link to ld.lld >>=20 >> # file = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld >> = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d.lld: ELF 64-bit LSB executable, x86-64, version 1 (FreeBSD), = statically linked, for FreeBSD 12.0 (1200052), FreeBSD-style, not = stripped >>=20 >> (Could statically linked programs still >> have problems?) >>=20 >> --- libc.so.7.full --- >> building shared library libc.so.7 >> = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file libc.so.7.full: Invalid argument >> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >> *** [libc.so.7.full] Error code 1 >>=20 >> make[4]: stopped in /usr/src/lib/libc >> .ERROR_TARGET=3D'libc.so.7.full' >> = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' >> .MAKE.LEVEL=3D'4' >> MAKEFILE=3D'' >> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes = silent=3Dyes verbose' >> _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -mcpu=3Dcortex-a53 -target = aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' >> .CURDIR=3D'/usr/src/lib/libc' >> .MAKE=3D'make' >> = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' >> .TARGETS=3D'all' >> = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' >> LD_LIBRARY_PATH=3D'' >> MACHINE=3D'arm64' >> MACHINE_ARCH=3D'aarch64' >> MAKEOBJDIRPREFIX=3D'' >> MAKESYSPATH=3D'/usr/src/share/mk' >> MAKE_VERSION=3D'20171028' >> = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' >> SRCTOP=3D'/usr/src' >> OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64'= >> .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' >> .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' >> 1 error >>=20 >> make[4]: stopped in /usr/src/lib/libc >> .ERROR_TARGET=3D'libc.so.7.full' >> = .ERROR_META_FILE=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.a= arch64/lib/libc/libc.so.7.full.meta' >> .MAKE.LEVEL=3D'4' >> MAKEFILE=3D'' >> .MAKE.MODE=3D'meta missing-filemon=3Dyes missing-meta=3Dyes = silent=3Dyes verbose' >> _ERROR_CMD=3D'@echo building shared library libc.so.7; @rm -f = libc.so.7 libc.so; cc -mcpu=3Dcortex-a53 -target = aarch64-unknown-freebsd12.0 = --sysroot=3D/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/t= mp = -B/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin= -nodefaultlibs -Wl,--version-script=3DVersion.map -shared -Wl,-x = -Wl,--fatal-warnings -Wl,--warn-shared-textrel -o libc.so.7.full = -Wl,-soname,libc.so.7 `NM=3D'nm' NMFLAGS=3D'' lorder machdep_ldisQ.pico = bt_close.pico bt_conv.pico bt_debug.pico bt_delete.pico bt_get.pico = bt_open.pico bt_overflow.pico bt_page.pico bt_put.pico bt_search.pico = bt_seq.pico bt_split.pico bt_utils.pico db.pico hash.pico = hash_bigkey.pico hash_buf.pico hash_func.pico hash_log2.pico = hash_page.pico ndbm.pico mpool.pico mpool-compat.pico rec_close.pico = rec_delete.pico rec_get.pico rec_open.pico rec_put.pico rec_search.pico = rec_seq.pico rec_utils.pico creat.pico gethostid.pico getwd.pico = killpg.pico sethostid.pico setpgrp.pico setrgid.pico setruid.pico = sigcompat.pico __getosreldate.pico = __pthread_mutex_init_calloc_cb_stub.pico __xuname.pico _once_stub.pico = _pthread_stubs.pico _rand48.pico _spinlock_stub.pico _thread_init.pico = alarm.pico arc4random.pico assert.pico auxv.pico basename.pico = basename_compat.pico cap_sandboxed.pico check_utility_compat.pico = clock.pico clock_getcpuclockid.pico closedir.pico confstr.pico = crypt.pico ctermid.pico daemon.pico devname.pico dirfd.pico dirname.pico = dirname_compat.pico disklabel.pico dlfcn.pico drand48.pico dup3.pico = elf_utils.pico erand48.pico err.pico errlst.pico errno.pico exec.pico = fdevname.pico feature_present.pico fmtcheck.pico fmtmsg.pico = fnmatch.pico fpclassify.pico frexp.pico fstab.pico ftok.pico fts.pico = ftw.pico getbootfile.pico getbsize.pico getcap.pico getcwd.pico = getdomainname.pico getgrent.pico getgrouplist.pico gethostname.pico = getloadavg.pico getlogin.pico getmntinfo.pico getnetgrent.pico = getosreldate.pico getpagesize.pico getpagesizes.pico getpeereid.pico = getprogname.pico getpwent.pico getttyent.pico getusershell.pico = getutxent.pico getvfsbyname.pico glob.pico initgroups.pico isatty.pico = isinf.pico isnan.pico jrand48.pico lcong48.pico libc_dlopen.pico = lockf.pico lrand48.pico mrand48.pico nftw.pico nice.pico nlist.pico = nrand48.pico opendir.pico pause.pico pmadvise.pico popen.pico = posix_spawn.pico psignal.pico pututxline.pico pw_scan.pico raise.pico = readdir.pico readpassphrase.pico recvmmsg.pico rewinddir.pico = scandir.pico seed48.pico seekdir.pico semctl.pico sendmmsg.pico = setdomainname.pico sethostname.pico setjmperr.pico setmode.pico = setproctitle.pico setprogname.pico siginterrupt.pico siglist.pico = signal.pico sigsetops.pico sleep.pico srand48.pico statvfs.pico = stringlist.pico strtofflags.pico sysconf.pico sysctl.pico = sysctlbyname.pico sysctlnametomib.pico syslog.pico telldir.pico = termios.pico time.pico times.pico timezone.pico tls.pico ttyname.pico = ttyslot.pico ualarm.pico ulimit.pico uname.pico usleep.pico utime.pico = utxdb.pico valloc.pico wait.pico wait3.pico waitpid.pico waitid.pico = wordexp.pico devname-compat11.pico fts-compat.pico fts-compat11.pico = ftw-compat11.pico getmntinfo-compat11.pico glob-compat11.pico = nftw-compat11.pico readdir-compat11.pico scandir-compat11.pico = unvis-compat.pico pwcache.pico unvis.pico vis.pico cancelpoints_sem.pico = cancelpoints_sem_new.pico _ctx_start.pico fabs.pico flt_rounds.pico = fpgetmask.pico fpsetmask.pico infinity.pico ldexp.pico makecontext.pico = _setjmp.pico _set_tp.pico setjmp.pico sigsetjmp.pico = trivial-getcontextx.pico gmon.pico mcount.pico citrus_bcs.pico = citrus_bcs_strtol.pico citrus_bcs_strtoul.pico citrus_csmapper.pico = citrus_db.pico citrus_db_factory.pico citrus_db_hash.pico = citrus_esdb.pico citrus_hash.pico citrus_iconv.pico citrus_lookup.pico = citrus_lookup_factory.pico citrus_mapper.pico citrus_memstream.pico = citrus_mmap.pico citrus_module.pico citrus_none.pico = citrus_pivot_factory.pico citrus_prop.pico citrus_stdenc.pico = bsd_iconv.pico iconv_compat.pico inet_addr.pico inet_cidr_ntop.pico = inet_cidr_pton.pico inet_lnaof.pico inet_makeaddr.pico = inet_net_ntop.pico inet_net_pton.pico inet_neta.pico inet_netof.pico = inet_network.pico inet_ntoa.pico inet_ntop.pico inet_pton.pico = nsap_addr.pico ev_streams.pico ev_timers.pico ascii.pico big5.pico = btowc.pico collate.pico collcmp.pico euc.pico fix_grouping.pico = gb18030.pico gb2312.pico gbk.pico ctype.pico isctype.pico iswctype.pico = ldpart.pico lmessages.pico lmonetary.pico lnumeric.pico localeconv.pico = mblen.pico mbrlen.pico mbrtowc.pico mbsinit.pico mbsnrtowcs.pico = mbsrtowcs.pico mbtowc.pico mbstowcs.pico mskanji.pico nextwctype.pico = nl_langinfo.pico nomacros.pico none.pico rpmatch.pico rune.pico = runetype.pico setlocale.pico setrunelocale.pico table.pico tolower.pico = toupper.pico utf8.pico wcrtomb.pico wcsnrtombs.pico wcsrtombs.pico = wcsftime.pico wcstof.pico wcstod.pico wcstoimax.pico wcstol.pico = wcstold.pico wcstoll.pico wcstombs.pico wcstoul.pico wcstoull.pico = wcstoumax.pico wctob.pico wctomb.pico wctrans.pico wctype.pico = wcwidth.pico xlocale.pico c16rtomb_iconv.pico c32rtomb_iconv.pico = mbrtoc16_iconv.pico mbrtoc32_iconv.pico md5c.pico ns_name.pico = ns_netint.pico ns_parse.pico ns_print.pico ns_samedomain.pico = ns_ttl.pico base64.pico ether_addr.pico eui64.pico gai_strerror.pico = getaddrinfo.pico gethostbydns.pico gethostbyht.pico gethostbynis.pico = gethostnamadr.pico getifaddrs.pico getifmaddrs.pico getnameinfo.pico = getnetbydns.pico getnetbyht.pico getnetbynis.pico getnetnamadr.pico = getproto.pico getprotoent.pico getprotoname.pico getservent.pico = if_indextoname.pico if_nameindex.pico if_nametoindex.pico ip6opt.pico = linkaddr.pico map_v4v6.pico name6.pico ntoh.pico nsdispatch.pico = nslexer.pico nsparser.pico nss_compat.pico rcmd.pico rcmdsh.pico = recv.pico rthdr.pico sctp_sys_calls.pico send.pico sockatmark.pico = sourcefilter.pico vars.pico nscache.pico nscachedcli.pico msgcat.pico = acl_branding.pico acl_calc_mask.pico acl_copy.pico acl_delete.pico = acl_delete_entry.pico acl_entry.pico acl_flag.pico acl_free.pico = acl_from_text.pico acl_from_text_nfs4.pico acl_get.pico = acl_id_to_name.pico acl_init.pico acl_perm.pico acl_set.pico = acl_strip.pico acl_support.pico acl_support_nfs4.pico acl_to_text.pico = acl_to_text_nfs4.pico acl_valid.pico extattr.pico mac.pico mac_exec.pico = mac_get.pico mac_set.pico subr_acl_nfs4.pico acl_compat.pico = regcomp.pico regerror.pico regexec.pico regfree.pico herror.pico = h_errno.pico mtctxres.pico res_comp.pico res_data.pico res_debug.pico = res_findzonecut.pico res_init.pico res_mkquery.pico res_mkupdate.pico = res_query.pico res_send.pico res_state.pico res_update.pico = _flock_stub.pico asprintf.pico clrerr.pico dprintf.pico fclose.pico = fcloseall.pico fdopen.pico feof.pico ferror.pico fflush.pico fgetc.pico = fgetln.pico fgetpos.pico fgets.pico fgetwc.pico fgetwln.pico fgetws.pico = fileno.pico findfp.pico flags.pico fmemopen.pico fopen.pico = fopencookie.pico fprintf.pico fpurge.pico fputc.pico fputs.pico = fputwc.pico fputws.pico fread.pico freopen.pico fscanf.pico fseek.pico = fsetpos.pico ftell.pico funopen.pico fvwrite.pico fwalk.pico fwide.pico = fwprintf.pico fwscanf.pico fwrite.pico getc.pico getchar.pico = getdelim.pico getline.pico gets.pico getw.pico getwc.pico getwchar.pico = makebuf.pico mktemp.pico open_memstream.pico open_wmemstream.pico = perror.pico printf.pico printf-pos.pico putc.pico putchar.pico puts.pico = putw.pico putwc.pico putwchar.pico refill.pico remove.pico rewind.pico = rget.pico scanf.pico setbuf.pico setbuffer.pico setvbuf.pico = snprintf.pico sprintf.pico sscanf.pico stdio.pico swprintf.pico = swscanf.pico tempnam.pico tmpfile.pico tmpnam.pico ungetc.pico = ungetwc.pico vasprintf.pico vdprintf.pico vfprintf.pico vfscanf.pico = vfwprintf.pico vfwscanf.pico vprintf.pico vscanf.pico vsnprintf.pico = vsprintf.pico vsscanf.pico vswprintf.pico vswscanf.pico vwprintf.pico = vwscanf.pico wbuf.pico wprintf.pico wscanf.pico wsetup.pico xprintf.pico = xprintf_float.pico xprintf_int.pico xprintf_str.pico xprintf_errno.pico = xprintf_hexdump.pico xprintf_quote.pico xprintf_time.pico = xprintf_vis.pico asctime.pico difftime.pico localtime.pico strftime.pico = strptime.pico timelocal.pico time32.pico __vdso_gettc.pico = clock_gettime.pico gettimeofday.pico __vdso_gettimeofday.pico = __error.pico interposing_table.pico getdents.pico lstat.pico mknod.pico = stat.pico fstat.pico fstatat.pico fstatfs.pico getfsstat.pico = statfs.pico getdirentries.pico pipe.pico accept.pico accept4.pico = aio_suspend.pico clock_nanosleep.pico close.pico connect.pico fcntl.pico = fdatasync.pico fsync.pico fork.pico kevent.pico msync.pico = nanosleep.pico open.pico openat.pico poll.pico ppoll.pico pselect.pico = ptrace.pico read.pico readv.pico recvfrom.pico recvmsg.pico select.pico = sendmsg.pico sendto.pico setcontext.pico sigprocmask.pico = sigsuspend.pico sigtimedwait.pico sigwait.pico sigwaitinfo.pico = swapcontext.pico wait4.pico wait6.pico write.pico writev.pico = sigaction.pico cerror.pico shmat.pico sigreturn.pico syscall.pico = vfork.pico link.pico unlink.pico chdir.pico fchdir.pico = freebsd11_mknod.pico chmod.pico chown.pico getpid.pico mount.pico = unmount.pico setuid.pico getuid.pico geteuid.pico getpeername.pico = getsockname.pico access.pico chflags.pico fchflags.pico sync.pico = kill.pico getppid.pico dup.pico freebsd10_pipe.pico getegid.pico = profil.pico ktrace.pico getgid.pico setlogin.pico acct.pico = sigaltstack.pico ioctl.pico reboot.pico revoke.pico symlink.pico = readlink.pico execve.pico umask.pico chroot.pico vadvise.pico = munmap.pico mprotect.pico madvise.pico mincore.pico getgroups.pico = setgroups.pico getpgrp.pico setpgid.pico setitimer.pico swapon.pico = getitimer.pico getdtablesize.pico dup2.pico setpriority.pico socket.pico = getpriority.pico bind.pico setsockopt.pico listen.pico getrusage.pico = getsockopt.pico settimeofday.pico fchown.pico fchmod.pico setreuid.pico = setregid.pico rename.pico flock.pico mkfifo.pico shutdown.pico = socketpair.pico mkdir.pico rmdir.pico utimes.pico adjtime.pico = setsid.pico quotactl.pico nlm_syscall.pico nfssvc.pico lgetfh.pico = getfh.pico sysarch.pico rtprio.pico semsys.pico msgsys.pico shmsys.pico = setfib.pico ntp_adjtime.pico setgid.pico setegid.pico seteuid.pico = freebsd11_stat.pico freebsd11_fstat.pico freebsd11_lstat.pico = pathconf.pico fpathconf.pico getrlimit.pico setrlimit.pico = freebsd11_getdirentries.pico __syscall.pico __sysctl.pico mlock.pico = munlock.pico undelete.pico futimes.pico getpgid.pico semget.pico = semop.pico msgget.pico msgsnd.pico msgrcv.pico shmdt.pico shmget.pico = clock_settime.pico clock_getres.pico ktimer_create.pico = ktimer_delete.pico ktimer_settime.pico ktimer_gettime.pico = ktimer_getoverrun.pico ffclock_getcounter.pico ffclock_setestimate.pico = ffclock_getestimate.pico clock_getcpuclockid2.pico ntp_gettime.pico = minherit.pico rfork.pico issetugid.pico lchown.pico aio_read.pico = aio_write.pico lio_listio.pico freebsd11_getdents.pico lchmod.pico = netbsd_lchown.pico lutimes.pico netbsd_msync.pico freebsd11_nstat.pico = freebsd11_nfstat.pico freebsd11_nlstat.pico preadv.pico pwritev.pico = fhopen.pico freebsd11_fhstat.pico modnext.pico modstat.pico = modfnext.pico modfind.pico kldload.pico kldunload.pico kldfind.pico = kldnext.pico kldstat.pico kldfirstmod.pico getsid.pico setresuid.pico = setresgid.pico aio_return.pico aio_cancel.pico aio_error.pico = mlockall.pico munlockall.pico __getcwd.pico sched_setparam.pico = sched_getparam.pico sched_setscheduler.pico sched_getscheduler.pico = sched_yield.pico sched_get_priority_max.pico sched_get_priority_min.pico = sched_rr_get_interval.pico utrace.pico kldsym.pico jail.pico = nnpfs_syscall.pico sigpending.pico __acl_get_file.pico = __acl_set_file.pico __acl_get_fd.pico __acl_set_fd.pico = __acl_delete_file.pico __acl_delete_fd.pico __acl_aclcheck_file.pico = __acl_aclcheck_fd.pico extattrctl.pico extattr_set_file.pico = extattr_get_file.pico extattr_delete_file.pico aio_waitcomplete.pico = getresuid.pico getresgid.pico kqueue.pico freebsd11_kevent.pico = extattr_set_fd.pico extattr_get_fd.pico extattr_delete_fd.pico = __setugid.pico eaccess.pico afs3_syscall.pico nmount.pico = __mac_get_proc.pico __mac_set_proc.pico __mac_get_fd.pico = __mac_get_file.pico __mac_set_fd.pico __mac_set_file.pico kenv.pico = lchflags.pico uuidgen.pico sendfile.pico mac_syscall.pico = freebsd11_getfsstat.pico freebsd11_statfs.pico freebsd11_fstatfs.pico = freebsd11_fhstatfs.pico ksem_close.pico ksem_post.pico ksem_wait.pico = ksem_trywait.pico ksem_init.pico ksem_open.pico ksem_unlink.pico = ksem_getvalue.pico ksem_destroy.pico __mac_get_pid.pico = __mac_get_link.pico __mac_set_link.pico extattr_set_link.pico = extattr_get_link.pico extattr_delete_link.pico __mac_execve.pico = getcontext.pico swapoff.pico __acl_get_link.pico __acl_set_link.pico = __acl_delete_link.pico __acl_aclcheck_link.pico thr_create.pico = thr_exit.pico thr_self.pico thr_kill.pico jail_attach.pico = extattr_list_fd.pico extattr_list_file.pico extattr_list_link.pico = ksem_timedwait.pico thr_suspend.pico thr_wake.pico kldunloadf.pico = audit.pico auditon.pico getauid.pico setauid.pico getaudit.pico = setaudit.pico getaudit_addr.pico setaudit_addr.pico auditctl.pico = _umtx_op.pico thr_new.pico sigqueue.pico kmq_open.pico kmq_setattr.pico = kmq_timedreceive.pico kmq_timedsend.pico kmq_notify.pico kmq_unlink.pico = abort2.pico thr_set_name.pico aio_fsync.pico rtprio_thread.pico = sctp_peeloff.pico sctp_generic_sendmsg.pico = sctp_generic_sendmsg_iov.pico sctp_generic_recvmsg.pico pread.pico = pwrite.pico mmap.pico lseek.pico truncate.pico ftruncate.pico = thr_kill2.pico shm_open.pico shm_unlink.pico cpuset.pico = cpuset_setid.pico cpuset_getid.pico cpuset_getaffinity.pico = cpuset_setaffinity.pico faccessat.pico fchmodat.pico fchownat.pico = fexecve.pico freebsd11_fstatat.pico futimesat.pico linkat.pico = mkdirat.pico mkfifoat.pico freebsd11_mknodat.pico readlinkat.pico = renameat.pico symlinkat.pico unlinkat.pico posix_openpt.pico = gssd_syscall.pico jail_get.pico jail_set.pico jail_remove.pico = closefrom.pico __semctl.pico msgctl.pico shmctl.pico lpathconf.pico = __cap_rights_get.pico cap_enter.pico cap_getmode.pico pdfork.pico = pdkill.pico pdgetpid.pico getloginclass.pico setloginclass.pico = rctl_get_racct.pico rctl_get_rules.pico rctl_get_limits.pico = rctl_add_rule.pico rctl_remove_rule.pico posix_fallocate.pico = posix_fadvise.pico cap_rights_limit.pico cap_ioctls_limit.pico = cap_ioctls_get.pico cap_fcntls_limit.pico cap_fcntls_get.pico = bindat.pico connectat.pico chflagsat.pico pipe2.pico aio_mlock.pico = procctl.pico futimens.pico utimensat.pico numa_getaffinity.pico = numa_setaffinity.pico fhstat.pico fhstatfs.pico mknodat.pico _exit.pico = _getlogin.pico _clock_gettime.pico _gettimeofday.pico _fstat.pico = _fstatat.pico _fstatfs.pico _getfsstat.pico _statfs.pico = _getdirentries.pico _accept.pico _accept4.pico _aio_suspend.pico = _clock_nanosleep.pico _close.pico _connect.pico _fcntl.pico = _fdatasync.pico _fsync.pico _fork.pico _kevent.pico _msync.pico = _nanosleep.pico _open.pico _openat.pico _poll.pico _ppoll.pico = _pselect.pico _ptrace.pico _read.pico _readv.pico _recvfrom.pico = _recvmsg.pico _select.pico _sendmsg.pico _sendto.pico _setcontext.pico = _sigprocmask.pico _sigsuspend.pico _sigtimedwait.pico _sigwait.pico = _sigwaitinfo.pico _swapcontext.pico _wait4.pico _wait6.pico _write.pico = _writev.pico _sigaction.pico stack_protector.pico = stack_protector_compat.pico auth_none.pico auth_unix.pico = authunix_prot.pico bindresvport.pico clnt_bcast.pico clnt_dg.pico = clnt_generic.pico clnt_perror.pico clnt_raw.pico clnt_simple.pico = clnt_vc.pico rpc_dtablesize.pico getnetconfig.pico getnetpath.pico = getrpcent.pico getrpcport.pico mt_misc.pico pmap_clnt.pico = pmap_getmaps.pico pmap_getport.pico pmap_prot.pico pmap_prot2.pico = pmap_rmt.pico rpc_prot.pico rpc_commondata.pico rpc_callmsg.pico = rpc_generic.pico rpc_soc.pico rpcb_clnt.pico rpcb_prot.pico = rpcb_st_xdr.pico rpcsec_gss_stub.pico svc.pico svc_auth.pico svc_dg.pico = svc_auth_unix.pico svc_generic.pico svc_raw.pico svc_run.pico = svc_simple.pico svc_vc.pico auth_time.pico auth_des.pico = authdes_prot.pico des_crypt.pico des_soft.pico crypt_client.pico = key_call.pico key_prot_xdr.pico getpublickey.pico svc_auth_des.pico = netname.pico netnamer.pico rpcdname.pico rtime.pico crypt_clnt.pico = crypt_xdr.pico uuid_compare.pico uuid_create.pico uuid_create_nil.pico = uuid_equal.pico uuid_from_string.pico uuid_hash.pico uuid_is_nil.pico = uuid_stream.pico uuid_to_string.pico xdr.pico xdr_array.pico = xdr_float.pico xdr_mem.pico xdr_rec.pico xdr_reference.pico = xdr_sizeof.pico xdr_stdio.pico xdryp.pico yp_xdr.pico yplib.pico = subr_capability.pico memchr.pico memcmp.pico memcpy.pico memmove.pico = memset.pico strchr.pico strcmp.pico strcpy.pico strlen.pico strncmp.pico = strnlen.pico _hdtoa.pico _hldtoa.pico _ldtoa.pico glue.pico = gdtoa_strtorQ.pico gdtoa_dmisc.pico gdtoa_dtoa.pico gdtoa_gdtoa.pico = gdtoa_gethex.pico gdtoa_gmisc.pico gdtoa_hd_init.pico gdtoa_hexnan.pico = gdtoa_misc.pico gdtoa_smisc.pico gdtoa_strtod.pico gdtoa_strtodg.pico = gdtoa_strtof.pico gdtoa_strtord.pico gdtoa_sum.pico gdtoa_ulp.pico = modf.pico C99_Exit.pico a64l.pico abort.pico abs.pico atexit.pico = atof.pico atoi.pico atol.pico atoll.pico bsearch.pico = cxa_thread_atexit.pico cxa_thread_atexit_impl.pico div.pico exit.pico = getenv.pico getopt.pico getopt_long.pico getsubopt.pico hcreate.pico = hcreate_r.pico hdestroy_r.pico heapsort.pico heapsort_b.pico = hsearch_r.pico imaxabs.pico imaxdiv.pico insque.pico l64a.pico labs.pico = ldiv.pico llabs.pico lldiv.pico lsearch.pico merge.pico mergesort_b.pico = ptsname.pico qsort.pico qsort_r.pico quick_exit.pico radixsort.pico = rand.pico random.pico reallocarray.pico reallocf.pico realpath.pico = remque.pico set_constraint_handler_s.pico strfmon.pico strtoimax.pico = strtol.pico strtoll.pico strtoq.pico strtoul.pico strtonum.pico = strtoull.pico strtoumax.pico strtouq.pico system.pico tdelete.pico = tfind.pico tsearch.pico twalk.pico jemalloc_jemalloc.pico = jemalloc_arena.pico jemalloc_background_thread.pico jemalloc_base.pico = jemalloc_bitmap.pico jemalloc_ckh.pico jemalloc_ctl.pico = jemalloc_extent.pico jemalloc_extent_dss.pico jemalloc_extent_mmap.pico = jemalloc_hash.pico jemalloc_hooks.pico jemalloc_large.pico = jemalloc_malloc_io.pico jemalloc_mutex.pico jemalloc_mutex_pool.pico = jemalloc_nstime.pico jemalloc_pages.pico jemalloc_prng.pico = jemalloc_prof.pico jemalloc_rtree.pico jemalloc_stats.pico = jemalloc_sz.pico jemalloc_tcache.pico jemalloc_ticker.pico = jemalloc_tsd.pico jemalloc_witness.pico bcmp.pico bcopy.pico bzero.pico = explicit_bzero.pico ffs.pico ffsl.pico ffsll.pico fls.pico flsl.pico = flsll.pico memccpy.pico memrchr.pico memmem.pico memset_s.pico = stpcpy.pico stpncpy.pico strcasecmp.pico strcat.pico strcasestr.pico = strchrnul.pico strcoll.pico strcspn.pico strdup.pico strerror.pico = strlcat.pico strlcpy.pico strmode.pico strncat.pico strncpy.pico = strndup.pico strnstr.pico strpbrk.pico strrchr.pico strsep.pico = strsignal.pico strspn.pico strstr.pico strtok.pico strxfrm.pico = swab.pico timingsafe_bcmp.pico timingsafe_memcmp.pico wcpcpy.pico = wcpncpy.pico wcscasecmp.pico wcscat.pico wcschr.pico wcscmp.pico = wcscoll.pico wcscpy.pico wcscspn.pico wcsdup.pico wcslcat.pico = wcslcpy.pico wcslen.pico wcsncasecmp.pico wcsncat.pico wcsncmp.pico = wcsncpy.pico wcsnlen.pico wcspbrk.pico wcsrchr.pico wcsspn.pico = wcsstr.pico wcstok.pico wcswidth.pico wcsxfrm.pico wmemchr.pico = wmemcmp.pico wmemcpy.pico wmemmove.pico wmemset.pico | tsort -q` = -lcompiler_rt -lssp_nonshared;' >> .CURDIR=3D'/usr/src/lib/libc' >> .MAKE=3D'make' >> = .OBJDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/li= b/libc' >> .TARGETS=3D'all' >> = DESTDIR=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tm= p' >> LD_LIBRARY_PATH=3D'' >> MACHINE=3D'arm64' >> MACHINE_ARCH=3D'aarch64' >> MAKEOBJDIRPREFIX=3D'' >> MAKESYSPATH=3D'/usr/src/share/mk' >> MAKE_VERSION=3D'20171028' >> = PATH=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/l= egacy/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch6= 4/tmp/legacy/usr/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.= aarch64/tmp/legacy/bin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/sbin:/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm6= 4.aarch64/tmp/usr/bin:/sbin:/bin:/usr/sbin:/usr/bin' >> SRCTOP=3D'/usr/src' >> OBJTOP=3D'/usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64'= >> .MAKE.MAKEFILES=3D'/usr/src/share/mk/sys.mk = /usr/src/share/mk/local.sys.env.mk /usr/src/share/mk/src.sys.env.mk = /root/src.configs/src.conf.cortexA53-clang-bootstrap.amd64-host = /usr/src/share/mk/src.sys.obj.mk /usr/src/share/mk/bsd.mkopt.mk = /usr/src/share/mk/bsd.mkopt.mk /usr/src/share/mk/bsd.suffixes.mk = /root/src.configs/make.conf /usr/src/share/mk/local.sys.mk = /usr/src/share/mk/src.sys.mk /dev/null /usr/src/lib/libc/Makefile = /usr/src/share/mk/src.opts.mk /usr/src/share/mk/bsd.own.mk = /usr/src/share/mk/bsd.opts.mk /usr/src/share/mk/bsd.cpu.mk = /usr/src/share/mk/bsd.compiler.mk /usr/src/share/mk/bsd.linker.mk = /usr/src/lib/libc/aarch64/Makefile.inc /usr/src/lib/libc/db/Makefile.inc = /usr/src/lib/libc/db/btree/Makefile.inc = /usr/src/lib/libc/db/db/Makefile.inc = /usr/src/lib/libc/db/hash/Makefile.inc = /usr/src/lib/libc/db/man/Makefile.inc = /usr/src/lib/libc/db/mpool/Makefile.inc = /usr/src/lib/libc/db/recno/Makefile.inc = /usr/src/lib/libc/compat-43/Makefile.inc = /usr/src/lib/libc/gdtoa/Makefile.inc /usr/src/lib/libc/gen/Makefile.inc = /usr/src/lib/libc/aarch64/gen/Makefile.inc = /usr/src/lib/libc/gmon/Makefile.inc /usr/src/lib/libc/iconv/Makefile.inc = /usr/src/lib/libc_nonshared/Makefile.iconv = /usr/src/lib/libc/inet/Makefile.inc /usr/src/lib/libc/isc/Makefile.inc = /usr/src/lib/libc/locale/Makefile.inc /usr/src/lib/libc/md/Makefile.inc = /usr/src/lib/libc/nameser/Makefile.inc = /usr/src/lib/libc/net/Makefile.inc /usr/src/lib/libc/nls/Makefile.inc = /usr/src/lib/libc/posix1e/Makefile.inc = /usr/src/lib/libc/regex/Makefile.inc = /usr/src/lib/libc/resolv/Makefile.inc = /usr/src/lib/libc/stdio/Makefile.inc = /usr/src/lib/libc/stdlib/Makefile.inc = /usr/src/lib/libc/stdlib/jemalloc/Makefile.inc = /usr/src/lib/libc/stdtime/Makefile.inc = /usr/src/lib/libc/string/Makefile.inc = /usr/src/lib/libc/aarch64/string/Makefile.inc = /usr/src/lib/libc/sys/Makefile.inc /usr/src/sys/sys/syscall.mk = /usr/src/lib/libc/aarch64/sys/Makefile.inc = /usr/src/lib/libc/secure/Makefile.inc /usr/src/lib/libc/rpc/Makefile.inc = /usr/src/lib/libc/uuid/Makefile.inc /usr/src/lib/libc/xdr/Makefile.inc = /usr/src/lib/libc/yp/Makefile.inc = /usr/src/lib/libc/capability/Makefile.inc /usr/src/share/mk/bsd.lib.mk = /usr/src/share/mk/bsd.init.mk /usr/src/share/mk/local.init.mk = /usr/src/share/mk/src.init.mk /usr/src/lib/libc/../Makefile.inc = /usr/src/share/mk/bsd.libnames.mk /usr/src/share/mk/src.libnames.mk = /usr/src/share/mk/bsd.symver.mk /usr/src/share/mk/bsd.nls.mk = /usr/src/share/mk/bsd.files.mk /usr/src/share/mk/bsd.incs.mk = /usr/src/share/mk/bsd.confs.mk /usr/src/share/mk/bsd.links.mk = /usr/src/share/mk/bsd.dep.mk /usr/src/share/mk/bsd.clang-analyze.mk = /usr/src/share/mk/bsd.obj.mk /usr/src/share/mk/bsd.subdir.mk = /usr/src/share/mk/bsd.sys.mk' >> .PATH=3D'. /usr/src/lib/libc /usr/src/lib/libc/db/btree = /usr/src/lib/libc/db/db /usr/src/lib/libc/db/hash = /usr/src/lib/libc/db/man /usr/src/lib/libc/db/mpool = /usr/src/lib/libc/db/recno /usr/src/lib/libc/compat-43 = /usr/src/lib/libc/gdtoa /usr/src/lib/libc/aarch64/gen = /usr/src/lib/libc/gen /usr/src/contrib/libc-pwcache = /usr/src/contrib/libc-vis /usr/src/lib/libc/gmon /usr/src/lib/libc/iconv = /usr/src/lib/libc/inet /usr/src/lib/libc/isc /usr/src/lib/libc/locale = /usr/src/lib/libmd /usr/src/lib/libc/nameser /usr/src/lib/libc/net = /usr/src/lib/libc/nls /usr/src/lib/libc/posix1e /usr/src/lib/libc/regex = /usr/src/lib/libc/resolv /usr/src/lib/libc/stdio = /usr/src/lib/libc/stdlib /usr/src/lib/libc/stdlib/jemalloc = /usr/src/lib/libc/stdtime /usr/src/contrib/tzcode/stdtime = /usr/src/lib/libc/aarch64/string /usr/src/lib/libc/string = /usr/src/sys/libkern /usr/src/contrib/cortex-strings/src/aarch64 = /usr/src/lib/libc/aarch64/sys /usr/src/lib/libc/sys = /usr/src/lib/libc/secure /usr/src/lib/libc/rpc /usr/src/lib/libc/. = /usr/src/lib/libc/uuid /usr/src/lib/libc/xdr /usr/src/lib/libc/yp = /usr/src/sys/kern /usr/src/lib/libc/capability' >> *** [lib/libc__L] Error code 2 >=20 =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 10:39:01 2017 Return-Path: Delivered-To: freebsd-toolchain@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 9F266E6A8AA for ; Sat, 4 Nov 2017 10:39:01 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-126.reflexion.net [208.70.210.126]) (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 5D269683CF for ; Sat, 4 Nov 2017 10:39:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 17181 invoked from network); 4 Nov 2017 10:32:14 -0000 Received: from unknown (HELO mail-cs-01.app.dca.reflexion.local) (10.81.19.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 10:32:14 -0000 Received: by mail-cs-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 06:32:14 -0400 (EDT) Received: (qmail 22100 invoked from network); 4 Nov 2017 10:32:13 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 10:32:13 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 3A1D1EC8FCC; Sat, 4 Nov 2017 03:32:13 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] Message-Id: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> Date: Sat, 4 Nov 2017 03:32:12 -0700 To: FreeBSD Toolchain , avg@freebsd.org, svn-src-head@freebsd.org, FreeBSD Current X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 10:39:01 -0000 > Author: avg > Date: Thu Nov 2 13:49:08 2017 > New Revision: 325320 > URL:=20 > https://svnweb.freebsd.org/changeset/base/325320 >=20 >=20 > Log: > Disable posix_fallocate(2) for ZFS > . . . Turns out lld uses fallocate and so can fail on zfs now. The following is the lld for a amd64 -> aarch64 cross-buildworld. = /usr/obj/cortexA53_clang/arm64.aarch64/usr/src/arm64.aarch64/tmp/usr/bin/l= d: error: cannot open output file a.out: Invalid argument This resulted from: Breakpoint 5, 0x0000000000cf1cd1 in llvm::sys::fs::resize_file(int, = unsigned long) () (gdb) disass Dump of assembler code for function _ZN4llvm3sys2fs11resize_fileEim: . . . 0x0000000000cf1ce5 <+21>: callq 0x1ad5880 . . . via the error status return value handling. It ends up with: Breakpoint 3, 0x000000000041c6e4 in lld::elf::error(llvm::Twine const&) = () (gdb) bt #0 0x000000000041c6e4 in lld::elf::error(llvm::Twine const&) () #1 0x00000000004113b1 in void = lld::elf::LinkerDriver::link >(llvm::opt::InputArgList&) () #2 0x000000000040be3f in = lld::elf::LinkerDriver::main(llvm::ArrayRef, bool) () #3 0x000000000040ae89 in lld::elf::link(llvm::ArrayRef, = bool, llvm::raw_ostream&) () #4 0x000000000054cd61 in main () Progressing from posix_fallocate's call to its caller and so on: # grep -r "fallocate" /usr/src/contrib/llvm/ | more /usr/src/contrib/llvm/lib/Support/Unix/Path.inc: // If we have = posix_fallocate use it. Unlike ftruncate it always allocates /usr/src/contrib/llvm/lib/Support/Unix/Path.inc: if (int Err =3D = ::posix_fallocate(FD, 0, Size)) { Is called by: std::error_code resize_file(int FD, uint64_t Size) { #if defined(HAVE_POSIX_FALLOCATE) // If we have posix_fallocate use it. Unlike ftruncate it always = allocates // space, so we get an error if the disk is full. if (int Err =3D ::posix_fallocate(FD, 0, Size)) { if (Err !=3D EOPNOTSUPP) return std::error_code(Err, std::generic_category()); } #endif // Use ftruncate as a fallback. It may or may not allocate space. At = least on // OS X with HFS+ it does. if (::ftruncate(FD, Size) =3D=3D -1) return std::error_code(errno, std::generic_category()); return std::error_code(); } # grep -r "resize_file" /usr/src/contrib/llvm/ | more /usr/src/contrib/llvm/lib/Support/FileOutputBuffer.cpp: EC =3D = sys::fs::resize_file(FD, Size); /usr/src/contrib/llvm/lib/Support/Unix/Path.inc:std::error_code = resize_file(int FD, uint64_t Size) { /usr/src/contrib/llvm/lib/Support/Windows/Path.inc:std::error_code = resize_file(int FD, uint64_t Size) { /usr/src/contrib/llvm/include/llvm/Support/FileSystem.h:std::error_code = resize_file(int FD, uint64_t Size); Is called by: ErrorOr> FileOutputBuffer::create(StringRef FilePath, size_t Size, unsigned = Flags) { // Check file is not a regular file, in which case we cannot remove = it. . . . #ifndef LLVM_ON_WIN32 // . . . EC =3D sys::fs::resize_file(FD, Size); if (EC) return EC; #endif Is called by: std::error_code elf::tryCreateFile(StringRef Path) { if (Path.empty()) return std::error_code(); return FileOutputBuffer::create(Path, 1).getError(); } Is called by: template void LinkerDriver::link(opt::InputArgList &Args) { SymbolTable Symtab; elf::Symtab::X =3D &Symtab; Target =3D getTarget(); Config->MaxPageSize =3D getMaxPageSize(Args); Config->ImageBase =3D getImageBase(Args); // Default output filename is "a.out" by the Unix tradition. if (Config->OutputFile.empty()) Config->OutputFile =3D "a.out"; // Fail early if the output file or map file is not writable. If a = user has a // long link, e.g. due to a large LTO link, they do not wish to run it = and // find that it failed because there was a mistake in their = command-line. if (auto E =3D tryCreateFile(Config->OutputFile)) error("cannot open output file " + Config->OutputFile + ": " + = E.message()); And the error call is then made once tryCreateFile returns. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 10:41:29 2017 Return-Path: Delivered-To: freebsd-toolchain@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 D29AEE6AA48 for ; Sat, 4 Nov 2017 10:41:29 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-103.reflexion.net [208.70.210.103]) (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 6C3B0685C1 for ; Sat, 4 Nov 2017 10:41:29 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 16301 invoked from network); 4 Nov 2017 10:41:22 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 10:41:22 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 06:41:22 -0400 (EDT) Received: (qmail 24903 invoked from network); 4 Nov 2017 10:41:21 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 10:41:21 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 272FCEC8FCC; Sat, 4 Nov 2017 03:41:21 -0700 (PDT) From: Mark Millard Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: ld (a.k.a. ld.lld) for amd64 -r325369 -> aarch64 cross buildworld is messed up: ld just says "Invalid argument" [vs. binutils ld: R_AARCH64_ABS64 used with TLS symbol] Date: Sat, 4 Nov 2017 03:41:20 -0700 References: <7261E10B-FF6E-42CA-92D7-5C57B0707C53@dsl-only.net> <07D2D2E0-4863-43D6-AAF2-6C662DE369FA@dsl-only.net> To: FreeBSD Toolchain , freebsd-arm , FreeBSD Current In-Reply-To: Message-Id: <08619115-1878-41FF-B241-EA8581D828C9@dsl-only.net> X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 10:41:29 -0000 It turns out that svn commit: r325320 breaks lld. lld has code that uses fallocate and now can fail (stop the link) on zfs. I've sent a separate reply to the notice below that gives the details. I added the [...] part of the title. Re: svn commit: r325320 - = head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: = lld uses fallocate] See, for example, = https://lists.freebsd.org/pipermail/freebsd-toolchain/2017-November/003413= .html =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 11:41:11 2017 Return-Path: Delivered-To: freebsd-toolchain@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 81334E6C055; Sat, 4 Nov 2017 11:41:11 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f50.google.com (mail-lf0-f50.google.com [209.85.215.50]) (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 120816ACA4; Sat, 4 Nov 2017 11:41:10 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f50.google.com with SMTP id a2so5795734lfh.11; Sat, 04 Nov 2017 04:41:10 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=kycv5RGcFMNZ810lqDKIhBMCPOmTxS8FkzejgV7H/s0=; b=j+JcFbbiq4lvVSCUkOY/BFtUoVHHuPJvh7lsSh3djdEbBJ+u1sXV7lhsfq6rr4iUQZ fdArP/LuFsMU4oLL8w+XrcKlQ1614sL1imfJlGCT3paoXs/0nwE2gcLmORG0fiuzX/51 /fb5VJ+yyAZ8Sa+/9UQC4fcIVqJPX/IohGgcP6bguhfk6+gD01KqJ35CTZdETKiO1al4 5CszKTC0kw3MhnP7M22EjVaioqa3tL8jzgVEIg4MwcKHDTVWEBaYNjCw4aSwGKhYbj3p YL2uvv2a+hJL9aNtwAbqPRAfUOs1SQM8aIFMs8kvSg2/TMYMGeys6DbtHdkeQ9EzFRGP lfnw== X-Gm-Message-State: AJaThX6JCx2DGt6UGM9wxCTcTWw8lpzo5ViL7kNJdr8QAOZSLzAw3o2W fD8EozGO9cDwQt+OIaajvJT3o7+Y X-Google-Smtp-Source: ABhQp+SivUYWUCi1d6hf9yk9gRN4Eo/JH8hcYed5/0PfDF5KRjkIfe67ZK4EvpG+M2JMUlpI7jN/hA== X-Received: by 10.25.38.21 with SMTP id m21mr3513825lfm.95.1509795663218; Sat, 04 Nov 2017 04:41:03 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id j71sm1456581lfk.6.2017.11.04.04.41.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Nov 2017 04:41:02 -0700 (PDT) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] To: Mark Millard , FreeBSD Toolchain , svn-src-head@freebsd.org, FreeBSD Current References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> From: Andriy Gapon Message-ID: <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> Date: Sat, 4 Nov 2017 13:41:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 11:41:11 -0000 On 04/11/2017 12:32, Mark Millard wrote: > if (int Err = ::posix_fallocate(FD, 0, Size)) { > if (Err != EOPNOTSUPP) > return std::error_code(Err, std::generic_category()); > } The commit message that you didn't include into your reply contains some useful information that authors / maintainers of this code should probably take into account: > Please note that EINVAL is used to report that the underlying file system > does not support the operation (POSIX.1-2008). Here is a link for that: http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.html -- Andriy Gapon From owner-freebsd-toolchain@freebsd.org Sat Nov 4 11:58:52 2017 Return-Path: Delivered-To: freebsd-toolchain@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 18FDAE6C681; Sat, 4 Nov 2017 11:58:52 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: from mail-io0-x232.google.com (mail-io0-x232.google.com [IPv6:2607:f8b0:4001:c06::232]) (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 D2E116B7AC; Sat, 4 Nov 2017 11:58:51 +0000 (UTC) (envelope-from carpeddiem@gmail.com) Received: by mail-io0-x232.google.com with SMTP id 97so11198058iok.7; Sat, 04 Nov 2017 04:58:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=HCOyZsq6LJmLJpvVZbJ/DhxOEXPKnJ2GtRRKPBOSy3c=; b=ryj97n2ZivZUYC+SMVvHBirpgPhBHA/u2hkkM2fqufkWA2laXSW8NEs7xHvRTQnoD7 NCQhm/DroYt8xKKtIH1BNhrtESL/G7DXE76yPo+ROvP/4P7ecvgerbIB1Z4IJ8ZTyFA+ fMsrlpBlO3oLHT3GtoOTgbmyEuj0Kg5xEcUliwd+iUuf94e6NFTzjmHAE33/a6CtYfYk qNByZhQkd95kT6XMxVoWfQuxX6a/hgNGIMR+uRed2ugKFOdX+MiOwEiB1PMvbn46QOsG U97NVvVm/cxjbfbasEoSgwfW9efP4XlsWf9rGr7lhOlvr6bK+EgWYRxnU1CE/TvGwJ4m 8Lkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=HCOyZsq6LJmLJpvVZbJ/DhxOEXPKnJ2GtRRKPBOSy3c=; b=pg0YjqHAs4Qcyv30vLsaIrxsgWIiIAX4X1aVK41hiBf4PQBR9o5Pdpr304ZSZv1hxa Oz00dxTa0zFNYMRFFgFmmC73Ryw1GZVEwtiYE0jSldmhlG9ijzVZkCt8o0e+HIqPImO8 Aax9lZCn4a1eiNrttSkYh3XMkaavUqSgcc5YUOaxgBdpCKlstoc9M+0LWbTC/o9cuPlj L8cNx+MpekGgKBTHE8OuHwJAYVJXqqDf+xqc9o3bVNyl3Cz8cfWE7sTTrPZAJLdvFabv KH5bwATxOmvgKja0SL3t6GPlo8ghPOu9TJLm3SBi1KARrETouEznLoUTq4CV8Yg3DCoQ n0eA== X-Gm-Message-State: AJaThX5O24xnQY1KYDx8YIFd3CVg9FjHm2upA0qr6nYuWBWxVR1JU99K SXC6q1JX2NQHexxp0dkduz8D8vmZXF2A7tf+rx6h9i2z X-Google-Smtp-Source: ABhQp+R+DWTi7soySl+3UUukG+8uJ18s5NbbhGqhg7CROMxjUhaRenK14vOWmJEJbUn/rgo2Ihdz5uYmMZVg/HgC5+8= X-Received: by 10.107.133.85 with SMTP id h82mr12737108iod.208.1509796730824; Sat, 04 Nov 2017 04:58:50 -0700 (PDT) MIME-Version: 1.0 Sender: carpeddiem@gmail.com Received: by 10.107.14.208 with HTTP; Sat, 4 Nov 2017 04:58:29 -0700 (PDT) In-Reply-To: <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> From: Ed Maste Date: Sat, 4 Nov 2017 07:58:29 -0400 X-Google-Sender-Auth: mdmIZtgyxGc1wT_uSuvh1jgPpbo Message-ID: Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] To: Andriy Gapon Cc: Mark Millard , FreeBSD Toolchain , "svn-src-head@freebsd.org" , FreeBSD Current Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 11:58:52 -0000 On 4 November 2017 at 07:41, Andriy Gapon wrote: > On 04/11/2017 12:32, Mark Millard wrote: >> if (int Err = ::posix_fallocate(FD, 0, Size)) { >> if (Err != EOPNOTSUPP) >> return std::error_code(Err, std::generic_category()); >> } > > The commit message that you didn't include into your reply contains some useful > information that authors / maintainers of this code should probably take into > account: > >> Please note that EINVAL is used to report that the underlying file system >> does not support the operation (POSIX.1-2008). > > Here is a link for that: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.html I have no idea how they decided EINVAL was a reasonable errno for this case. Mark, can you give this patch a try: diff --git a/contrib/llvm/lib/Support/Unix/Path.inc b/contrib/llvm/lib/Support/Unix/Path.inc index 45097eb918b7..67edb46f0025 100644 --- a/contrib/llvm/lib/Support/Unix/Path.inc +++ b/contrib/llvm/lib/Support/Unix/Path.inc @@ -427,7 +427,7 @@ std::error_code resize_file(int FD, uint64_t Size) { // If we have posix_fallocate use it. Unlike ftruncate it always allocates // space, so we get an error if the disk is full. if (int Err = ::posix_fallocate(FD, 0, Size)) { - if (Err != EOPNOTSUPP) + if (Err != EINVAL && Err != EOPNOTSUPP) return std::error_code(Err, std::generic_category()); From owner-freebsd-toolchain@freebsd.org Sat Nov 4 12:10:34 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A695AE6D0AC; Sat, 4 Nov 2017 12:10:34 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f65.google.com (mail-lf0-f65.google.com [209.85.215.65]) (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 290C36BF56; Sat, 4 Nov 2017 12:10:33 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f65.google.com with SMTP id e143so5842347lfg.12; Sat, 04 Nov 2017 05:10:33 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=KHneKq/CsIbqx1L+hr7XQMrEsisMCVmW6RTxw1G7TUQ=; b=NDM3pj5Hqim9SZx0QWX5/tKWJdWXFSpnp0S1JGkG2qqnBKB/XeNSGMGmqPVAHy0lME CLzBxCRD6zIdZFyqC/JX9d3EBShGUW0coke1yv3XY9mxZCW9SQa26ecRXW0J/3AMm8hP /NAGoZDmrECe74IevX/bgyL4OUfvBG2h7l+0Gim42apHh1U+Ww0mKBHIeAFbE+jDaEsA 1ZykUp6S/+QdSWvPHXlw7o9f1sCtiwu/L4s0MWWRSU0mHpjtm+T00VRXVL5OGEC05SwT 9F2gUK2qEvwxEgwgJQhAKZvmX0iE3PU2vgTjZzexBuM6nqnCSkwqUCf2WijzSxdL77ri N7tw== X-Gm-Message-State: AMCzsaXvaR6BPTKDCceH9tDnDAtQcj03gOSSMy5FGBMZKL84ynijTspQ H8wHRt5c8CupnvGSyYlHX4X4CgCh X-Google-Smtp-Source: ABhQp+T4yzOy9RXHnmaiarekGlpF5BXc2aazH27GPQlOAYSxXrMzETg+hwsplJJDyANR0IV3RVCsRQ== X-Received: by 10.25.21.233 with SMTP id 102mr3515130lfv.252.1509797100412; Sat, 04 Nov 2017 05:05:00 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id b14sm1739150ljb.74.2017.11.04.05.04.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Nov 2017 05:04:59 -0700 (PDT) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Andriy Gapon To: Mark Millard , FreeBSD Toolchain , svn-src-head@freebsd.org, FreeBSD Current References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> Message-ID: Date: Sat, 4 Nov 2017 14:04:58 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 12:10:34 -0000 On 04/11/2017 13:41, Andriy Gapon wrote: > On 04/11/2017 12:32, Mark Millard wrote: >> if (int Err = ::posix_fallocate(FD, 0, Size)) { >> if (Err != EOPNOTSUPP) >> return std::error_code(Err, std::generic_category()); >> } > > The commit message that you didn't include into your reply contains some useful > information that authors / maintainers of this code should probably take into > account: > >> Please note that EINVAL is used to report that the underlying file system >> does not support the operation (POSIX.1-2008). > > Here is a link for that: > http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.html > My response above is quite dry, so I want to add this. Thank you very much for the deep analysis. I am sorry for the trouble that my change caused, but I think that its root cause lies elsewhere (lld, posix). -- Andriy Gapon From owner-freebsd-toolchain@freebsd.org Sat Nov 4 12:12:36 2017 Return-Path: Delivered-To: freebsd-toolchain@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 685FEE6D30D; Sat, 4 Nov 2017 12:12:36 +0000 (UTC) (envelope-from agapon@gmail.com) Received: from mail-lf0-f44.google.com (mail-lf0-f44.google.com [209.85.215.44]) (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 EAEC16C340; Sat, 4 Nov 2017 12:12:35 +0000 (UTC) (envelope-from agapon@gmail.com) Received: by mail-lf0-f44.google.com with SMTP id e143so5845669lfg.12; Sat, 04 Nov 2017 05:12:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Mf+nn2Mgn7fCDtJQ5pJ0Tl9A4IB5IleXFpV4wgrRmoQ=; b=XFamSk0jFpnvcCT6UJ9NTt3GunBdG2kt+DSo75i8N+4Z701yoVsdphrnexnkSir1wc 3qi336Uq8keUdRKMuAeMRUYSpJagDxD/Zdf3DGBGlRlbF6b7Q90zHuRwKIoIwn1pabpw 9GHfwgYr2wd90K/yaQkQsaWaeL5lBUksKmsAV2HrM6ebYJIVWEgqrlPInDRY7ZEqVkQL EhTggllIaqmbMOH9w7iryzmQo++JsXGrfvzWp2KiqjGrQPxNxzNTJtsjUshOvDnI1bii Or/DuB+IXsHPoikk+LrNovKMqryPiC+i8aN9Vs2YbsVdxxF/7bjp+YCdJJEGuz3H7J4n Bt0Q== X-Gm-Message-State: AJaThX5lDHkH7wa39lSrjjKI3lWBwfxBcR0ljHb3EtR98LGh1g/+5nbi FtnijI2fgE+LQDgMIajN8ho8sh3cjlo= X-Google-Smtp-Source: ABhQp+Tz7FWvCD71XvlJLpRD0iUGCKWcYAy3nCMyTB2qC6WYK3D6suCiYqtT07wxrxKXYB5si1yCbw== X-Received: by 10.25.19.196 with SMTP id 65mr3360459lft.221.1509797548098; Sat, 04 Nov 2017 05:12:28 -0700 (PDT) Received: from [192.168.0.88] (east.meadow.volia.net. [93.72.151.96]) by smtp.googlemail.com with ESMTPSA id r23sm1721161lja.32.2017.11.04.05.12.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 Nov 2017 05:12:27 -0700 (PDT) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] To: Ed Maste Cc: Mark Millard , FreeBSD Toolchain , "svn-src-head@freebsd.org" , FreeBSD Current References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> From: Andriy Gapon Message-ID: <3a5d89ed-6cda-2cf1-b287-9447764774e8@FreeBSD.org> Date: Sat, 4 Nov 2017 14:12:26 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 12:12:36 -0000 On 04/11/2017 13:58, Ed Maste wrote: > I have no idea how they decided EINVAL was a reasonable errno for this case. I completely agree. That's a weird choice that I have not seen for any other API. -- Andriy Gapon From owner-freebsd-toolchain@freebsd.org Sat Nov 4 15:23:41 2017 Return-Path: Delivered-To: freebsd-toolchain@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 A0215E4D572; Sat, 4 Nov 2017 15:23:41 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from vps-mail.nomadlogic.org (mail.nomadlogic.org [IPv6:2607:f2f8:a098::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 71C197235A; Sat, 4 Nov 2017 15:23:41 +0000 (UTC) (envelope-from pete@nomadlogic.org) Received: from [192.168.1.208] (cpe-23-242-94-236.socal.res.rr.com [23.242.94.236]) by vps-mail.nomadlogic.org (OpenSMTPD) with ESMTPSA id 4f19a509 TLS version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO; Sat, 4 Nov 2017 08:23:37 -0700 (PDT) Subject: Re: Head build unsafe for /etc today To: Bryan Drewery , Warner Losh , Steve Kargl Cc: freebsd-hackers , FreeBSD Toolchain , FreeBSD Current References: <3045EEBF-09E6-4209-B54F-2F95394DBA82@FreeBSD.org> <20171103014907.GA88522@troutmask.apl.washington.edu> <68BECDA4-C182-436E-854C-C3B19ABB4373@FreeBSD.org> <20171103022327.GA88659@troutmask.apl.washington.edu> <998FF503-D4B0-4AD5-AD55-98680E4D66CA@FreeBSD.org> <20171103035010.GA89291@troutmask.apl.washington.edu> From: Pete Wright Message-ID: Date: Sat, 4 Nov 2017 08:23:38 -0700 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 15:23:41 -0000 On 11/03/2017 13:14, Bryan Drewery wrote: > On 11/2/2017 8:58 PM, Warner Losh wrote: >> FreeBSD has grown too big to test every possible thing before you commit. > The build itself is massive. I usually forget about release/ and the > new 'make packages', external toolchain, "old style" kernel builds, etc. > > Steve's concerns have validity. I do think it's time we have an > automated suite to test most build cases for things like bmake upgrades > or other high risk changes like META_MODE. > > > I'll think about this and add to my list of things to implement. > hey Bryan - this sounds like a pretty awesome task to take on, i'd be willing to help out with this effort as well.  if/when you come up with a plan would it be possible to ping freebsd-current@ so that i can see if there is anything i'll be able to help out with (assuming there isn't already a wiki or list somewhere i can reference to see where i may be able to chip in)? cheers! -pete -- Pete Wright pete@nomadlogic.org @nomadlogicLA From owner-freebsd-toolchain@freebsd.org Sat Nov 4 16:46:38 2017 Return-Path: Delivered-To: freebsd-toolchain@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 8EF94E4FC66 for ; Sat, 4 Nov 2017 16:46:38 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-127.reflexion.net [208.70.210.127]) (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 50E5375354 for ; Sat, 4 Nov 2017 16:46:37 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23365 invoked from network); 4 Nov 2017 16:46:31 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 16:46:31 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 12:46:31 -0400 (EDT) Received: (qmail 9619 invoked from network); 4 Nov 2017 16:46:30 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 16:46:30 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 410EDEC8074; Sat, 4 Nov 2017 09:46:30 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Mark Millard In-Reply-To: Date: Sat, 4 Nov 2017 09:46:29 -0700 Cc: FreeBSD Toolchain , svn-src-head@freebsd.org, FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> To: Andriy Gapon X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 16:46:38 -0000 On 2017-Nov-4, at 5:04 AM, Andriy Gapon wrote: > On 04/11/2017 13:41, Andriy Gapon wrote: >> On 04/11/2017 12:32, Mark Millard wrote: >>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>> if (Err !=3D EOPNOTSUPP) >>> return std::error_code(Err, std::generic_category()); >>> } >>=20 >> The commit message that you didn't include into your reply contains = some useful >> information that authors / maintainers of this code should probably = take into >> account: >>=20 >>> Please note that EINVAL is used to report that the underlying file = system >>> does not support the operation (POSIX.1-2008). >>=20 >> Here is a link for that: >> = http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.= html I had no doubt about the change being required or per-specification and did not think to list the reference. It was more that world's use of fallocate was not reviewed and possibly adjusted first that caused problems. FYI: It appears that sqlite3 might use fallocate. And heimdal (via its sqlite3.c). I've not reviewed the details for any of the below that do not trace to the lld issue: # grep -rl "fallocate" /usr/src/* | more /usr/src/contrib/sqlite3/configure.ac /usr/src/contrib/sqlite3/configure /usr/src/contrib/sqlite3/sqlite3.c /usr/src/contrib/netbsd-tests/lib/libc/sys/t_posix_fallocate.c /usr/src/contrib/compiler-rt/lib/dfsan/libc_ubuntu1404_abilist.txt /usr/src/contrib/compiler-rt/include/sanitizer/linux_syscall_hooks.h /usr/src/contrib/llvm/lib/Support/Unix/Path.inc /usr/src/contrib/pjdfstest/configure.ac /usr/src/contrib/pjdfstest/tests/misc.sh /usr/src/contrib/pjdfstest/pjdfstest.c /usr/src/contrib/openbsm/NEWS /usr/src/contrib/openbsm/etc/audit_event /usr/src/crypto/heimdal/lib/sqlite/sqlite3.c /usr/src/lib/libc/sys/posix_fallocate.2 /usr/src/lib/libc/sys/Symbol.map /usr/src/lib/libc/sys/Makefile.inc /usr/src/lib/libc/tests/sys/Makefile /usr/src/lib/clang/include/llvm/Config/config.h /usr/src/share/man/man9/VOP_ALLOCATE.9 /usr/src/sys/compat/freebsd32/syscalls.master /usr/src/sys/compat/freebsd32/freebsd32_syscalls.c /usr/src/sys/compat/freebsd32/freebsd32_sysent.c /usr/src/sys/compat/freebsd32/capabilities.conf /usr/src/sys/compat/freebsd32/freebsd32_misc.c /usr/src/sys/compat/freebsd32/freebsd32_proto.h /usr/src/sys/compat/freebsd32/freebsd32_syscall.h /usr/src/sys/compat/freebsd32/freebsd32_systrace_args.c /usr/src/sys/compat/cloudabi/cloudabi_file.c /usr/src/sys/compat/linux/linux_file.c /usr/src/sys/i386/linux/linux_sysent.c /usr/src/sys/i386/linux/linux_proto.h /usr/src/sys/i386/linux/linux_syscalls.c /usr/src/sys/i386/linux/linux_systrace_args.c /usr/src/sys/i386/linux/linux_syscall.h /usr/src/sys/i386/linux/syscalls.master /usr/src/sys/sys/fcntl.h /usr/src/sys/sys/syscall.h /usr/src/sys/sys/syscall.mk /usr/src/sys/sys/syscallsubr.h /usr/src/sys/sys/sysproto.h /usr/src/sys/kern/init_sysent.c /usr/src/sys/kern/syscalls.master /usr/src/sys/kern/systrace_args.c /usr/src/sys/kern/capabilities.conf /usr/src/sys/kern/vfs_syscalls.c /usr/src/sys/kern/syscalls.c /usr/src/sys/amd64/linux32/linux32_syscall.h /usr/src/sys/amd64/linux32/linux32_systrace_args.c /usr/src/sys/amd64/linux32/syscalls.master /usr/src/sys/amd64/linux32/linux32_syscalls.c /usr/src/sys/amd64/linux32/linux32_sysent.c /usr/src/sys/amd64/linux32/linux32_proto.h /usr/src/sys/amd64/linux/linux_proto.h /usr/src/sys/amd64/linux/syscalls.master /usr/src/sys/amd64/linux/linux_syscalls.c /usr/src/sys/amd64/linux/linux_systrace_args.c /usr/src/sys/amd64/linux/linux_syscall.h /usr/src/sys/amd64/linux/linux_sysent.c /usr/src/tests/sys/pjdfstest/config.h > My response above is quite dry, so I want to add this. > Thank you very much for the deep analysis. > I am sorry for the trouble that my change caused, but I think that its = root > cause lies elsewhere (lld, posix). You are welcome. --=20 Andriy Gapon From owner-freebsd-toolchain@freebsd.org Sat Nov 4 17:02:57 2017 Return-Path: Delivered-To: freebsd-toolchain@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 5F846E504C8 for ; Sat, 4 Nov 2017 17:02:57 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-103.reflexion.net [208.70.210.103]) (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 E721675C74 for ; Sat, 4 Nov 2017 17:02:56 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 5626 invoked from network); 4 Nov 2017 17:02:55 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 17:02:55 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 13:02:55 -0400 (EDT) Received: (qmail 15381 invoked from network); 4 Nov 2017 17:02:54 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 17:02:54 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 2BEE2EC8B38; Sat, 4 Nov 2017 10:02:54 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Mark Millard In-Reply-To: Date: Sat, 4 Nov 2017 10:02:53 -0700 Cc: Andriy Gapon , FreeBSD Toolchain , "svn-src-head@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> To: Ed Maste X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 17:02:57 -0000 On 2017-Nov-4, at 4:58 AM, Ed Maste wrote: > On 4 November 2017 at 07:41, Andriy Gapon wrote: >> On 04/11/2017 12:32, Mark Millard wrote: >>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>> if (Err !=3D EOPNOTSUPP) >>> return std::error_code(Err, std::generic_category()); >>> } >>=20 >> The commit message that you didn't include into your reply contains = some useful >> information that authors / maintainers of this code should probably = take into >> account: >>=20 >>> Please note that EINVAL is used to report that the underlying file = system >>> does not support the operation (POSIX.1-2008). >>=20 >> Here is a link for that: >> = http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.= html >=20 > I have no idea how they decided EINVAL was a reasonable errno for this = case. >=20 > Mark, can you give this patch a try: >=20 > diff --git a/contrib/llvm/lib/Support/Unix/Path.inc > b/contrib/llvm/lib/Support/Unix/Path.inc > index 45097eb918b7..67edb46f0025 100644 > --- a/contrib/llvm/lib/Support/Unix/Path.inc > +++ b/contrib/llvm/lib/Support/Unix/Path.inc > @@ -427,7 +427,7 @@ std::error_code resize_file(int FD, uint64_t Size) = { > // If we have posix_fallocate use it. Unlike ftruncate it always = allocates > // space, so we get an error if the disk is full. > if (int Err =3D ::posix_fallocate(FD, 0, Size)) { > - if (Err !=3D EOPNOTSUPP) > + if (Err !=3D EINVAL && Err !=3D EOPNOTSUPP) > return std::error_code(Err, std::generic_category()); I've got a simple buildworld going but I expect that it will end up using lld in a form that runs into the problem. But I may luck out since I can link a trivial main to produce an a.out for amd64. It may be appropriate to have notes somewhere about what to do for folks that land in the range -r325320 to whatever revision the updated contrib/llvm/lib/Support/Unix/Path.inc ends up at and that also have a zfs filesystem context involved. I'll let you know if the build completes vs. not. It takes a while since llvm materials are rebuilding. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 17:13:48 2017 Return-Path: Delivered-To: freebsd-toolchain@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 9D87AE50968 for ; Sat, 4 Nov 2017 17:13:48 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-126.reflexion.net [208.70.210.126]) (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 4ABEB7622C for ; Sat, 4 Nov 2017 17:13:47 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23089 invoked from network); 4 Nov 2017 17:13:46 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 17:13:46 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 13:13:46 -0400 (EDT) Received: (qmail 19876 invoked from network); 4 Nov 2017 17:13:46 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 17:13:46 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 7955BEC8074; Sat, 4 Nov 2017 10:13:45 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Mark Millard In-Reply-To: Date: Sat, 4 Nov 2017 10:13:44 -0700 Cc: "svn-src-head@freebsd.org" , FreeBSD Toolchain , Andriy Gapon , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> To: Ed Maste X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 17:13:48 -0000 On 2017-Nov-4, at 10:02 AM, Mark Millard wrote: > On 2017-Nov-4, at 4:58 AM, Ed Maste wrote: >=20 >> On 4 November 2017 at 07:41, Andriy Gapon wrote: >>> On 04/11/2017 12:32, Mark Millard wrote: >>>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>>> if (Err !=3D EOPNOTSUPP) >>>> return std::error_code(Err, std::generic_category()); >>>> } >>>=20 >>> The commit message that you didn't include into your reply contains = some useful >>> information that authors / maintainers of this code should probably = take into >>> account: >>>=20 >>>> Please note that EINVAL is used to report that the underlying file = system >>>> does not support the operation (POSIX.1-2008). >>>=20 >>> Here is a link for that: >>> = http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.= html >>=20 >> I have no idea how they decided EINVAL was a reasonable errno for = this case. >>=20 >> Mark, can you give this patch a try: >>=20 >> diff --git a/contrib/llvm/lib/Support/Unix/Path.inc >> b/contrib/llvm/lib/Support/Unix/Path.inc >> index 45097eb918b7..67edb46f0025 100644 >> --- a/contrib/llvm/lib/Support/Unix/Path.inc >> +++ b/contrib/llvm/lib/Support/Unix/Path.inc >> @@ -427,7 +427,7 @@ std::error_code resize_file(int FD, uint64_t = Size) { >> // If we have posix_fallocate use it. Unlike ftruncate it always = allocates >> // space, so we get an error if the disk is full. >> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >> - if (Err !=3D EOPNOTSUPP) >> + if (Err !=3D EINVAL && Err !=3D EOPNOTSUPP) >> return std::error_code(Err, std::generic_category()); >=20 > I've got a simple buildworld going but I expect that > it will end up using lld in a form that runs into > the problem. But I may luck out since I can link a > trivial main to produce an a.out for amd64. Actually I take that back: I no longer have WITH_LLD_IS_LD=3D as part of my normal amd64 environment. (I did for a time.) So I will not get the problem. > It may be appropriate to have notes somewhere about > what to do for folks that land in the range -r325320 > to whatever revision the updated > contrib/llvm/lib/Support/Unix/Path.inc ends up at > and that also have a zfs filesystem context involved. Explicitly adding to that context-requirement for having the problem for amd64: and that one has WITH_LLD_IS_LD=3D in use. Of course, for arm64.aarch64 WITH_LLD_IS_LD=3D is the normal case and so would be more likely to catch folks. So this too should be explicit. > I'll let you know if the build completes vs. not. It > takes a while since llvm materials are rebuilding. It should complete since binutils's ld is in use: I'm not building on aarch64 and reverted to normal for amd64 some time ago relateive to WITH_LLD_IS_LD=3D . =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 17:23:20 2017 Return-Path: Delivered-To: freebsd-toolchain@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 5F148E50D83; Sat, 4 Nov 2017 17:23:20 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (br1.CN84in.dnsmgr.net [69.59.192.140]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3BD42767C3; Sat, 4 Nov 2017 17:23:19 +0000 (UTC) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: from pdx.rh.CN85.dnsmgr.net (localhost [127.0.0.1]) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3) with ESMTP id vA4HNABk001400; Sat, 4 Nov 2017 10:23:10 -0700 (PDT) (envelope-from freebsd-rwg@pdx.rh.CN85.dnsmgr.net) Received: (from freebsd-rwg@localhost) by pdx.rh.CN85.dnsmgr.net (8.13.3/8.13.3/Submit) id vA4HNANJ001399; Sat, 4 Nov 2017 10:23:10 -0700 (PDT) (envelope-from freebsd-rwg) From: "Rodney W. Grimes" Message-Id: <201711041723.vA4HNANJ001399@pdx.rh.CN85.dnsmgr.net> Subject: Re: Head build unsafe for /etc today In-Reply-To: To: Bryan Drewery Date: Sat, 4 Nov 2017 10:23:10 -0700 (PDT) CC: Warner Losh , Steve Kargl , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current X-Mailer: ELM [version 2.4ME+ PL121h (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 17:23:20 -0000 > On 11/2/2017 8:58 PM, Warner Losh wrote: > > FreeBSD has grown too big to test every possible thing before you commit. I would say that it has always been too big to test every possible thing before a commit. Breakage is just going to happen, we make great efforts to minimize it, but like all risks sooner or later your gona have a failure. > > The build itself is massive. I usually forget about release/ and the > new 'make packages', external toolchain, "old style" kernel builds, etc. Good starting list for "make build-regresion" ? > > Steve's concerns have validity. I do think it's time we have an > automated suite to test most build cases for things like bmake upgrades > or other high risk changes like META_MODE. > > > I'll think about this and add to my list of things to implement. I would even go so far as to say this may be what we should be running in (a) Jenkins. Or perhaps a deeper exp-run? -- Rod Grimes rgrimes@freebsd.org From owner-freebsd-toolchain@freebsd.org Sat Nov 4 19:46:12 2017 Return-Path: Delivered-To: freebsd-toolchain@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 45395E53EDB for ; Sat, 4 Nov 2017 19:46:12 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-129.reflexion.net [208.70.210.129]) (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 E60DE7E8F4 for ; Sat, 4 Nov 2017 19:46:11 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 20134 invoked from network); 4 Nov 2017 19:46:05 -0000 Received: from unknown (HELO rtc-sm-01.app.dca.reflexion.local) (10.81.150.1) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 19:46:05 -0000 Received: by rtc-sm-01.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 15:46:05 -0400 (EDT) Received: (qmail 31687 invoked from network); 4 Nov 2017 19:46:05 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 19:46:05 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 4E8FEEC86EF; Sat, 4 Nov 2017 12:46:04 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Mark Millard In-Reply-To: Date: Sat, 4 Nov 2017 12:46:03 -0700 Cc: "svn-src-head@freebsd.org" , FreeBSD Toolchain , Andriy Gapon , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <67239347-C445-4A76-9C35-C650B28B1DF3@dsl-only.net> References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> To: Ed Maste X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 19:46:12 -0000 [The patch allowed the amd64 -> aarch64 cross-buildworld to complete instead of failing in lld.] On 2017-Nov-4, at 10:13 AM, Mark Millard wrote: > On 2017-Nov-4, at 10:02 AM, Mark Millard = wrote: >=20 >=20 >> On 2017-Nov-4, at 4:58 AM, Ed Maste wrote: >>=20 >>> On 4 November 2017 at 07:41, Andriy Gapon = wrote: >>>> On 04/11/2017 12:32, Mark Millard wrote: >>>>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>>>> if (Err !=3D EOPNOTSUPP) >>>>> return std::error_code(Err, std::generic_category()); >>>>> } >>>>=20 >>>> The commit message that you didn't include into your reply contains = some useful >>>> information that authors / maintainers of this code should probably = take into >>>> account: >>>>=20 >>>>> Please note that EINVAL is used to report that the underlying file = system >>>>> does not support the operation (POSIX.1-2008). >>>>=20 >>>> Here is a link for that: >>>> = http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.= html >>>=20 >>> I have no idea how they decided EINVAL was a reasonable errno for = this case. >>>=20 >>> Mark, can you give this patch a try: >>>=20 >>> diff --git a/contrib/llvm/lib/Support/Unix/Path.inc >>> b/contrib/llvm/lib/Support/Unix/Path.inc >>> index 45097eb918b7..67edb46f0025 100644 >>> --- a/contrib/llvm/lib/Support/Unix/Path.inc >>> +++ b/contrib/llvm/lib/Support/Unix/Path.inc >>> @@ -427,7 +427,7 @@ std::error_code resize_file(int FD, uint64_t = Size) { >>> // If we have posix_fallocate use it. Unlike ftruncate it always = allocates >>> // space, so we get an error if the disk is full. >>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>> - if (Err !=3D EOPNOTSUPP) >>> + if (Err !=3D EINVAL && Err !=3D EOPNOTSUPP) >>> return std::error_code(Err, std::generic_category()); This change allowed the amd64 -> aarch64 cross-buildworld (and buildkernel) to finish. Thanks. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 20:13:05 2017 Return-Path: Delivered-To: freebsd-toolchain@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 03341E54930 for ; Sat, 4 Nov 2017 20:13:05 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-143.reflexion.net [208.70.210.143]) (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 A781280B3C for ; Sat, 4 Nov 2017 20:13:04 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 10449 invoked from network); 4 Nov 2017 20:13:03 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 4 Nov 2017 20:13:03 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.3) with SMTP; Sat, 04 Nov 2017 16:13:03 -0400 (EDT) Received: (qmail 26856 invoked from network); 4 Nov 2017 20:13:02 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 4 Nov 2017 20:13:02 -0000 Received: from [192.168.1.25] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id 276A7EC86EF; Sat, 4 Nov 2017 13:13:02 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: svn commit: r325320 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs [breaks lld on zfs: lld uses fallocate] From: Mark Millard In-Reply-To: Date: Sat, 4 Nov 2017 13:13:01 -0700 Cc: Andriy Gapon , FreeBSD Toolchain , "svn-src-head@freebsd.org" , FreeBSD Current Content-Transfer-Encoding: quoted-printable Message-Id: <9D762BA9-D957-4413-98E1-E4410BA20112@dsl-only.net> References: <6140C4E2-168F-4E5D-B3C2-717ECB67C980@dsl-only.net> <134eea8e-1a2e-d77c-f7fa-01e14db7f47b@FreeBSD.org> To: Ed Maste X-Mailer: Apple Mail (2.3273) X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 20:13:05 -0000 On 2017-Nov-4, at 4:58 AM, Ed Maste wrote: > On 4 November 2017 at 07:41, Andriy Gapon wrote: >> On 04/11/2017 12:32, Mark Millard wrote: >>> if (int Err =3D ::posix_fallocate(FD, 0, Size)) { >>> if (Err !=3D EOPNOTSUPP) >>> return std::error_code(Err, std::generic_category()); >>> } >>=20 >> The commit message that you didn't include into your reply contains = some useful >> information that authors / maintainers of this code should probably = take into >> account: >>=20 >>> Please note that EINVAL is used to report that the underlying file = system >>> does not support the operation (POSIX.1-2008). >>=20 >> Here is a link for that: >> = http://pubs.opengroup.org/onlinepubs/9699919799/functions/posix_fallocate.= html >=20 > I have no idea how they decided EINVAL was a reasonable errno for this = case. I think they viewed it as a bad fd argument: a reference into a wrong file system, much like a wrong len (<0) or offset (<0). That there is no other means of run-time classifying the file system(s)(?) was not viewed as sufficient reason to give it a different classification. But it is just a guess. =3D=3D=3D Mark Millard markmi at dsl-only.net From owner-freebsd-toolchain@freebsd.org Sat Nov 4 21:10:06 2017 Return-Path: Delivered-To: freebsd-toolchain@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 2B8BCE55DD2 for ; Sat, 4 Nov 2017 21:10:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 19A6B82866 for ; Sat, 4 Nov 2017 21:10:06 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA4LA5n0004164 for ; Sat, 4 Nov 2017 21:10:05 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223420] [patch] rtld(1): fix formatting glitch Date: Sat, 04 Nov 2017 21:10:06 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: linimon@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-toolchain@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 21:10:06 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223420 Mark Linimon changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-bugs@FreeBSD.org |freebsd-toolchain@FreeBSD.o | |rg --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Nov 4 22:15:54 2017 Return-Path: Delivered-To: freebsd-toolchain@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 06F1EE5797D for ; Sat, 4 Nov 2017 22:15:54 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (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 E970784ECD for ; Sat, 4 Nov 2017 22:15:53 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id vA4MFqlc011261 for ; Sat, 4 Nov 2017 22:15:53 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-toolchain@FreeBSD.org Subject: [Bug 223420] [patch] rtld(1): fix formatting glitch Date: Sat, 04 Nov 2017 22:15:53 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.1-STABLE X-Bugzilla-Keywords: patch X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bdrewery@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-docs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: assigned_to cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 22:15:54 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223420 Bryan Drewery changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|freebsd-toolchain@FreeBSD.o |freebsd-docs@FreeBSD.org |rg | CC| |bdrewery@FreeBSD.org --- Comment #1 from Bryan Drewery --- Not sure what is being fixed here. All of the other environment variables = are '.It Ev', and they should be prefixed with 'Ev' as well. Seeing '11-STABLE' here, I think you wanted r318432 MFCd, which I'll do: commit f74c0ee574162808ddd3f0f7a9a4d4ec412fa421 Author: jonathan Date: Thu May 18 00:32:05 2017 +0000 Fix some nroff syntax in rtld.1. When I originally documented the LD_LIBRARY_PATH_FDS environment variab= le, I used `.Ev` rather than `.It Ev` to introduce it; this led to the documentation being embedded in the previous paragraph (LD_LIBRARY_PATH= ). Notes: svn path=3D/head/; revision=3D318432 diff --git libexec/rtld-elf/rtld.1 libexec/rtld-elf/rtld.1 index 79f1478bb90d..4347eb018171 100644 --- libexec/rtld-elf/rtld.1 +++ libexec/rtld-elf/rtld.1 @@ -192,7 +192,7 @@ the directories specified by will be searched first followed by the set of built-in standard directories. This variable is unset for set-user-ID and set-group-ID programs. -.Ev LD_LIBRARY_PATH_FDS +.It Ev LD_LIBRARY_PATH_FDS A colon separated list of file descriptor numbers for library directories. This is intended for use within .Xr capsicum 4 --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-toolchain@freebsd.org Sat Nov 4 22:51:47 2017 Return-Path: Delivered-To: freebsd-toolchain@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 738BDE58878; Sat, 4 Nov 2017 22:51:47 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from smtp-out-so.shaw.ca (smtp-out-so.shaw.ca [64.59.136.137]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "Client", Issuer "CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 23FF9177B; Sat, 4 Nov 2017 22:51:46 +0000 (UTC) (envelope-from cy.schubert@komquats.com) Received: from spqr.komquats.com ([96.50.22.10]) by shaw.ca with SMTP id B7HseiVhX8LPZB7HuennbV; Sat, 04 Nov 2017 16:51:40 -0600 X-Authority-Analysis: v=2.2 cv=e552ceh/ c=1 sm=1 tr=0 a=jvE2nwUzI0ECrNeyr98KWA==:117 a=jvE2nwUzI0ECrNeyr98KWA==:17 a=kj9zAlcOel0A:10 a=xqWC_Br6kY4A:10 a=sC3jslCIGhcA:10 a=iKhvJSA4AAAA:8 a=YxBL1-UpAAAA:8 a=6I5d2MoRAAAA:8 a=oVV4gydEhTvcyb8WQa0A:9 a=CjuIK1q_8ugA:10 a=odh9cflL3HIXMm4fY7Wr:22 a=Ia-lj3WSrqcvXOmTRaiG:22 a=IjZwj45LgO3ly-622nXo:22 Received: from slippy.cwsent.com (slippy [10.1.1.91]) by spqr.komquats.com (Postfix) with ESMTPS id 63A871040; Sat, 4 Nov 2017 15:51:36 -0700 (PDT) Received: from slippy (localhost [IPv6:0:0:0:0:0:0:0:1]) by slippy.cwsent.com (8.15.2/8.15.2) with ESMTP id vA4MpZs8061361; Sat, 4 Nov 2017 15:51:35 -0700 (PDT) (envelope-from Cy.Schubert@cschubert.com) Message-Id: <201711042251.vA4MpZs8061361@slippy.cwsent.com> X-Mailer: exmh version 2.8.0 04/21/2012 with nmh-1.6 Reply-to: Cy Schubert From: Cy Schubert X-os: FreeBSD X-Sender: cy@cwsent.com X-URL: http://www.cschubert.com/ To: "Rodney W. Grimes" cc: Bryan Drewery , Warner Losh , Steve Kargl , freebsd-hackers , FreeBSD Toolchain , FreeBSD Current Subject: Re: Head build unsafe for /etc today In-Reply-To: Message from "Rodney W. Grimes" of "Sat, 04 Nov 2017 10:23:10 -0700." <201711041723.vA4HNANJ001399@pdx.rh.CN85.dnsmgr.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 04 Nov 2017 15:51:35 -0700 X-CMAE-Envelope: MS4wfLPq7Njx1rohygjBq57WKfVO1lJ9Sd2UQWVkgNQAYNocjY06JoRDMyFY7qH2bVk9c0AECpwAVX23iNZnzs8qofQJMXndA/5YjijP+v2bY/1dVZtKcqz+ mOVRhUu9WD7IvpwBW6Nor65jWQHONYEdLx6nfxf+ESXEK1oa4izjErUMo9DO2BmiGlfnq77xCqB8i5wD+gQ42ehtnbxUkOy5sA7sIR0bE+ahzhUUYBODDVxl qdKfgZHzfHDnMAnvB8pSALgDEs9Ev10xxw7rmCONEEfSBTCSU8N13xajwl+YVItGeO1jusX1N5liNRG4+FdHt1Q7MmMg1wbvHFZs99QXax8gScs/eFx9uSJd MVMrV+JOSl0JnhDOCoFe3J7FqXV5fZdcNOqTE/1dBynOM2QQRuOqK53eI7OT5jkJE4fbAv8P X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 22:51:47 -0000 In message <201711041723.vA4HNANJ001399@pdx.rh.CN85.dnsmgr.net>, "Rodney W. Gri mes" writes: > > On 11/2/2017 8:58 PM, Warner Losh wrote: > > > FreeBSD has grown too big to test every possible thing before you commit. > > I would say that it has always been too big to test every possible > thing before a commit. Breakage is just going to happen, we make > great efforts to minimize it, but like all risks sooner or later > your gona have a failure. > > > > > The build itself is massive. I usually forget about release/ and the > > new 'make packages', external toolchain, "old style" kernel builds, etc. > Good starting list for "make build-regresion" ? > > > > > Steve's concerns have validity. I do think it's time we have an > > automated suite to test most build cases for things like bmake upgrades > > or other high risk changes like META_MODE. > > > > > > I'll think about this and add to my list of things to implement. > > I would even go so far as to say this may be what we should be > running in (a) Jenkins. Or perhaps a deeper exp-run? Yes. -- Cheers, Cy Schubert FreeBSD UNIX: Web: http://www.FreeBSD.org The need of the many outweighs the greed of the few. From owner-freebsd-toolchain@freebsd.org Sat Nov 4 22:57:29 2017 Return-Path: Delivered-To: freebsd-toolchain@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 63594E58EDF; Sat, 4 Nov 2017 22:57:29 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (ainaz.pair.com [209.68.2.66]) (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 36F1D208A; Sat, 4 Nov 2017 22:57:28 +0000 (UTC) (envelope-from gerald@pfeifer.com) Received: from ainaz.pair.com (localhost [127.0.0.1]) by ainaz.pair.com (Postfix) with ESMTP id 943B23F446; Sat, 4 Nov 2017 18:57:27 -0400 (EDT) Received: from anthias (vie-188-118-245-227.dsl.sil.at [188.118.245.227]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ainaz.pair.com (Postfix) with ESMTPSA id 743143F445; Sat, 4 Nov 2017 18:57:26 -0400 (EDT) Date: Sat, 4 Nov 2017 23:57:19 +0100 (CET) From: Gerald Pfeifer To: =?UTF-8?Q?Eddy_Petri=C8=99or?= cc: Mark Millard , freebsd-arm@freebsd.org, freebsd-toolchain@freebsd.org, Dimitry Andric Subject: Re: [toolchain] lib/clan/llvm.build.mk: Shouldn't BUILD_TRIPLE definition rely host 'cc -dumpmachine'? In-Reply-To: Message-ID: References: <7CAFD8CC-BDA1-4E89-BD7E-D0089E27036F@dsl-only.net> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.23 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, 04 Nov 2017 22:57:29 -0000 On Sun, 29 Oct 2017, Eddy Petrișor wrote: > Yep --and it is even more complicated: gcc vs. clang are sometimes > different for the target listed. . . > > For example -m32 for amd64 changes the clang result: > > # clang -dumpmachine > x86_64-unknown-freebsd12.0 > > .. > > # gcc7 -dumpmachine > x86_64-portbld-freebsd12.0 That's not actually related to GCC, but the lang/gcc* ports using the FreeBSD Ports Collection's default that explicitly set CONFIGURE_TARGET?= ${ARCH}-portbld-${OPSYS:tl}${OSREL} By default GCC would use the same as clang. Gerald