Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Jun 2017 21:56:57 -0700
From:      Mark Millard <markmi@dsl-only.net>
To:        Bryan Drewery <bdrewery@FreeBSD.org>
Cc:        FreeBSD Toolchain <freebsd-toolchain@freebsd.org>
Subject:   Re: -r319991 buildkernel waiting in sed for terminal input (the buildworld part completes first), amd64->powerpc cross build
Message-ID:  <810F3042-B0FA-4384-AA42-8E047572BB6F@dsl-only.net>
In-Reply-To: <55f573d4-a68c-7c9a-77ca-252043d4e0ea@FreeBSD.org>
References:  <EF68E5EB-B602-4730-9F0B-DA74124D1F06@dsl-only.net> <55f573d4-a68c-7c9a-77ca-252043d4e0ea@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2017-Jun-15, at 9:28 PM, Bryan Drewery <bdrewery at FreeBSD.org> =
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?810F3042-B0FA-4384-AA42-8E047572BB6F>