Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2020 14:00:18 -0800
From:      Mark Millard <marklmi@yahoo.com>
To:        Francis Little <oggy@farscape.co.uk>, Ed Maste <emaste@freebsd.org>
Cc:        FreeBSD PowerPC ML <freebsd-ppc@freebsd.org>
Subject:   Re: buildworld fail, make[5]: exec(as) failed (No such file or directory)
Message-ID:  <87463DEF-DFDF-4B30-B410-ED1956169CB8@yahoo.com>
In-Reply-To: <CAGSRtz5%2BPY1Q5w_uYBDVbMFwikeZEmCrHaV7UngT90unFesdag@mail.gmail.com>
References:  <CAGSRtz5%2BPY1Q5w_uYBDVbMFwikeZEmCrHaV7UngT90unFesdag@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
[Looks to be a head -r356889 consequence.]

On 2020-Jan-26, at 03:53, Francis Little <oggy@farscape.co.uk> wrote:

> Just got a buildworld fail.
> 
> PowerMac G5Q, SMP disabled.
> 
> Running r357002
> 
> Building r357137
> 
> This is all I could grab form the screen:
> 
> sh /usr/src/tools/install.sh  -C -o root -g wheel -m 444   libgcc_eh.a
> /usr/obj/usr/src/powerpc.powerpc64/tmp/usr/lib/
> ===> lib/libgcc_s (obj,all,install)
> ===> lib/csu (obj,all,install)
> ===> lib/csu/powerpc64 (all)
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g  -std=gnu99
> -Wno-format-zero-length  -Wsystem-headers -Werror -Wall -Wno-format-y2k -W
> -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes
> -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow
> -Wunused-parameter -Wcast-align -Wchar-subscripts -Winline -Wnested-externs
> -Wredundant-decls -Wold-style-definition -Wno-pointer-sign -Wthread-safety
> -Wno-empty-body -Wno-string-plus-int -Wno-unused-const-variable
> -Qunused-arguments    -S -o crt1.s /usr/src/lib/csu/powerpc64/crt1.c
> sed -i "" -e '/\.note\.tag/s/progbits/note/' crt1.s
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include -mlongcall -DCRT_IRELOC_RELA -MD
> -MF.depend.crt1.o -MTcrt1.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable -Qunused-arguments    -c -o
> crt1.o crt1.s
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g -MD
> -MF.depend.crti.o -MTcrti.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments
> -c /usr/src/lib/csu/powerpc64/crti.S -o crti.o
> cc -target powerpc64-unknown-freebsd13.0
> --sysroot=/usr/obj/usr/src/powerpc.powerpc64/tmp
> -B/usr/obj/usr/src/powerpc.powerpc64/tmp/usr/bin -O2 -pipe
> -I/usr/src/lib/csu/powerpc64 -I/usr/src/lib/csu/common
> -I/usr/src/lib/libc/include  -mlongcall -DCRT_IRELOC_RELA   -g -MD
> -MF.depend.crtn.o -MTcrtn.o -std=gnu99 -Wno-format-zero-length
> -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type
> -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter
> -Wcast-align -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls
> -Wold-style-definition -Wno-pointer-sign -Wthread-safety -Wno-empty-body
> -Wno-string-plus-int -Wno-unused-const-variable  -Qunused-arguments
> -c /usr/src/lib/csu/powerpc64/crtn.S -o crtn.o
> touch crtsavres.s
> as    -o crtsavres.o crtsavres.s
> make[5]: exec(as) failed (No such file or directory)
> *** Error code 1

Looks to me to be a consequence of removing the existence
of /usr/bin/as without having powerpc64's build do something
to avoid trying to use it:

Revision 356889 - Directory Listing 
Modified Sun Jan 19 19:16:32 2020 UTC (7 days, 2 hours ago) by emaste
limit building GNU assembler (as) to x86

GNU as 2.17.50 is currently required by amd64 and i386 for at least one
file that cannot be assembled by Clang's integrated assembler (IAS).
Other supported CPU architectures either use Clang IAS for all assembly
files, or rely on external toolchain.

Sponsored by:	The FreeBSD Foundation
Differential Revision:	
https://reviews.freebsd.org/D23180


> Stop.
> make[5]: stopped in /usr/src/lib/csu/powerpc64
> *** Error code 1
> 
> Stop.
> make[4]: stopped in /usr/src/lib/csu
> *** Error code 1
> 
> Stop.
> make[3]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make[2]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make[1]: stopped in /usr/src
> *** Error code 1
> 
> Stop.
> make: stopped in /usr/src
> root@PowerMacG5:/usr/src #



===
Mark Millard
marklmi at yahoo.com
( dsl-only.net went
away in early 2018-Mar)




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?87463DEF-DFDF-4B30-B410-ED1956169CB8>