From owner-freebsd-toolchain@freebsd.org Fri Jun 16 04:57:00 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 CF72EBF66EF for ; Fri, 16 Jun 2017 04:57:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: from asp.reflexion.net (outbound-mail-210-16.reflexion.net [208.70.210.16]) (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 822BA7023D for ; Fri, 16 Jun 2017 04:57:00 +0000 (UTC) (envelope-from markmi@dsl-only.net) Received: (qmail 23918 invoked from network); 16 Jun 2017 04:56:58 -0000 Received: from unknown (HELO mail-cs-02.app.dca.reflexion.local) (10.81.19.2) by 0 (rfx-qmail) with SMTP; 16 Jun 2017 04:56:58 -0000 Received: by mail-cs-02.app.dca.reflexion.local (Reflexion email security v8.40.0) with SMTP; Fri, 16 Jun 2017 00:56:58 -0400 (EDT) Received: (qmail 15495 invoked from network); 16 Jun 2017 04:56:58 -0000 Received: from unknown (HELO iron2.pdx.net) (69.64.224.71) by 0 (rfx-qmail) with (AES256-SHA encrypted) SMTP; 16 Jun 2017 04:56:58 -0000 Received: from [192.168.1.114] (c-76-115-7-162.hsd1.or.comcast.net [76.115.7.162]) by iron2.pdx.net (Postfix) with ESMTPSA id EE867EC9265; Thu, 15 Jun 2017 21:56:57 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: -r319991 buildkernel waiting in sed for terminal input (the buildworld part completes first), amd64->powerpc cross build From: Mark Millard In-Reply-To: <55f573d4-a68c-7c9a-77ca-252043d4e0ea@FreeBSD.org> Date: Thu, 15 Jun 2017 21:56:57 -0700 Cc: FreeBSD Toolchain Content-Transfer-Encoding: quoted-printable Message-Id: <810F3042-B0FA-4384-AA42-8E047572BB6F@dsl-only.net> References: <55f573d4-a68c-7c9a-77ca-252043d4e0ea@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, 16 Jun 2017 04:57:00 -0000 On 2017-Jun-15, at 9:28 PM, Bryan Drewery = wrote: > On 6/15/17 8:05 PM, Mark Millard wrote: >> I've been having amd64 -> powerpc cross builds that >> stop with sed waiting for terminal input: >>=20 >> 780 0 Is 0:00.00 -sh (sh) >> 786 0 I 0:00.01 - su >> 787 0 I 0:00.01 `-- su (sh) >> 792 0 I+ 0:00.00 `-- /bin/sh = /root/sys_build_scripts.amd64-host/make_powerpcvtsc_nodebug_clang_bootstra= p-amd64-host.sh -j16 buildworld buildkernel >> 795 0 S+ 0:06.95 `-- script = /root/sys_typescripts/typescript_make_powerpcvtsc_nodebug_clang_bootstrap-= amd64-host-2017-06-15:17:17:51 env = __MAKE_CONF=3D/root/src.configs/make.conf SRCCONF=3D/dev >> 796 1 Is+ 0:07.34 `-- make -j16 buildworld buildkernel >> 24978 1 I+ 0:00.00 `-- sed -n /^CMD/s,^CMD ,,p >>=20 >>=20 >> This is for a build that currently fails with: >>=20 >> --- all_subdir_sys --- >> Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys/boot/powerpc/boot1.= chrp/boot1.elf >> --- boot1.elf --- >> boot1.o: In function `fsread_size': >> /usr/src/sys/boot/powerpc/boot1.chrp/boot1.c:(.text+0x14b8): = undefined reference to `__udivdi3' >> /usr/src/sys/boot/powerpc/boot1.chrp/boot1.c:(.text+0x1508): = undefined reference to `__udivdi3' >> cc: error: linker command failed with exit code 1 (use -v to see = invocation) >> --- all_subdir_lib --- >> Building = /usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/lib/msun/s_remquo.po >> --- all_subdir_sys --- >> *** [boot1.elf] Error code 1 >>=20 >> make[6]: stopped in /usr/src/sys/boot/powerpc/boot1.chrp >> .ERROR_TARGET=3D'boot1.elf' >> = .ERROR_META_FILE=3D'/usr/obj/powerpcvtsc_clang/powerpc.powerpc/usr/src/sys= /boot/powerpc/boot1.chrp/boot1.elf.meta' >> . . . >>=20 >> and its later consequences. >>=20 >> Since it is already a failed build I just ^C out. >>=20 >=20 > r319996 should fix it. Thanks for letting me know! I updated and re-ran the build that showed the problem and what you did fixed the sed-usage issue: it no longer stops waiting for input. Thanks! =3D=3D=3D Mark Millard markmi at dsl-only.net